FileDocCategorySizeDatePackage
ManagementObjectManager.javaAPI DocGlassfish v2 API11620Fri May 04 22:25:42 BST 2007com.sun.enterprise

ManagementObjectManager

public interface ManagementObjectManager
The ManagementObjectManager provides registration and unregistration functionality for managed objects defined by JSR77.
author
Sanjeev Krishnan

Fields Summary
public static final String
RUNNING_STATE
public static final String
STOPPED_STATE
public static final String
FAILED_STATE
public static String
J2EE_TYPE_EJB_MODULE
public static String
J2EE_TYPE_WEB_MODULE
public static String
J2EE_TYPE_RAR_MODULE
public static String
J2EE_TYPE_ACC_MODULE
public static String
J2EE_TYPE_APPLICATION
Constructors Summary
Methods Summary
public voidcreateAppClientModuleMBean(java.lang.String appName, java.lang.String parentName, java.lang.String serverName, java.lang.String deploymentDescriptor)

public voidcreateAppMBean(Application application, java.lang.String serverName, java.lang.String appLocation)

public voidcreateAppMBeanModules(Application application, java.lang.String serverName, java.lang.String appLocation)

public voidcreateAppMBeans(Application application, java.lang.String serverName, java.lang.String appLocation)

public voidcreateEJBMBean(EjbDescriptor ejbDescriptor, java.lang.String serverName)

public voidcreateEJBMBeans(EjbBundleDescriptor ejbBundleDescriptor, java.lang.String serverName)

public voidcreateEJBModuleMBean(EjbBundleDescriptor ejbBundleDescriptor, java.lang.String serverName, java.lang.String appLocation)

public voidcreateRARMBean(ConnectorDescriptor cd, java.lang.String serverName)

public voidcreateRARMBeans(ConnectorDescriptor cd, java.lang.String serverName)

public voidcreateRARModuleMBean(ConnectorDescriptor bundleDesc, java.lang.String serverName, java.lang.String appLocation)

public voidcreateWSEndpointMBean(java.lang.String ctxRoot, WebServiceEndpoint descriptor, java.lang.String serverName)
Creates the specified web service endpoint runtime mbean

param
ctxRoot context root for this web service endpoint
param
descriptor descriptor of the web service endpoint
param
serverName instance on which these mbean is created
throws
MBeanException incase of error

public voidcreateWSEndpointMBeans(BundleDescriptor bundleDescriptor, java.lang.String serverName)
Creates all the web service endpoint runtime mbeans for the web or ejb bundle.

param
bundleDescriptor descriptor of the web/ejb bundle
param
serverName instance on which these mbeans are created
throws
MBeanException incase of error

public voidcreateWebMBean(java.lang.String servletName, java.lang.String moduleName, java.lang.String appName, java.lang.String serverName)

public voidcreateWebMBeans(WebBundleDescriptor webBundleDescriptor, java.lang.String serverName)

public voidcreateWebModuleMBean(java.lang.String appName, java.lang.String parentName, java.lang.String serverName, java.lang.String deploymentDescriptor)

public voiddeleteAppClientModuleMBean(java.lang.String appName, java.lang.String parentName, java.lang.String serverName)

public voiddeleteAppMBean(Application application, java.lang.String serverName)

public voiddeleteAppMBeans(Application application, java.lang.String serverName)

public voiddeleteEJBMBean(EjbDescriptor ejbDescriptor, java.lang.String serverName)

public voiddeleteEJBMBeans(EjbBundleDescriptor ejbBundleDescriptor, java.lang.String serverName)

public voiddeleteEJBModuleMBean(EjbBundleDescriptor ejbBundleDescriptor, java.lang.String serverName)

public voiddeleteRARMBean(ConnectorDescriptor cd, java.lang.String serverName)

public voiddeleteRARMBeans(ConnectorDescriptor cd, java.lang.String serverName)

public voiddeleteRARModuleMBean(ConnectorDescriptor cd, java.lang.String serverName)

public voiddeleteWSEndpointMBean(java.lang.String ctxRoot, WebServiceEndpoint descriptor, java.lang.String serverName)
Deletes the specified web service endpoint runtime mbean

param
ctxRoot context root for this web service endpoint
param
descriptor descriptor of the web service endpoint
param
serverName instance on which these mbean is deleted
throws
MBeanException incase of error

public voiddeleteWSEndpointMBeans(BundleDescriptor bundleDescriptor, java.lang.String serverName)
Deletes all the web service endpoint runtime mbeans for the web or ejb bundle.

param
bundleDescriptor descriptor of the web/ejb bundle
param
serverName instance on which these mbeans are deleted
throws
MBeanException incase of error

public voiddeleteWebMBean(java.lang.String servletName, java.lang.String moduleName, java.lang.String appName, java.lang.String serverName)

public voiddeleteWebMBeans(WebBundleDescriptor webBundleDescriptor, java.lang.String serverName)

public voiddeleteWebModuleMBean(java.lang.String appName, java.lang.String parentName, java.lang.String serverName)

public javax.management.ObjectNamefindObjectName(java.lang.String namePattern)

public java.lang.StringgetApplicationName(BundleDescriptor bd)

public java.lang.StringgetJ2eeTypeForEjb(EjbDescriptor ejbDescriptor)

public com.sun.enterprise.management.agent.MEJBUtilitygetMEJBUtility()

public java.lang.StringgetModuleName(BundleDescriptor bd)

public java.lang.ObjectgetModuleUserData(java.lang.String moduleID, int moduleType)

public java.lang.StringgetServerBaseON(boolean amx, java.lang.String serverName)

public java.lang.IntegergetState(java.lang.String namePattern)

public voidregisterAdminObjectResource(java.lang.String name, java.lang.String raName, java.lang.String resType, java.lang.String[] propNames, java.lang.String[] propValues)

public voidregisterAllJ2EEClusters()

public voidregisterAppClient(ApplicationClientDescriptor bundleDesc, java.lang.String serverName, java.lang.String appLocation)

public voidregisterDasJ2EEServer(java.lang.String serverName)

public voidregisterDasJ2EEServers()

public voidregisterJ2EECluster(java.lang.String clusterName)

public voidregisterJ2EEDomain()

public voidregisterJ2EEServer()

public voidregisterJCAConnectionFactory(java.lang.String jcaResName, java.lang.String jcaConnFactName, java.lang.String managedConFact)

public voidregisterJCAManagedConnectionFactory(java.lang.String connFactName)

public voidregisterJCAResource(java.lang.String name, java.lang.String raName, java.lang.String username, java.lang.String password, java.lang.String[] propNames, java.lang.String[] propValues)

public voidregisterJDBCDataSource(java.lang.String dsJndiName, java.lang.String dsName, java.lang.String url, java.lang.String username, java.lang.String password, java.lang.String[] propNames, java.lang.String[] propValues)

public voidregisterJDBCDriver(java.lang.String name)

public voidregisterJDBCResource(java.lang.String name)

public voidregisterJMSResource(java.lang.String name, java.lang.String resType, java.lang.String username, java.lang.String password, java.lang.String[] propNames, java.lang.String[] propValues)

public voidregisterJNDIResource(java.lang.String name)

public voidregisterJTAResource(java.lang.String name)

public voidregisterJVM()

public voidregisterJavaMailResource(java.lang.String name)

public voidregisterRMI_IIOPResource(java.lang.String name)

public voidregisterResourceAdapterModuleAndItsComponents(ConnectorDescriptor bundleDesc, java.lang.String serverName, boolean registerComponents, java.lang.String appLocation)

public voidregisterTransactionService()

public voidregisterWebModuleAndItsComponents(WebBundleDescriptor webBundleDescriptor, java.lang.String serverName, boolean registerComponents, java.lang.String appLocation)

public voidsetApplicationState(int state, Application application, java.lang.String serverName)

public voidsetEJBModuleState(int state, EjbBundleDescriptor ejbBundleDescriptor, java.lang.String serverName)

public voidsetModuleUserData(java.lang.String moduleID, java.lang.Object obj, int moduleType)

public voidsetRARModuleState(int state, ConnectorDescriptor connectorDescriptor, java.lang.String serverName)

public voidunregister(javax.management.ObjectName objectName)

public voidunregisterAdminObjectResource(java.lang.String name, java.lang.String resourceType)

public voidunregisterAppClient(ApplicationClientDescriptor bundleDesc, java.lang.String serverName)

public voidunregisterDasJ2EEServer(java.lang.String serverName)

public voidunregisterJ2EECluster(java.lang.String clusterName)

public voidunregisterJCAResource(java.lang.String name)

public voidunregisterJDBCResource(java.lang.String name)

public voidunregisterJMSResource(java.lang.String name)

public voidunregisterJavaMailResource(java.lang.String name)

public voidunregisterStandAloneModule(java.lang.String moduleType, java.lang.String name)