org.eclipse.ecf.server.generic
Class GenericServerContainerGroup
java.lang.Object
org.eclipse.ecf.server.generic.GenericServerContainerGroup
- All Implemented Interfaces:
- IGenericServerContainerGroup
public class GenericServerContainerGroup
- extends java.lang.Object
- implements IGenericServerContainerGroup
- Since:
- 4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericServerContainerGroup
public GenericServerContainerGroup(java.lang.String hostname,
int port,
java.util.Map defaultContainerProperties)
getContainers
public java.util.Map getContainers()
- Specified by:
getContainers
in interface IGenericServerContainerGroup
createContainer
public ISharedObjectContainer createContainer(java.lang.String path,
int keepAlive,
java.util.Map properties)
throws ContainerCreateException
- Specified by:
createContainer
in interface IGenericServerContainerGroup
- Throws:
ContainerCreateException
createContainer
public ISharedObjectContainer createContainer(java.lang.String path,
int keepAlive)
throws ContainerCreateException
- Throws:
ContainerCreateException
createContainer
public ISharedObjectContainer createContainer(java.lang.String path)
throws ContainerCreateException
- Throws:
ContainerCreateException
createGenericServerContainer
protected TCPServerSOContainer createGenericServerContainer(java.lang.String path,
int keepAlive,
java.util.Map properties)
throws ContainerCreateException
- Throws:
ContainerCreateException
createGenericServerProperties
protected java.util.Map createGenericServerProperties(java.lang.String path,
java.util.Map properties)
createGenericServerID
protected ID createGenericServerID(java.lang.String path,
java.util.Map properties)
throws ContainerCreateException
- Throws:
ContainerCreateException
getContainer
public ISharedObjectContainer getContainer(java.lang.String path)
- Specified by:
getContainer
in interface IGenericServerContainerGroup
removeContainer
public ISharedObjectContainer removeContainer(java.lang.String path)
- Specified by:
removeContainer
in interface IGenericServerContainerGroup
startListening
public void startListening()
throws java.io.IOException
- Specified by:
startListening
in interface IGenericServerContainerGroup
- Throws:
java.io.IOException
isListening
public boolean isListening()
- Specified by:
isListening
in interface IGenericServerContainerGroup
stopListening
public void stopListening()
- Specified by:
stopListening
in interface IGenericServerContainerGroup
close
public void close()
- Specified by:
close
in interface IGenericServerContainerGroup
getGroupEndpoint
public java.net.URI getGroupEndpoint()
- Specified by:
getGroupEndpoint
in interface IGenericServerContainerGroup