Module MBean

All Parent MBeans:
DeployedObject, J2EEManagedObject, Stateful, EventProvider

Partial ObjectName:
WebSphere:*,type=Module,j2eeType=J2EEModule

ResourceInstanceIdentifier:

The resource being modified for the MBean is of type Application
The instance is identified by the value of key Application in the MBean's Object Name


MBean Module

Management interface for the parent of all application modules.


Attribute Summary
java.lang.String[]javaVMs
           javaVMs
intclassLoaderDepth
           Number of classloaders in this module's classloading hierarchy

Attributes inherited from MBean DeployedObject
server, deploymentDescriptor, name, javaVersion, javaVendor

Attributes inherited from MBean J2EEManagedObject
objectName, stateManageable, statisticsProvider, eventProvider

Attributes inherited from MBean EventProvider
eventTypes

Operation Summary
java.lang.StringgetClassLoaderInfo(int level, boolean atDepthOnly, boolean showClasses, boolean showCodeSource)
           Information about classloaders for this module
java.lang.StringgetClassLoaderInfo(int level, boolean atDepthOnly, boolean showClasses, boolean showCodeSource, boolean showDelegation, boolean showHierarchy, boolean showModules, boolean showDepth)
           Information about classloaders for this module

Notifications inherited from MBean Stateful
j2ee.state.starting, j2ee.state.running, j2ee.state.stopping, j2ee.state.stopped, j2ee.state.failed

Attributes inherited from MBean EventProvider
j2ee.attribute.changed

Attribute Detail

javaVMs

public java.lang.String[] javaVMs
javaVMs
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

classLoaderDepth

public int classLoaderDepth
Number of classloaders in this module's classloading hierarchy
Security Roles:
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

Operation Detail

getClassLoaderInfo

public java.lang.String getClassLoaderInfo(int level, boolean atDepthOnly, boolean showClasses, boolean showCodeSource)
Information about classloaders for this module
Parameters:
level - the level of the classloader information to return. 0 = the first classloader that will be checked when loading classes, getClassLoaderDepth()-1 = the last classloader that will be checked.
atDepthOnly - if true, then only the classloader information at the specified level will be returned. if false, all levels between 0 and level will be returned.
showClasses - if true, then loaded classes will be returned
showCodeSource - if true and showClassees is true, then the codeSource for each class will be returned
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

getClassLoaderInfo

public java.lang.String getClassLoaderInfo(int level, boolean atDepthOnly, boolean showClasses, boolean showCodeSource, boolean showDelegation, boolean showHierarchy, boolean showModules, boolean showDepth)
Information about classloaders for this module
Parameters:
level - the level of the classloader information to return. 0 = the first classloader that will be checked when loading classes, getClassLoaderDepth()-1 = the last classloader that will be checked.
atDepthOnly - if true, then only the classloader information at the specified level will be returned. if false, all levels between 0 and level will be returned.
showClasses - if true, then loaded classes will be returned
showCodeSource - if true and showClassees is true, then the codeSource for each class will be returned
showDelegation - if the the delegation hierachy will be show as opposed to standard view
showHierarchy - if true this will return hierchical xml file
showModules - if true then all modules with visablity to a classloader will be returned as an attribute
showDepth - if true then the classloader depth will be returned as a node
Since:
5.0.1
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

Copyright IBM Corp. 1996-2005