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.management.configuration
Interface EPLProcessorMBean


public interface EPLProcessorMBean
extends ProcessorMBean

This MBean will manage instances of epl processor whose configuration has been derived from com.bea.wlevs.configuration.application.DefaultProcessorConfig schema. All the attributes and operations of this MBean wraps around this schema type.

An example of using this MBean is given below


  ObjectName eplName =
         ObjectName.getInstance("com.bea.wlevs:Name=myprocessor,Type=EPLProcessor,Application=myapplication");


  EPLProcessorMBean eplMBean = (EPLProcessorMBean)
         MBeanServerInvocationHandler.newProxyInstance(
                          mbsc,
                          ObjectName.getInstance(eplName),
                          EPLProcessorMBean.class,
                          true);

  Map<String,String> rules =  eplMBean.getAllRules();

  //other operations
     ...
     ...
 

Inner classes inherited from class com.bea.wlevs.management.configuration.ProcessorMBean
ProcessorMBean.RuleConfigParameters, ProcessorMBean.RuleType

 

Field Summary
static java.lang.String MBEAN_TYPE
           

 

Method Summary
 void addDatabase(java.lang.String databaseName, java.lang.String datasourceName)
          This method add a database to this processor's configuration.
 void addParams(java.lang.String ruleId, java.lang.String values)
          This method adds a new set of unnamed parameter values to be bound against a parameterized query.
 void addParams(java.lang.String ruleId, java.lang.String values, java.lang.String paramsName)
          This method adds a new set or replaces an existing set of named parameter values to be bound against a parameterized query.
 void deleteDatabase(java.lang.String databaseName)
          This method delete a database from this processor's configuration.
 void deleteParams(java.lang.String ruleId)
          This method deletes all parameter values for the parameterized query identified by the ruleId argument.
 void deleteParams(java.lang.String ruleId, java.lang.String paramsName)
          This method deletes the named set of parameter values for the parameterized query identified by the ruleId argument.
 java.util.Map getDatabases()
          This method retrieve the databases configured with this processor.
 java.lang.String[] getParams(java.lang.String ruleId)
          This method retrieves all parameter values for a parameterized query identified by the ruleId argument.
 java.lang.String getParams(java.lang.String ruleId, java.lang.String paramsName)
          This method retrieves the set of parameter values with the given name for a parameterized query identified by the ruleId argument.
 int getParamsCount(java.lang.String ruleId)
          This method returns the number of parameters which must be bound for the rule identified by the ruleId argument.
 void replaceParams(java.lang.String ruleId, java.lang.String[] values)
          This method replaces all parameter values for a parameterized query identified by the ruleId argument with the parameter values provided.
 void replaceParams(java.lang.String ruleId, java.lang.String[] values, java.lang.String[] paramsNames)
          This method replaces all parameter values for a parameterized query identified by the ruleId argument.

 

Methods inherited from interface com.bea.wlevs.management.configuration.ProcessorMBean
addRule, addRule, addRule, addRules, deleteAllRules, deleteRule, deleteRules, downloadRules, getAllRules, getAllRulesInfo, getRule, getRules, isRuleStarted, replaceRule, replaceRules, startRule, stopRule, uploadRules, uploadRules

 

Methods inherited from interface com.bea.wlevs.management.configuration.StageMBean
configurePlayback, configurePlaybackWithDuration, configureRecord, configureRecordWithDuration, getPlaybackConfiguration, getRecordConfiguration, getRecordPlayback, isPlayingBack, isRecording, startPlayback, startRecording, stopPlayback, stopRecording

 

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

addParams

public void addParams(java.lang.String ruleId,
                      java.lang.String values,
                      java.lang.String paramsName)
               throws javax.management.JMException
This method adds a new set or replaces an existing set of named parameter values to be bound against a parameterized query. If a set of parameter values already exists for the parameterized query with the same name, then it will be replaced. Otherwise, a new set of parameter values will be added with the given name.
Parameters:
ruleId - identifier of parameterized query.
values - comma separated string of parameter values to bind against parameterized query.
paramsName - name for the set of parameter values.
Throws:
javax.management.JMException -  

addParams

public void addParams(java.lang.String ruleId,
                      java.lang.String values)
               throws javax.management.JMException
This method adds a new set of unnamed parameter values to be bound against a parameterized query. Without a name for the set of parameter values, individual retrieval and deletion is not possible.
Parameters:
ruleId - identifier of parameterized query.
values - comma separated string of parameter values to bind against parameterized query.
Throws:
javax.management.JMException -  

replaceParams

public void replaceParams(java.lang.String ruleId,
                          java.lang.String[] values,
                          java.lang.String[] paramsNames)
                   throws javax.management.JMException
This method replaces all parameter values for a parameterized query identified by the ruleId argument. The paramsNames argument specifies a parallel array of names for each set of parameter values where a null element causes the corresponding set of parameter values to be unnamed.
Parameters:
ruleId - identifier of parameterized query.
values - String array of comma separated parameter value sets to bind against parameterized query.
paramsNames - String array defining the identifier for each parameterized value set.
Throws:
javax.management.JMException -  

replaceParams

public void replaceParams(java.lang.String ruleId,
                          java.lang.String[] values)
                   throws javax.management.JMException
This method replaces all parameter values for a parameterized query identified by the ruleId argument with the parameter values provided. The parameter values will be unnamed.
Parameters:
ruleId - identifier of parameterized query.
values - String array of comma separated parameter value sets to bind against parameterized query.
Throws:
javax.management.JMException -  

deleteParams

public void deleteParams(java.lang.String ruleId,
                         java.lang.String paramsName)
                  throws javax.management.JMException
This method deletes the named set of parameter values for the parameterized query identified by the ruleId argument.
Parameters:
ruleId - identifier of parameterized query.
paramsName - name of parameter values.
Throws:
javax.management.JMException -  

deleteParams

public void deleteParams(java.lang.String ruleId)
                  throws javax.management.JMException
This method deletes all parameter values for the parameterized query identified by the ruleId argument.
Parameters:
ruleId - identifier of parameterized query.
Throws:
javax.management.JMException -  

getParams

public java.lang.String getParams(java.lang.String ruleId,
                                  java.lang.String paramsName)
                           throws javax.management.JMException
This method retrieves the set of parameter values with the given name for a parameterized query identified by the ruleId argument.
Parameters:
ruleId - identifier of parameterized query.
paramsName - name of parameter values.
Returns:
String of comma separated parameter values.
Throws:
javax.management.JMException -  

getParams

public java.lang.String[] getParams(java.lang.String ruleId)
                             throws javax.management.JMException
This method retrieves all parameter values for a parameterized query identified by the ruleId argument.
Parameters:
ruleId - identifier of parameterized query.
Returns:
String array of comma separated parameter values.
Throws:
javax.management.JMException -  

getParamsCount

public int getParamsCount(java.lang.String ruleId)
                   throws javax.management.JMException
This method returns the number of parameters which must be bound for the rule identified by the ruleId argument. If the rule is not parameterized, then a value of zero will be returned.
Parameters:
ruleId - A string which represents the id of the rule
Returns:
the number of parameters which must be bound or zero if the rule is not parameterized.
Throws:
javax.management.JMException -  

addDatabase

public void addDatabase(java.lang.String databaseName,
                        java.lang.String datasourceName)
                 throws javax.management.JMException
This method add a database to this processor's configuration.
Parameters:
databaseName - A string which represents the database name.
datasourceName - A string which represents a datasource name.
Throws:
javax.management.JMException -  

deleteDatabase

public void deleteDatabase(java.lang.String databaseName)
                    throws javax.management.JMException
This method delete a database from this processor's configuration.
Parameters:
databaseName - A string represents the database to be deleted.
Throws:
javax.management.JMException -  

getDatabases

public java.util.Map getDatabases()
                           throws javax.management.JMException
This method retrieve the databases configured with this processor.
Returns:
Key/value pairs of database names and datasource names. key--database name, value--datasource name.
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