org.globus.cog.karajan.workflow.service.channels
Class ChannelManager
java.lang.Object
org.globus.cog.karajan.workflow.service.channels.ChannelManager
public class ChannelManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelManager
public ChannelManager()
getManager
public static ChannelManager getManager()
getCallbackURL
public String getCallbackURL()
throws IOException,
GlobusCredentialException,
GSSException
- Throws:
IOException
GlobusCredentialException
GSSException
getLocalService
public Service getLocalService()
throws IOException,
GlobusCredentialException,
GSSException
- Throws:
IOException
GlobusCredentialException
GSSException
registerChannel
public void registerChannel(ChannelID id,
KarajanChannel channel)
throws ChannelException
- Throws:
ChannelException
reserveChannel
public KarajanChannel reserveChannel(String host,
GSSCredential cred)
throws ChannelException
- Throws:
ChannelException
reserveChannel
public KarajanChannel reserveChannel(KarajanChannel channel)
throws ChannelException
- Throws:
ChannelException
reserveChannel
public KarajanChannel reserveChannel(ChannelContext context)
throws ChannelException
- Throws:
ChannelException
reserveChannel
public KarajanChannel reserveChannel(MetaChannel meta)
throws ChannelException
- Throws:
ChannelException
releaseChannel
public void releaseChannel(KarajanChannel channel)
unregisterChannel
protected void unregisterChannel(MetaChannel channel)
throws ChannelException
- Throws:
ChannelException
shutdownChannel
public void shutdownChannel(KarajanChannel channel)
throws ChannelException
- Throws:
ChannelException
reserveLongTerm
public void reserveLongTerm(KarajanChannel channel)
throws ChannelException
- Throws:
ChannelException
releaseLongTerm
public void releaseLongTerm(KarajanChannel channel)
throws ChannelException
- Throws:
ChannelException