org.apache.geronimo.connector
Class ResourceAdapterWrapperGBean

java.lang.Object
  extended by org.apache.geronimo.connector.ResourceAdapterWrapper
      extended by org.apache.geronimo.connector.ResourceAdapterWrapperGBean
All Implemented Interfaces:
ResourceAdapter, DynamicGBean, GBeanLifecycle, JCAResourceAdapter, J2EEManagedObject

public class ResourceAdapterWrapperGBean
extends org.apache.geronimo.connector.ResourceAdapterWrapper
implements GBeanLifecycle, DynamicGBean, JCAResourceAdapter


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Fields inherited from class org.apache.geronimo.connector.ResourceAdapterWrapper
resourceAdapter
 
Constructor Summary
ResourceAdapterWrapperGBean()
           
ResourceAdapterWrapperGBean(String resourceAdapterClass, Map<String,String> messageListenerToActivationSpecMap, WorkManager workManager, XATerminator xaTerminator, org.apache.geronimo.transaction.manager.RecoverableTransactionManager transactionManager, ClassLoader cl, String objectName)
           
 
Method Summary
 Object getAttribute(String name)
           
static GBeanInfo getGBeanInfo()
           
 String getObjectName()
          Gets the unique name of this object.
 Object invoke(String name, Object[] arguments, String[] types)
           
 boolean isEventProvider()
          Determines if this object implemnts the event provider type defined in the J2EE Management specification.
 boolean isStateManageable()
          Determines if this object implements the state manageable type defined in the J2EE Management specification.
 boolean isStatisticsProvider()
          Determines if this object implemnts the statistics provider type defined in the J2EE Management specification.
 void setAttribute(String name, Object value)
           
 
Methods inherited from class org.apache.geronimo.connector.ResourceAdapterWrapper
doFail, doRecovery, doStart, doStop, endpointActivation, endpointDeactivation, getMessageListenerToActivationSpecMap, getName, getResourceAdapter, getResourceAdapterClass, getXAResources, registerResourceAdapterAssociation, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.geronimo.gbean.GBeanLifecycle
doFail, doStart, doStop
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

ResourceAdapterWrapperGBean

public ResourceAdapterWrapperGBean()

ResourceAdapterWrapperGBean

public ResourceAdapterWrapperGBean(String resourceAdapterClass,
                                   Map<String,String> messageListenerToActivationSpecMap,
                                   WorkManager workManager,
                                   XATerminator xaTerminator,
                                   org.apache.geronimo.transaction.manager.RecoverableTransactionManager transactionManager,
                                   ClassLoader cl,
                                   String objectName)
                            throws InstantiationException,
                                   IllegalAccessException,
                                   ClassNotFoundException
Throws:
InstantiationException
IllegalAccessException
ClassNotFoundException
Method Detail

getAttribute

public Object getAttribute(String name)
                    throws Exception
Specified by:
getAttribute in interface DynamicGBean
Throws:
Exception

setAttribute

public void setAttribute(String name,
                         Object value)
                  throws Exception
Specified by:
setAttribute in interface DynamicGBean
Throws:
Exception

invoke

public Object invoke(String name,
                     Object[] arguments,
                     String[] types)
              throws Exception
Specified by:
invoke in interface DynamicGBean
Throws:
Exception

getObjectName

public String getObjectName()
Description copied from interface: J2EEManagedObject
Gets the unique name of this object. The object name must comply with the ObjectName specification in the JMX specification and the restrictions in the J2EEManagementInterface.

Specified by:
getObjectName in interface J2EEManagedObject
Returns:
the unique name of this object within the server

isStateManageable

public boolean isStateManageable()
Description copied from interface: J2EEManagedObject
Determines if this object implements the state manageable type defined in the J2EE Management specification.

Specified by:
isStateManageable in interface J2EEManagedObject
Returns:
true if this class also implements the state manageable type; false otherwise

isStatisticsProvider

public boolean isStatisticsProvider()
Description copied from interface: J2EEManagedObject
Determines if this object implemnts the statistics provider type defined in the J2EE Management specification.

Specified by:
isStatisticsProvider in interface J2EEManagedObject
Returns:
true if this class also implements the statistics provider type; false otherwise

isEventProvider

public boolean isEventProvider()
Description copied from interface: J2EEManagedObject
Determines if this object implemnts the event provider type defined in the J2EE Management specification.

Specified by:
isEventProvider in interface J2EEManagedObject
Returns:
true if this class also implements the event manageable type; false otherwise

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.