|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.connector.AdminObjectWrapper
public class AdminObjectWrapper
Wrapper around AdminObject that exposes its config-properties as GBeanAttributes and supplies a disconnectable proxy to bind in jndi.
Constructor Summary | |
---|---|
AdminObjectWrapper()
Default constructor required when a class is used as a GBean Endpoint. |
|
AdminObjectWrapper(String adminObjectInterface,
String adminObjectClass,
org.apache.geronimo.kernel.Kernel kernel,
org.apache.geronimo.gbean.AbstractName abstractName,
String objectName,
ClassLoader cl)
Normal managed constructor. |
Method Summary | |
---|---|
Object |
$getResource()
Returns disconnectable proxy for binding in jndi. |
String |
getAdminObjectClass()
Returns class of wrapped AdminObject. |
String |
getAdminObjectInterface()
|
Object |
getAttribute(String name)
Delegating DynamicGBean getAttribute method. |
Map |
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 String not a Class). |
Object |
getConfigProperty(String property)
|
String |
getObjectName()
|
Object |
invoke(String name,
Object[] arguments,
String[] types)
no-op DynamicGBean method |
boolean |
isEventProvider()
|
boolean |
isStateManageable()
|
boolean |
isStatisticsProvider()
|
void |
setAttribute(String name,
Object value)
Delegating DynamicGBean setAttribute method. |
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 AdminObjectWrapper()
public AdminObjectWrapper(String adminObjectInterface, String adminObjectClass, org.apache.geronimo.kernel.Kernel kernel, org.apache.geronimo.gbean.AbstractName abstractName, String objectName, ClassLoader cl) throws IllegalAccessException, InstantiationException, ClassNotFoundException
adminObjectInterface
- Interface the proxy will implement.adminObjectClass
- Class of admin object to be wrapped.
IllegalAccessException
InstantiationException
ClassNotFoundException
Method Detail |
---|
public String getAdminObjectInterface()
getAdminObjectInterface
in interface org.apache.geronimo.management.geronimo.JCAAdminObject
public String getAdminObjectClass()
getAdminObjectClass
in interface org.apache.geronimo.management.geronimo.JCAAdminObject
public Object $getResource()
$getResource
in interface AdminObjectSource
public Object getAttribute(String name) throws Exception
getAttribute
in interface org.apache.geronimo.gbean.DynamicGBean
name
- of attribute.
Exception
public void setAttribute(String name, Object value) throws Exception
setAttribute
in interface org.apache.geronimo.gbean.DynamicGBean
name
- 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.DynamicGBean
name
- arguments
- types
-
Exception
public Map getConfigProperties()
getConfigProperties
in interface org.apache.geronimo.management.geronimo.JCAAdminObject
public void setConfigProperty(String property, Object value) throws Exception
setConfigProperty
in interface org.apache.geronimo.management.geronimo.JCAAdminObject
Exception
public Object getConfigProperty(String property) throws Exception
getConfigProperty
in interface org.apache.geronimo.management.geronimo.JCAAdminObject
Exception
public String getObjectName()
getObjectName
in interface org.apache.geronimo.management.J2EEManagedObject
public boolean isStateManageable()
isStateManageable
in interface org.apache.geronimo.management.J2EEManagedObject
public boolean isStatisticsProvider()
isStatisticsProvider
in interface org.apache.geronimo.management.J2EEManagedObject
public boolean isEventProvider()
isEventProvider
in interface org.apache.geronimo.management.J2EEManagedObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |