@Module public class ResourceAdapterProducer<X> extends java.lang.Object implements InjectionTarget<X>
Constructor and Description |
---|
ResourceAdapterProducer(ResourceAdapterController controller) |
Modifier and Type | Method and Description |
---|---|
void |
dispose(X instance)
Dispose the bean.
|
java.util.Set<InjectionPoint> |
getInjectionPoints()
Returns the injection points.
|
void |
inject(X instance,
CreationalContext<X> ctx)
Inject the bean.
|
void |
postConstruct(X instance)
PostConstruct initialization
|
void |
preDestroy(X instance)
Call pre-destroy
|
X |
produce(CreationalContext<X> ctx)
Instantiate the bean.
|
java.lang.String |
toString() |
public ResourceAdapterProducer(ResourceAdapterController controller)
public X produce(CreationalContext<X> ctx)
Producer
public void inject(X instance, CreationalContext<X> ctx)
InjectionTarget
inject
in interface InjectionTarget<X>
public void postConstruct(X instance)
InjectionTarget
postConstruct
in interface InjectionTarget<X>
public void preDestroy(X instance)
InjectionTarget
preDestroy
in interface InjectionTarget<X>
public void dispose(X instance)
Producer
public java.util.Set<InjectionPoint> getInjectionPoints()
Producer
getInjectionPoints
in interface Producer<X>
public java.lang.String toString()
toString
in class java.lang.Object