|
Oracle Fusion Middleware Java API Reference for Oracle Complex Event Processing 11g Release 1 (11.1.1.4.0) E14303-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final java.lang.String MBEAN_TYPE
Method Detail |
public void addParams(java.lang.String ruleId, java.lang.String values, java.lang.String paramsName) throws javax.management.JMException
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.public void addParams(java.lang.String ruleId, java.lang.String values) throws javax.management.JMException
ruleId
- identifier of parameterized query.values
- comma separated string of parameter values to bind against parameterized query.public void replaceParams(java.lang.String ruleId, java.lang.String[] values, java.lang.String[] paramsNames) throws javax.management.JMException
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.public void replaceParams(java.lang.String ruleId, java.lang.String[] values) throws javax.management.JMException
ruleId
- identifier of parameterized query.values
- String array of comma separated parameter value sets to bind against parameterized query.public void deleteParams(java.lang.String ruleId, java.lang.String paramsName) throws javax.management.JMException
ruleId
- identifier of parameterized query.paramsName
- name of parameter values.public void deleteParams(java.lang.String ruleId) throws javax.management.JMException
ruleId
- identifier of parameterized query.public java.lang.String getParams(java.lang.String ruleId, java.lang.String paramsName) throws javax.management.JMException
ruleId
- identifier of parameterized query.paramsName
- name of parameter values.public java.lang.String[] getParams(java.lang.String ruleId) throws javax.management.JMException
ruleId
- identifier of parameterized query.public int getParamsCount(java.lang.String ruleId) throws javax.management.JMException
ruleId
- A string which represents the id of the rulepublic void addDatabase(java.lang.String databaseName, java.lang.String datasourceName) throws javax.management.JMException
databaseName
- A string which represents the database name.datasourceName
- A string which represents a datasource name.public void deleteDatabase(java.lang.String databaseName) throws javax.management.JMException
databaseName
- A string represents the database to be deleted.public java.util.Map getDatabases() throws javax.management.JMException
|
Copyright © 2007, 2011 Oracle and/or its affiliates. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |