|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.connector.outbound.ManagedConnectionFactoryWrapper
public class ManagedConnectionFactoryWrapper
| Constructor Summary | |
|---|---|
ManagedConnectionFactoryWrapper()
|
|
ManagedConnectionFactoryWrapper(String managedConnectionFactoryClass,
String connectionFactoryInterface,
String[] implementedInterfaces,
String connectionFactoryImplClass,
String connectionInterface,
String connectionImplClass,
org.apache.geronimo.connector.ResourceAdapterWrapper resourceAdapterWrapper,
org.apache.geronimo.connector.outbound.ConnectionManagerContainer connectionManagerContainer,
Kernel kernel,
AbstractName abstractName,
String objectName,
ClassLoader cl)
|
|
| Method Summary | |
|---|---|
Object |
$getConnectionFactory()
|
ManagedConnectionFactory |
$getManagedConnectionFactory()
|
Object |
$getResource()
|
void |
doFail()
Fails the GBean. |
void |
doStart()
Starts the GBean. |
void |
doStop()
Stops the target. |
Object |
getAttribute(String name)
|
Map<String,Class> |
getConfigProperties()
Gets the config properties in the form of a map where the key is the property name and the value is property type (as a Class). |
Object |
getConfigProperty(String property)
|
Object |
getConnectionFactory()
|
String |
getConnectionFactoryImplClass()
|
String |
getConnectionFactoryInterface()
|
String |
getConnectionImplClass()
|
String |
getConnectionInterface()
|
Object |
getConnectionManagerContainer()
|
String[] |
getImplementedInterfaces()
|
String |
getManagedConnectionFactoryClass()
|
String |
getObjectName()
Gets the unique name of this object. |
org.apache.geronimo.connector.ResourceAdapterWrapper |
getResourceAdapterWrapper()
|
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)
|
void |
setConfigProperty(String property,
Object value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ManagedConnectionFactoryWrapper()
public ManagedConnectionFactoryWrapper(String managedConnectionFactoryClass,
String connectionFactoryInterface,
String[] implementedInterfaces,
String connectionFactoryImplClass,
String connectionInterface,
String connectionImplClass,
org.apache.geronimo.connector.ResourceAdapterWrapper resourceAdapterWrapper,
org.apache.geronimo.connector.outbound.ConnectionManagerContainer connectionManagerContainer,
Kernel kernel,
AbstractName abstractName,
String objectName,
ClassLoader cl)
throws InstantiationException,
IllegalAccessException,
ClassNotFoundException
InstantiationException
IllegalAccessException
ClassNotFoundException| Method Detail |
|---|
public String getManagedConnectionFactoryClass()
public String getConnectionFactoryInterface()
public String[] getImplementedInterfaces()
public String getConnectionFactoryImplClass()
public String getConnectionInterface()
public String getConnectionImplClass()
public org.apache.geronimo.connector.ResourceAdapterWrapper getResourceAdapterWrapper()
public Object getConnectionManagerContainer()
public void doStart()
throws Exception
GBeanLifecycle
doStart in interface GBeanLifecycleException - if the target failed to start; this will cause a transition to the failed statepublic void doStop()
GBeanLifecycle
doStop in interface GBeanLifecyclepublic void doFail()
GBeanLifecycle
doFail in interface GBeanLifecycle
public Object getAttribute(String name)
throws Exception
getAttribute in interface DynamicGBeanException
public void setAttribute(String name,
Object value)
throws Exception
setAttribute in interface DynamicGBeanException
public Object invoke(String name,
Object[] arguments,
String[] types)
throws Exception
invoke in interface DynamicGBeanException
public Object getConnectionFactory()
throws ResourceException
ResourceException
public Object $getResource()
throws ResourceException
$getResource in interface ResourceSource<ResourceException>ResourceException
public Object $getConnectionFactory()
throws ResourceException
ResourceExceptionpublic ManagedConnectionFactory $getManagedConnectionFactory()
public Map<String,Class> getConfigProperties()
public void setConfigProperty(String property,
Object value)
throws Exception
Exception
public Object getConfigProperty(String property)
throws Exception
Exceptionpublic String getObjectName()
J2EEManagedObject
getObjectName in interface J2EEManagedObjectpublic boolean isStateManageable()
J2EEManagedObject
isStateManageable in interface J2EEManagedObjectpublic boolean isStatisticsProvider()
J2EEManagedObject
isStatisticsProvider in interface J2EEManagedObjectpublic boolean isEventProvider()
J2EEManagedObject
isEventProvider in interface J2EEManagedObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||