Skip navigation links

Oracle CEP API Reference
Release 11gR1 (11.1.1)

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


com.bea.wlevs.management.diagnostic
Interface DiagnosticProfileMBean


public interface DiagnosticProfileMBean
extends WebLogicMBean, javax.management.NotificationEmitter

Diagnostic Profile MBean.a profile can be looked as a collection of probes that monitoring the performance of an application.All the probes must have the same start ponit. For the concept of probe, please refer to MonitorRuntimeMBean. The listeners of this MBean will get ProbeAttributeChangeNotification types of notifications. The following example shows how to access the DiagnosticProfileMBean:

 ObjectName profileBeanName = ObjectName.getInstance("com.bea.wlevs:Name="
         + profileName +",Type=Profile,Application="+DeployedApplicationName);
 
 DiagnosticProfileMBean profileBean = (DiagnosticProfileMBean) MBeanServerInvocationHandler
         .newProxyInstance(mbsc, profileBeanName, DiagnosticProfileMBean.class, false);
 
 
See Also:
MonitorRuntimeMBean, ProbeRuntimeMBean

Field Summary
static java.lang.String MBEAN_TYPE
           

 

Method Summary
 void addProbe(javax.management.ObjectName probeName)
          Adds a probe to this profile.
 javax.management.ObjectName[] getProbes()
          Gets all the probes in this profiles.
 java.lang.String getStartStage()
          Gets the start point of the profile.Namely the common start point of all the probes.
 boolean isActive()
          Determine the state of this profile.
 void removeProbe(javax.management.ObjectName probeName)
          Removes a probe from this profile.
 void start()
          Starts this profile.The profile will become active.
 void stop()
          Stops this profile.The profile will become inactive.
 void terminate()
          Stops running the profile and unregisters background ProbeRunTimeMBeans from the MBeanServer

 

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

Method Detail

isActive

public boolean isActive()
Determine the state of this profile.
Returns:
true if this profile is active.

addProbe

public void addProbe(javax.management.ObjectName probeName)
              throws javax.management.JMException
Adds a probe to this profile.
Parameters:
probeName -  
Throws:
javax.management.JMException - --If the probe doesn't conform to the start point.

removeProbe

public void removeProbe(javax.management.ObjectName probeName)
                 throws javax.management.JMException
Removes a probe from this profile.
Parameters:
probeName -  

getProbes

public javax.management.ObjectName[] getProbes()
Gets all the probes in this profiles.

start

public void start()
           throws javax.management.JMException
Starts this profile.The profile will become active.

stop

public void stop()
          throws javax.management.JMException
Stops this profile.The profile will become inactive.

terminate

public void terminate()
               throws javax.management.JMException
Stops running the profile and unregisters background ProbeRunTimeMBeans from the MBeanServer
Throws:
javax.management.JMException -  

getStartStage

public java.lang.String getStartStage()
Gets the start point of the profile.Namely the common start point of all the probes.
Returns:
 

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