|
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 |
Builder that knows how to create events of a certain event type. Defining a custom builder for an event type is necessary when the POJO representing a event does not expose the necessary setter and getter methods for the event properties. For example, if the POJO is immutable, a builder would be necessary to invoke the constructor with all of the required property values in the createEvent method since the default system builder would not be able to set the properties through reflection.
Inner Class Summary | |
static interface |
EventBuilder.Factory Factory for event builder. |
Method Summary | |
java.lang.Object |
createEvent() Instantiate an event of the type associated with this event builder. |
void |
put(java.lang.String property, java.lang.Object value) Set the property of the event being created to the specified value. |
Method Detail |
public void put(java.lang.String property, java.lang.Object value) throws java.lang.IllegalStateException
property
- name of the propertyvalue
- value for the propertypublic java.lang.Object createEvent()
|
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 |