Home » geronimo-2.2-source-release » org.apache.geronimo.connector » [javadoc | source]
org.apache.geronimo.connector
public class: ActivationSpecWrapper [javadoc | source]
java.lang.Object
   org.apache.geronimo.connector.ActivationSpecWrapper

All Implemented Interfaces:
    DynamicGBean, ResourceManager

Direct Known Subclasses:
    ActivationSpecWrapperGBean

Wrapper for ActivationSpec instances. The framework assumes all RequiredConfigProperties are of type String, although it is unclear if this is required by the spec.
Field Summary
public static final  GBeanInfo GBEAN_INFO     
Constructor:
 public ActivationSpecWrapper() 
 public ActivationSpecWrapper(String activationSpecClass,
    String containerId,
    ResourceAdapterWrapper resourceAdapterWrapper,
    ClassLoader cl) throws IllegalAccessException, InstantiationException, ClassNotFoundException 
    Normal managed constructor.
    Parameters:
    activationSpecClass - Class of admin object to be wrapped.
    Throws:
    IllegalAccessException -
    InstantiationException -
Method from org.apache.geronimo.connector.ActivationSpecWrapper Summary:
activate,   deactivate,   getAttribute,   getContainerId,   getGBeanInfo,   getRecoveryXAResources,   getResourceAdapterWrapper,   invoke,   returnResource,   setAttribute
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.connector.ActivationSpecWrapper Detail:
 public  void activate(MessageEndpointFactory messageEndpointFactory) throws ResourceException 
 public  void deactivate(MessageEndpointFactory messageEndpointFactory) 
 public Object getAttribute(String name) throws Exception 
    Delegating DynamicGBean getAttribute method.
 public String getContainerId() 
    Returns class of wrapped ActivationSpec.
 public static GBeanInfo getGBeanInfo() 
 public NamedXAResource getRecoveryXAResources() throws SystemException 
 public ResourceAdapterWrapper getResourceAdapterWrapper() 
 public Object invoke(String name,
    Object[] arguments,
    String[] types) throws Exception 
    no-op DynamicGBean method
 public  void returnResource(NamedXAResource xaResource) 
 public  void setAttribute(String name,
    Object value) throws Exception 
    Delegating DynamicGBean setAttribute method.