protected RegistrySharedObject getRegistrySharedObject() {
return remoteServiceAdapter;
}
public ServletServerContainer(ID id) {
super(new SOContainerConfig(id));
remoteServiceAdapter = new RegistrySharedObject();
try {
getSharedObjectManager().addSharedObject(IDFactory.getDefault().createStringID(RegistrySharedObject.class.getName()), remoteServiceAdapter, null);
} catch (SharedObjectAddException e) {
throw new RuntimeException("Cannot add RegistrySharedObject",e);