org.apache.geronimo.j2ee.management.impl
Class J2EEServerImpl

java.lang.Object
  extended by org.apache.geronimo.j2ee.management.impl.J2EEServerImpl
All Implemented Interfaces:
J2EEManagedObject, J2EEServer

public class J2EEServerImpl
extends Object
implements J2EEServer


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
J2EEServerImpl(String objectName, ServerInfo serverInfo, Collection jvms, Collection resources, Collection applications, Collection appClientModules, Collection webModules, Collection ejbModules, Collection resourceAdapterModules, Collection webManagers, Collection ejbManagers, Collection jmsManagers, Collection threadPools, Collection repositories, Collection writableRepos, Collection securityRealms, Collection keystoreManagers, Collection configurationInstallers, ConfigurationManager configurationManager, Collection pluginRepoLists)
           
 
Method Summary
 AppClientModule[] getAppClients()
           
 J2EEApplication[] getApplications()
           
 ConfigurationManager getConfigurationManager()
           
 J2EEDeployedObject[] getDeployedObjectInstances()
           
 String[] getDeployedObjects()
          A list of all of the J2EEApplication and J2EEModule types deployed on this J2EEServer.
 EJBManager[] getEJBManagers()
           
 EJBModule[] getEJBModules()
           
static GBeanInfo getGBeanInfo()
           
 JVM[] getJavaVMInstances()
           
 String[] getJavaVMs()
          A list of all Java virtual machines on which this J2EEServer has running threads.
 JMSManager[] getJMSManagers()
           
 KeystoreManager getKeystoreManager()
           
 String getObjectName()
          Gets the unique name of this object.
 PluginInstaller getPluginInstaller()
           
 PluginRepositoryList[] getPluginRepositoryLists()
           
 ListableRepository[] getRepositories()
           
 ResourceAdapterModule[] getResourceAdapterModules()
           
 J2EEResource[] getResourceInstances()
           
 String[] getResources()
          A list of resources available to this server.
 SecurityRealm[] getSecurityRealms()
           
 ServerInfo getServerInfo()
           
 String getServerVendor()
          Identifies the J2EE platform vendor of this J2EEServer.
 String getServerVersion()
          Identifies the J2EE implemetation version of this J2EEServer.
 ThreadPool[] getThreadPools()
           
 WebManager[] getWebManagers()
           
 WebModule[] getWebModules()
           
 WritableListableRepository[] getWritableRepositories()
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

J2EEServerImpl

public J2EEServerImpl(String objectName,
                      ServerInfo serverInfo,
                      Collection jvms,
                      Collection resources,
                      Collection applications,
                      Collection appClientModules,
                      Collection webModules,
                      Collection ejbModules,
                      Collection resourceAdapterModules,
                      Collection webManagers,
                      Collection ejbManagers,
                      Collection jmsManagers,
                      Collection threadPools,
                      Collection repositories,
                      Collection writableRepos,
                      Collection securityRealms,
                      Collection keystoreManagers,
                      Collection configurationInstallers,
                      ConfigurationManager configurationManager,
                      Collection pluginRepoLists)
Method Detail

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

getDeployedObjects

public String[] getDeployedObjects()
Description copied from interface: J2EEServer
A list of all of the J2EEApplication and J2EEModule types deployed on this J2EEServer.

Specified by:
getDeployedObjects in interface J2EEServer
Returns:
the deployed objects on this server
See Also:
"JSR77.3.3.1.1"

getDeployedObjectInstances

public J2EEDeployedObject[] getDeployedObjectInstances()

getResources

public String[] getResources()
Description copied from interface: J2EEServer
A list of resources available to this server.

Specified by:
getResources in interface J2EEServer
Returns:
the resources available to this server
See Also:
"JSR77.3.3.1.2"

getResourceInstances

public J2EEResource[] getResourceInstances()

getJavaVMs

public String[] getJavaVMs()
Description copied from interface: J2EEServer
A list of all Java virtual machines on which this J2EEServer has running threads.

Specified by:
getJavaVMs in interface J2EEServer
Returns:
the JVMs for this server
See Also:
"JSR77.3.3.1.3"

getJavaVMInstances

public JVM[] getJavaVMInstances()

getApplications

public J2EEApplication[] getApplications()

getAppClients

public AppClientModule[] getAppClients()

getWebModules

public WebModule[] getWebModules()

getEJBModules

public EJBModule[] getEJBModules()

getResourceAdapterModules

public ResourceAdapterModule[] getResourceAdapterModules()

getWebManagers

public WebManager[] getWebManagers()

getEJBManagers

public EJBManager[] getEJBManagers()

getJMSManagers

public JMSManager[] getJMSManagers()

getThreadPools

public ThreadPool[] getThreadPools()

getRepositories

public ListableRepository[] getRepositories()

getWritableRepositories

public WritableListableRepository[] getWritableRepositories()

getSecurityRealms

public SecurityRealm[] getSecurityRealms()

getPluginRepositoryLists

public PluginRepositoryList[] getPluginRepositoryLists()

getServerInfo

public ServerInfo getServerInfo()

getKeystoreManager

public KeystoreManager getKeystoreManager()

getPluginInstaller

public PluginInstaller getPluginInstaller()

getConfigurationManager

public ConfigurationManager getConfigurationManager()

getServerVendor

public String getServerVendor()
Description copied from interface: J2EEServer
Identifies the J2EE platform vendor of this J2EEServer.

Specified by:
getServerVendor in interface J2EEServer
Returns:
the server vendor
See Also:
"JSR77.3.3.1.4"

getServerVersion

public String getServerVersion()
Description copied from interface: J2EEServer
Identifies the J2EE implemetation version of this J2EEServer.

Specified by:
getServerVersion in interface J2EEServer
Returns:
the server version
See Also:
"JSR77.3.3.1.5"

getGBeanInfo

public static GBeanInfo getGBeanInfo()


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