return ((Instance) session.getAttribute(instanceId));
}
final protected Instance createInstance(String id) throws ComponentException {
InstanceFactory factory = (InstanceFactory) manager.lookup(InstanceFactory.ROLE);
Instance instance = factory.createInstance(id);
manager.release(factory);
return (instance);
}