Skip navigation links

Oracle Complex Event Processing API Reference
11g Release 1 (11.1.1)

E14303-03
FRAMES    NO FRAMES
DETAIL:  FIELD | CONSTR | METHOD


com.bea.wlevs.management.diagnostic
Interface DiagnosticProfileManagerMBean


public interface DiagnosticProfileManagerMBean
extends WebLogicMBean, javax.management.NotificationEmitter

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

MBEAN_TYPE

public static final java.lang.String MBEAN_TYPE
This MBean is registered using the following MBEAN_TYPE.

MBEAN_NAME

public static final java.lang.String MBEAN_NAME
This MBean is registered using the following MBEAN_NAME.

Method Detail

createDiagnosticProfile

public javax.management.ObjectName createDiagnosticProfile(org.w3c.dom.Node profileNode)
                                                    throws javax.management.JMException
Creates a profile by a profile node defined in wlevs_diagnostic_config.xsd.
Parameters:
nodeProfile - a profile node defined in schema file wlevs_diagnostic_config.xsd.
Returns:
 
Throws:
javax.management.JMException - If a profile having the same name exists, an exception will be thrown.

updateDiagnosticProfile

public void updateDiagnosticProfile(org.w3c.dom.Node profileNode)
                             throws javax.management.JMException
Updates a profile by a profile node defined in wlevs_diagnostic_config.xsd.
Parameters:
profileNode - a profile node defined in schema file wlevs_diagnostic_config.xsd.
Throws:
javax.management.JMException -  

getDiagnosticProfile

public org.w3c.dom.Node getDiagnosticProfile(java.lang.String profileName)
Gets profile as xml Node.
Parameters:
profileName - The profile name.
Returns:
 

createDiagnosticProfile

public javax.management.ObjectName createDiagnosticProfile(java.lang.String xmlProfile)
                                                    throws javax.management.JMException
Creates a profile by a xml profile string.
Returns:
 
Throws:
javax.management.JMException - If a profile having the same name exists, an exception will be thrown.

createDiagnosticProfile

public javax.management.ObjectName createDiagnosticProfile(java.lang.String profileName,
                                                           javax.management.ObjectName[] probeNames)
                                                    throws javax.management.JMException
Creates a profile by a series of probes.
Parameters:
probeNames - An array of objectnames for a series of probes, which should be created by MonitorRuntimeMBean.
Returns:
 
Throws:
javax.management.JMException - If a profile having the same name exists, an exception will be thrown.

removeDiagnosticProfile

public void removeDiagnosticProfile(java.lang.String profileName)
                             throws javax.management.JMException
Removes a diagnostic profile.
Parameters:
profileName - profile name.
Throws:
javax.management.JMException -  

getDiagnosticProfiles

public javax.management.ObjectName[] getDiagnosticProfiles()
Gets all the diagnostic profiles.
Returns:
an array of objectnames for all the profiles managed by this profilemanager.

Overview  Package   Class   Use  Tree  Deprecated  Index  Help 
Copyright © 2007, 2010 Oracle and/or its affiliates. All rights reserved.
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD