Set in a method that is called back immediately before Stateful Session Bean is passivated. You can specify the annotations but you cannot run Cosminexus because Cosminexus does not support the status change of activation and passivation.
@PrePassivate does not have any elements.