| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.JCAAdminObjectpublic String getAdminObjectClass()
getAdminObjectClass in interface org.apache.geronimo.management.geronimo.JCAAdminObjectpublic Object $getResource()
$getResource in interface AdminObjectSource
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 - 
Exceptionpublic 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.JCAAdminObjectException
public Object getConfigProperty(String property)
                         throws Exception
getConfigProperty in interface org.apache.geronimo.management.geronimo.JCAAdminObjectExceptionpublic String getObjectName()
getObjectName in interface org.apache.geronimo.management.J2EEManagedObjectpublic boolean isStateManageable()
isStateManageable in interface org.apache.geronimo.management.J2EEManagedObjectpublic boolean isStatisticsProvider()
isStatisticsProvider in interface org.apache.geronimo.management.J2EEManagedObjectpublic 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 | |||||||||