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
-
Method Details
-
create
T create()Creates a new stateless object by calling it's empty constructor, do injection and calling post-construct.- Returns:
-
destroy
Perform any cleanup actions on the object, such as calling the pre-destroy callback.- Parameters:
obj- the object
-