BaseContainerInstantiator implements
IRemoteServiceContainerInstantiator {
public IContainer createInstance(ContainerTypeDescription description, Object[] parameters) throws ContainerCreateException {
try {
LocalID localID = null;
if (parameters != null && parameters[0] instanceof LocalID)
localID = (LocalID) parameters[0];
else
localID = (LocalID) IDFactory.getDefault().createID(LocalNamespace.NAME, parameters);
return new LocalRemoteServiceContainer(localID);