com.caucho.jca.ra
Class ResourceAdapterProducer<X>

java.lang.Object
  extended by com.caucho.jca.ra.ResourceAdapterProducer<X>
All Implemented Interfaces:
InjectionTarget<X>, Producer<X>

@Module
public class ResourceAdapterProducer<X>
extends java.lang.Object
implements InjectionTarget<X>

Controller for a resource-adapter


Constructor Summary
ResourceAdapterProducer(ResourceAdapterController controller)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceAdapterProducer

public ResourceAdapterProducer(ResourceAdapterController controller)
Method Detail

produce

public X produce(CreationalContext<X> ctx)
Description copied from interface: Producer
Instantiate the bean.

Specified by:
produce in interface Producer<X>

inject

public void inject(X instance,
                   CreationalContext<X> ctx)
Description copied from interface: InjectionTarget
Inject the bean.

Specified by:
inject in interface InjectionTarget<X>

postConstruct

public void postConstruct(X instance)
Description copied from interface: InjectionTarget
PostConstruct initialization

Specified by:
postConstruct in interface InjectionTarget<X>

preDestroy

public void preDestroy(X instance)
Description copied from interface: InjectionTarget
Call pre-destroy

Specified by:
preDestroy in interface InjectionTarget<X>

dispose

public void dispose(X instance)
Description copied from interface: Producer
Dispose the bean.

Specified by:
dispose in interface Producer<X>

getInjectionPoints

public java.util.Set<InjectionPoint> getInjectionPoints()
Description copied from interface: Producer
Returns the injection points.

Specified by:
getInjectionPoints in interface Producer<X>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object