this.container = container; this.containerId = container.getObjectName().getCanonicalName();
if(container == null) container = Ejb3Registry.findContainer(containerId); if(container == null) log.warn("Container " + containerId + " is not yet available"); return container;
this.containerId = in.readUTF(); // TODO: one container is private, this won't have to be done anymore this.container = Ejb3Registry.findContainer(containerId);
out.writeUTF(containerId);