Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Event Processing
11g Release 1 (11.1.1.7)

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


com.bea.wlevs.eventinspector.management
Interface EventInspectorMBean


public interface EventInspectorMBean
extends WebLogicMBean, javax.management.NotificationEmitter

MBean for controlling the behaviour of event tracing and injection.


Field Summary
static java.lang.String MBEAN_NAME
           
static java.lang.String MBEAN_TYPE
           

 

Method Summary
 java.util.Map getAllTraceChannels()
          Returns a list of channels using event tracing.
 java.lang.String getInjectChannelName(java.lang.String appId, java.lang.String stageId)
          Returns the channel name for event inject of a specific stage
 java.lang.String getPubsubServerName()
          return pubsub server name which is used for event tracing/injection.
 java.lang.String getPubsubServerURL()
          Returns the url of pubsub server which is used for event tracing/injection
 java.lang.String getTraceChannelName(java.lang.String appId, java.lang.String stageId)
          Returns the channel name for event trace of a specific stage
 boolean isInjecting(java.lang.String appId, java.lang.String stageId)
          Returns true if event injection is started on the stage
 boolean isTracing(java.lang.String appId, java.lang.String stageId)
          Returns true if event tracing has been started on the stage
 void setPubsubServerName(java.lang.String pubsubServerName)
          Set pubsub server name which is used for event tracing/injection
 void setPubsubServerURL(java.lang.String pubsubServerUrl)
          Set the url of pubsub server which is used for event tracing/injection
 void startInject(java.lang.String appId, java.lang.String stageId, java.lang.String channel)
          Start event injection on a specific stage.
 void startTrace(java.lang.String appId, java.lang.String stageId, java.lang.String channel)
          Start event tracing on a specific stage.
 void stopInject(java.lang.String appId, java.lang.String stageId)
          Stop event inject on a specific stage
 void stopTrace(java.lang.String appId, java.lang.String stageId)
          Stop event tracing on a specific stage.

 

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

MBEAN_NAME

public static final java.lang.String MBEAN_NAME

Method Detail

startTrace

public void startTrace(java.lang.String appId,
                       java.lang.String stageId,
                       java.lang.String channel)
                throws javax.management.JMException
Start event tracing on a specific stage.
Parameters:
appId - application id
stageId - stage id
channel - channel name for Event Trace. If it is null, default channel name will be used. The default channel follows the form {server}/{application}/{stage}/output
Throws:
javax.management.JMException -  

stopTrace

public void stopTrace(java.lang.String appId,
                      java.lang.String stageId)
               throws javax.management.JMException
Stop event tracing on a specific stage.
Parameters:
appId - application id
stageId - stage id
Throws:
javax.management.JMException -  

startInject

public void startInject(java.lang.String appId,
                        java.lang.String stageId,
                        java.lang.String channel)
                 throws javax.management.JMException
Start event injection on a specific stage.
Parameters:
appId - appliation id
stageId - stage id
channel - channel name for Event Inject. If it is null, default channel name will be used. The default channel name follows the form {server}/{application}/{stage}/input
Throws:
javax.management.JMException -  

stopInject

public void stopInject(java.lang.String appId,
                       java.lang.String stageId)
                throws javax.management.JMException
Stop event inject on a specific stage
Parameters:
appId - application id
stageId - stage id
Throws:
javax.management.JMException -  

isTracing

public boolean isTracing(java.lang.String appId,
                         java.lang.String stageId)
                  throws javax.management.JMException
Returns true if event tracing has been started on the stage
Parameters:
appId - application id
stageId - stage id
Returns:
whether event trace is started on the stage
Throws:
javax.management.JMException -  

isInjecting

public boolean isInjecting(java.lang.String appId,
                           java.lang.String stageId)
                    throws javax.management.JMException
Returns true if event injection is started on the stage
Parameters:
appId - application id
stageId - stage id
Returns:
whether event inject is started on the stage
Throws:
javax.management.JMException -  

getTraceChannelName

public java.lang.String getTraceChannelName(java.lang.String appId,
                                            java.lang.String stageId)
                                     throws javax.management.JMException
Returns the channel name for event trace of a specific stage
Parameters:
appId - application id
stageId - stage id
Returns:
the channel name for event trace of a specific stage
Throws:
javax.management.JMException -  

getInjectChannelName

public java.lang.String getInjectChannelName(java.lang.String appId,
                                             java.lang.String stageId)
                                      throws javax.management.JMException
Returns the channel name for event inject of a specific stage
Parameters:
appId - application id
stageId - stage id
Returns:
the channel name for event inject of a specific stage
Throws:
javax.management.JMException -  

getPubsubServerURL

public java.lang.String getPubsubServerURL()
                                    throws javax.management.JMException
Returns the url of pubsub server which is used for event tracing/injection
Returns:
the url of pubsub server which is used for event tracing/injection
Throws:
javax.management.JMException -  

setPubsubServerURL

public void setPubsubServerURL(java.lang.String pubsubServerUrl)
                        throws javax.management.JMException
Set the url of pubsub server which is used for event tracing/injection
Parameters:
pubsubServerUrl - url of pubsub server
Throws:
javax.management.JMException -  

setPubsubServerName

public void setPubsubServerName(java.lang.String pubsubServerName)
                         throws javax.management.JMException
Set pubsub server name which is used for event tracing/injection
Parameters:
pubsubServerName - name of pubsub server
Throws:
javax.management.JMException -  

getPubsubServerName

public java.lang.String getPubsubServerName()
                                     throws javax.management.JMException
return pubsub server name which is used for event tracing/injection. The pubsub server name is defined in config.xml
Returns:
pubsub server name which is used for Event Trace/Inject
Throws:
javax.management.JMException -  

getAllTraceChannels

public java.util.Map getAllTraceChannels()
                                  throws javax.management.JMException
Returns a list of channels using event tracing.
Returns:
A Map consisting channel name and its event type information.
Throws:
javax.management.JMException -  

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