org.apache.geronimo.console.util
Interface ManagementHelper
- All Known Implementing Classes:
- KernelManagementHelper
public interface ManagementHelper
A helper interface to navigate between management objects. This is not
complete; it will be expanded as necessary.
Method Summary |
void |
addGBeanToConfiguration(Artifact configID,
GBeanData gbean,
boolean start)
Adds a new GBean to an existing Configuration. |
Object[] |
findByInterface(Class iface)
|
ResourceAdapterModule[] |
getAdminObjectModules(J2EEServer server,
String[] adminObjectInterfaces)
|
JCAAdminObject[] |
getAdminObjects(ResourceAdapterModule module,
String[] adminObjectInterfaces)
|
AppClientModule[] |
getAppClients(J2EEApplication application)
|
AppClientModule[] |
getAppClients(J2EEServer server)
|
J2EEApplication[] |
getApplications(J2EEServer server)
|
Artifact |
getConfigurationNameFor(AbstractName abstractName)
|
ConfigurationData[] |
getConfigurations(ConfigurationModuleType type,
boolean includeChildModules)
|
JCAConnectionFactory[] |
getConnectionFactories(JCAResource resource)
|
JDBCDataSource[] |
getDataSource(JDBCResource resource)
|
J2EEDomain[] |
getDomains()
|
JDBCDriver[] |
getDriver(JDBCDataSource dataSource)
|
EJBModule[] |
getEJBModules(J2EEApplication application)
|
EJBModule[] |
getEJBModules(J2EEServer server)
|
EJB[] |
getEJBs(EJBModule module)
|
String |
getGBeanDescription(AbstractName abstractName)
|
Object[] |
getGBeansImplementing(Class iface)
|
JVM[] |
getJavaVMs(J2EEServer server)
|
JCAResource[] |
getJCAResources(J2EEApplication application)
|
JCAResource[] |
getJCAResources(J2EEServer server)
|
JDBCResource[] |
getJDBCResources(J2EEApplication application)
|
JDBCResource[] |
getJDBCResources(J2EEServer server)
|
JMSResource[] |
getJMSResources(J2EEApplication application)
|
JMSResource[] |
getJMSResources(J2EEServer server)
|
JCAManagedConnectionFactory |
getManagedConnectionFactory(JCAConnectionFactory factory)
|
J2EEDeployedObject |
getModuleForConfiguration(Artifact configuration)
Gets a JSR-77 Module (WebModule, EJBModule, etc.) for the specified configuration. |
J2EEModule[] |
getModules(J2EEApplication application)
|
AbstractName |
getNameFor(Object component)
|
Naming |
getNaming()
This method returns the Naming object of the kernel. |
Object |
getObject(AbstractName abstractName)
|
JCAManagedConnectionFactory[] |
getOutboundFactories(J2EEServer server,
String connectionFactoryInterface)
|
JCAManagedConnectionFactory[] |
getOutboundFactories(ResourceAdapterModule module)
|
JCAManagedConnectionFactory[] |
getOutboundFactories(ResourceAdapterModule module,
String connectionFactoryInterface)
|
JCAManagedConnectionFactory[] |
getOutboundFactories(ResourceAdapterModule module,
String[] connectionFactoryInterfaces)
|
ResourceAdapterModule[] |
getOutboundRAModules(J2EEServer server,
String connectionFactoryInterface)
|
ResourceAdapterModule[] |
getOutboundRAModules(J2EEServer server,
String[] connectionFactoryInterfaces)
|
ResourceAdapterModule[] |
getRAModules(J2EEApplication application)
|
ResourceAdapterModule[] |
getRAModules(J2EEServer server)
|
JCAResource[] |
getRAResources(ResourceAdapter adapter)
|
ResourceAdapter[] |
getResourceAdapters(ResourceAdapterModule module)
|
Servlet[] |
getServlets(WebModule module)
|
SystemLog |
getSystemLog(JVM jvm)
|
WebModule[] |
getWebModules(J2EEApplication application)
|
WebModule[] |
getWebModules(J2EEServer server)
|
void |
testLoginModule(J2EEServer server,
LoginModule module,
Map options)
|
Subject |
testLoginModule(J2EEServer server,
LoginModule module,
Map options,
String username,
String password)
|
getDomains
J2EEDomain[] getDomains()
getApplications
J2EEApplication[] getApplications(J2EEServer server)
getAppClients
AppClientModule[] getAppClients(J2EEServer server)
getWebModules
WebModule[] getWebModules(J2EEServer server)
getEJBModules
EJBModule[] getEJBModules(J2EEServer server)
getRAModules
ResourceAdapterModule[] getRAModules(J2EEServer server)
getOutboundRAModules
ResourceAdapterModule[] getOutboundRAModules(J2EEServer server,
String connectionFactoryInterface)
getOutboundRAModules
ResourceAdapterModule[] getOutboundRAModules(J2EEServer server,
String[] connectionFactoryInterfaces)
getAdminObjectModules
ResourceAdapterModule[] getAdminObjectModules(J2EEServer server,
String[] adminObjectInterfaces)
getOutboundFactories
JCAManagedConnectionFactory[] getOutboundFactories(J2EEServer server,
String connectionFactoryInterface)
getJCAResources
JCAResource[] getJCAResources(J2EEServer server)
getJDBCResources
JDBCResource[] getJDBCResources(J2EEServer server)
getJMSResources
JMSResource[] getJMSResources(J2EEServer server)
getJavaVMs
JVM[] getJavaVMs(J2EEServer server)
getSystemLog
SystemLog getSystemLog(JVM jvm)
getModules
J2EEModule[] getModules(J2EEApplication application)
getAppClients
AppClientModule[] getAppClients(J2EEApplication application)
getWebModules
WebModule[] getWebModules(J2EEApplication application)
getEJBModules
EJBModule[] getEJBModules(J2EEApplication application)
getRAModules
ResourceAdapterModule[] getRAModules(J2EEApplication application)
getJCAResources
JCAResource[] getJCAResources(J2EEApplication application)
getJDBCResources
JDBCResource[] getJDBCResources(J2EEApplication application)
getJMSResources
JMSResource[] getJMSResources(J2EEApplication application)
getEJBs
EJB[] getEJBs(EJBModule module)
getServlets
Servlet[] getServlets(WebModule module)
getResourceAdapters
ResourceAdapter[] getResourceAdapters(ResourceAdapterModule module)
getOutboundFactories
JCAManagedConnectionFactory[] getOutboundFactories(ResourceAdapterModule module)
getOutboundFactories
JCAManagedConnectionFactory[] getOutboundFactories(ResourceAdapterModule module,
String connectionFactoryInterface)
getOutboundFactories
JCAManagedConnectionFactory[] getOutboundFactories(ResourceAdapterModule module,
String[] connectionFactoryInterfaces)
getAdminObjects
JCAAdminObject[] getAdminObjects(ResourceAdapterModule module,
String[] adminObjectInterfaces)
getRAResources
JCAResource[] getRAResources(ResourceAdapter adapter)
getDataSource
JDBCDataSource[] getDataSource(JDBCResource resource)
getDriver
JDBCDriver[] getDriver(JDBCDataSource dataSource)
getConnectionFactories
JCAConnectionFactory[] getConnectionFactories(JCAResource resource)
getManagedConnectionFactory
JCAManagedConnectionFactory getManagedConnectionFactory(JCAConnectionFactory factory)
getObject
Object getObject(AbstractName abstractName)
getConfigurationNameFor
Artifact getConfigurationNameFor(AbstractName abstractName)
getGBeanDescription
String getGBeanDescription(AbstractName abstractName)
testLoginModule
void testLoginModule(J2EEServer server,
LoginModule module,
Map options)
testLoginModule
Subject testLoginModule(J2EEServer server,
LoginModule module,
Map options,
String username,
String password)
throws LoginException
- Throws:
LoginException
findByInterface
Object[] findByInterface(Class iface)
getNameFor
AbstractName getNameFor(Object component)
getConfigurations
ConfigurationData[] getConfigurations(ConfigurationModuleType type,
boolean includeChildModules)
getModuleForConfiguration
J2EEDeployedObject getModuleForConfiguration(Artifact configuration)
- Gets a JSR-77 Module (WebModule, EJBModule, etc.) for the specified configuration.
Note: this only works if the configuration is running at the time you ask.
- Returns:
- The Module, or null if the configuration is not running.
addGBeanToConfiguration
void addGBeanToConfiguration(Artifact configID,
GBeanData gbean,
boolean start)
- Adds a new GBean to an existing Configuration.
- Parameters:
configID
- The configuration to add the GBean to.gbean
- The data representing the GBean to add.start
- If true, the GBean should be started as part of this call.
getNaming
Naming getNaming()
- This method returns the Naming object of the kernel.
getGBeansImplementing
Object[] getGBeansImplementing(Class iface)
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.