|
Oracle® Fusion Middleware Java API Reference for Oracle Event Processing 11g Release 1 (11.1.1.9) E14303-12 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Diagnostic profiles factory MBean to manage diagnostic profile MBeans. For every deployed application, a profilemanagerMBean will be created for it.Users can use this mbean to add, remove or update a profile. The following example shows how to access the DiagnosticProfileManagerMBean:
ObjectName profileManagerBeanName = ObjectName.getInstance("com.bea.wlevs:Name=" ProfileManager,Type=ProfileManager,Application="+DeployedApplicationName); DiagnosticProfileManagerMBean profileManagerBean = (DiagnosticProfileManagerMBean) MBeanServerInvocationHandler .newProxyInstance(mbsc, profileManagerBeanName, DiagnosticProfileManagerMBean.class, false);
Field Summary | |
static java.lang.String |
MBEAN_NAME This MBean is registered using the following MBEAN_NAME. |
static java.lang.String |
MBEAN_TYPE This MBean is registered using the following MBEAN_TYPE. |
Method Summary | |
javax.management.ObjectName |
createDiagnosticProfile(org.w3c.dom.Node profileNode) Creates a profile by a profile node defined in wlevs_diagnostic_config.xsd. |
javax.management.ObjectName |
createDiagnosticProfile(java.lang.String xmlProfile) Creates a profile by a xml profile string. |
javax.management.ObjectName |
createDiagnosticProfile(java.lang.String profileName, javax.management.ObjectName[] probeNames) Creates a profile by a series of probes. |
org.w3c.dom.Node |
getDiagnosticProfile(java.lang.String profileName) Gets profile as xml Node. |
javax.management.ObjectName[] |
getDiagnosticProfiles() Gets all the diagnostic profiles. |
void |
removeDiagnosticProfile(java.lang.String profileName) Removes a diagnostic profile. |
void |
updateDiagnosticProfile(org.w3c.dom.Node profileNode) Updates a profile by a profile node defined in wlevs_diagnostic_config.xsd. |
Methods inherited from interface com.bea.wlevs.management.WebLogicMBean |
getName, getObjectName, getType |
Methods inherited from interface javax.management.NotificationEmitter |
removeNotificationListener |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, getNotificationInfo, removeNotificationListener |
Field Detail |
public static final java.lang.String MBEAN_TYPE
public static final java.lang.String MBEAN_NAME
Method Detail |
public javax.management.ObjectName createDiagnosticProfile(org.w3c.dom.Node profileNode) throws javax.management.JMException
nodeProfile
- a profile node defined in schema file wlevs_diagnostic_config.xsd.public void updateDiagnosticProfile(org.w3c.dom.Node profileNode) throws javax.management.JMException
profileNode
- a profile node defined in schema file wlevs_diagnostic_config.xsd.public org.w3c.dom.Node getDiagnosticProfile(java.lang.String profileName)
profileName
- The profile name.public javax.management.ObjectName createDiagnosticProfile(java.lang.String xmlProfile) throws javax.management.JMException
public javax.management.ObjectName createDiagnosticProfile(java.lang.String profileName, javax.management.ObjectName[] probeNames) throws javax.management.JMException
probeNames
- An array of objectnames for a series of probes, which should be created by MonitorRuntimeMBean.public void removeDiagnosticProfile(java.lang.String profileName) throws javax.management.JMException
profileName
- profile name.public javax.management.ObjectName[] getDiagnosticProfiles()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |