public EnterpriseContextget(java.lang.Object id)
Gets a bean instance from this cache given the identity.
This method may involve activation if the instance is not in the cache.
Implementation should have O(1) complexity.
This method is never called for stateless session beans.
id - the primary key of the bean
the EnterpriseContext related to the given id
java.rmi.RemoteException - in case of illegal calls (concurrent / reentrant),
NoSuchObjectException if the bean cannot be found.
Releases the given bean instance from this cache.
This method may passivate the bean to get it out of the cache.
Implementation should return almost immediately leaving the
passivation to be executed by another thread.