Package org.jboss.as.ejb3.pool
Interface StatelessObjectFactory<T>
-
public interface StatelessObjectFactory<T>Creates and destroys stateless objects. The object returned by create has dependencies injected. The PostConstruct callback, if defined, has been called.- Version:
- $Revision: $
- Author:
- Carlo de Wolf
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tcreate()Creates a new stateless object by calling it's empty constructor, do injection and calling post-construct.voiddestroy(T obj)Perform any cleanup actions on the object, such as calling the pre-destroy callback.
-