public interface StatelessObjectFactory<T>
Modifier and Type | Method and Description |
---|---|
T |
create()
Creates a new stateless object by calling it's empty constructor,
do injection and calling post-construct.
|
void |
destroy(T obj)
Perform any cleanup actions on the object, such as
calling the pre-destroy callback.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.