|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.geronimo.connector.ActivationSpecWrapper
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 | |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
| Constructor Summary | |
ActivationSpecWrapper()
Default constructor required when a class is used as a GBean Endpoint. |
|
ActivationSpecWrapper(Class activationSpecClass,
String containerId,
ResourceAdapterWrapper resourceAdapterWrapper)
Normal managed constructor. |
|
| Method Summary | |
void |
activate(javax.resource.spi.endpoint.MessageEndpointFactory messageEndpointFactory)
|
void |
deactivate(javax.resource.spi.endpoint.MessageEndpointFactory messageEndpointFactory)
|
Class |
getActivationSpecClass()
Returns class of wrapped ActivationSpec. |
Object |
getAttribute(String name)
Delegating DynamicGBean getAttribute method. |
String |
getContainerId()
|
static org.apache.geronimo.gbean.GBeanInfo |
getGBeanInfo()
|
org.apache.geronimo.transaction.manager.NamedXAResource |
getRecoveryXAResources()
|
ResourceAdapterWrapper |
getResourceAdapterWrapper()
|
Object |
invoke(String name,
Object[] arguments,
String[] types)
no-op DynamicGBean method |
void |
returnResource(org.apache.geronimo.transaction.manager.NamedXAResource xaResource)
|
void |
setAttribute(String name,
Object value)
Delegating DynamicGBean setAttribute method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
| Constructor Detail |
public ActivationSpecWrapper()
public ActivationSpecWrapper(Class activationSpecClass,
String containerId,
ResourceAdapterWrapper resourceAdapterWrapper)
throws IllegalAccessException,
InstantiationException
activationSpecClass - Class of admin object to be wrapped.
IllegalAccessException
InstantiationException| Method Detail |
public Class getActivationSpecClass()
public String getContainerId()
public ResourceAdapterWrapper getResourceAdapterWrapper()
public Object getAttribute(String name)
throws Exception
getAttribute in interface org.apache.geronimo.gbean.DynamicGBeanname - of attribute.
Exception
public void setAttribute(String name,
Object value)
throws Exception
setAttribute in interface org.apache.geronimo.gbean.DynamicGBeanname - of attribute.value - of attribute to be set.
Exception
public Object invoke(String name,
Object[] arguments,
String[] types)
throws Exception
invoke in interface org.apache.geronimo.gbean.DynamicGBeanname - arguments - types -
Exception
public void activate(javax.resource.spi.endpoint.MessageEndpointFactory messageEndpointFactory)
throws javax.resource.ResourceException
javax.resource.ResourceExceptionpublic void deactivate(javax.resource.spi.endpoint.MessageEndpointFactory messageEndpointFactory)
public org.apache.geronimo.transaction.manager.NamedXAResource getRecoveryXAResources()
throws SystemException
getRecoveryXAResources in interface org.apache.geronimo.transaction.manager.ResourceManagerSystemExceptionpublic void returnResource(org.apache.geronimo.transaction.manager.NamedXAResource xaResource)
returnResource in interface org.apache.geronimo.transaction.manager.ResourceManagerpublic static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||