public class ConfigurationCommon
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANNOTATION_IMPORT
Import name of the package that hosts the annotation classes.
|
protected java.util.List<java.lang.String> |
annotationImports
For annotations only, the class and package name imports that
will be used to resolve partial class names (not available in EPL statements unless used in an annotation).
|
protected java.util.Map<java.lang.String,ConfigurationCommonDBRef> |
databaseReferences
The class and package name imports that
will be used to resolve partial class names.
|
static java.lang.String |
DATAFLOWOPERATOR_IMPORT
Import package for data flow operator forges.
|
protected java.util.Map<java.lang.String,java.lang.String> |
eventClasses
Map of event name and fully-qualified class name.
|
protected ConfigurationCommonEventTypeMeta |
eventMeta
Event type common configuration
|
protected java.util.Map<java.lang.String,ConfigurationCommonEventTypeAvro> |
eventTypesAvro
Map of event type name and XML DOM configuration.
|
protected java.util.Map<java.lang.String,ConfigurationCommonEventTypeBean> |
eventTypesBean
Map of event type name and bean-type event configuration.
|
protected java.util.Map<java.lang.String,ConfigurationCommonEventTypeXMLDOM> |
eventTypesXMLDOM
Map of event type name and XML DOM configuration.
|
protected ConfigurationCommonExecution |
execution
Execution-related configuration
|
protected java.util.List<java.lang.String> |
imports
The class and package name imports that
will be used to resolve partial class names.
|
protected ConfigurationCommonLogging |
logging
Logging configuration.
|
protected java.util.Map<java.lang.String,java.util.Properties> |
mapNames
The type names for events that are backed by java.util.Map,
not containing strongly-typed nested maps.
|
protected java.util.Map<java.lang.String,ConfigurationCommonEventTypeMap> |
mapTypeConfigurations
Map event types additional configuration information.
|
protected java.util.Map<java.lang.String,ConfigurationCommonMethodRef> |
methodInvocationReferences
Map of class name and configuration for method invocations on that class.
|
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> |
nestableMapNames
The type names for events that are backed by java.util.Map,
possibly containing strongly-typed nested maps.
|
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> |
nestableObjectArrayNames
The type names for events that are backed by java.util.Map,
possibly containing strongly-typed nested maps.
|
protected java.util.Map<java.lang.String,ConfigurationCommonEventTypeObjectArray> |
objectArrayTypeConfigurations
Map event types additional configuration information.
|
protected ConfigurationCommonTimeSource |
timeSource
Time source configuration
|
protected java.util.Map<java.lang.String,java.lang.Object> |
transientConfiguration
Transient configuration.
|
protected java.util.Map<java.lang.String,ConfigurationCommonVariable> |
variables
Map of variables.
|
protected java.util.Map<java.lang.String,ConfigurationCommonVariantStream> |
variantStreams
Variant streams allow events of disparate types to be treated the same.
|
Constructor and Description |
---|
ConfigurationCommon()
Constructs an empty configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
addAnnotationImport(java.lang.Class autoImport)
Add a class to the imports available for annotations only
|
void |
addAnnotationImport(java.lang.String importName)
Adds a package or class to the list of automatically-imported classes and packages for use by annotations only.
|
void |
addDatabaseReference(java.lang.String name,
ConfigurationCommonDBRef configurationDBRef)
Add a database reference with a given database name.
|
void |
addEventType(java.lang.Class eventClass)
Add an name for an event type represented by Java-bean plain-old Java object events,
and the name is the simple class name of the class.
|
void |
addEventType(java.lang.String eventTypeName,
java.lang.Class eventClass)
Add an name for an event type represented by Java-bean plain-old Java object events.
|
void |
addEventType(java.lang.String eventTypeName,
ConfigurationCommonEventTypeXMLDOM xmlDOMEventTypeDesc)
Add an name for an event type that represents org.w3c.dom.Node events.
|
void |
addEventType(java.lang.String eventTypeName,
java.util.Map<java.lang.String,java.lang.Object> typeMap)
Add an name for an event type that represents java.util.Map events,
and for which each property may itself be a Map of further properties,
with unlimited nesting levels.
|
void |
addEventType(java.lang.String eventTypeName,
java.util.Map<java.lang.String,java.lang.Object> typeMap,
ConfigurationCommonEventTypeMap mapConfig)
Add a name for an event type that represents java.util.Map events,
and for which each property may itself be a Map of further properties,
with unlimited nesting levels.
|
void |
addEventType(java.lang.String eventTypeName,
java.util.Map<java.lang.String,java.lang.Object> typeMap,
java.lang.String[] superTypes)
Add a name for an event type that represents java.util.Map events,
and for which each property may itself be a Map of further properties,
with unlimited nesting levels.
|
void |
addEventType(java.lang.String eventTypeName,
java.util.Properties typeMap)
Add an name for an event type that represents java.util.Map events.
|
void |
addEventType(java.lang.String eventTypeName,
java.lang.String eventClassName)
Add an name for an event type represented by Java-bean plain-old Java object events.
|
void |
addEventType(java.lang.String eventTypeName,
java.lang.String[] propertyNames,
java.lang.Object[] propertyTypes)
Add an event type that represents Object-array (Object[]) events.
|
void |
addEventType(java.lang.String eventTypeName,
java.lang.String[] propertyNames,
java.lang.Object[] propertyTypes,
ConfigurationCommonEventTypeObjectArray optionalConfiguration)
Add an event type that represents Object-array (Object[]) events.
|
void |
addEventType(java.lang.String eventTypeName,
java.lang.String eventClass,
ConfigurationCommonEventTypeBean beanEventTypeDesc)
Add an name for an event type that represents bean Java type (non-JavaBean style) events.
|
void |
addEventTypeAutoName(java.lang.String packageName)
Adds a Java package name of a package that Java event classes reside in.
|
void |
addEventTypeAvro(java.lang.String eventTypeName,
ConfigurationCommonEventTypeAvro avro)
Adds an Avro event type
|
void |
addImport(java.lang.Class autoImport)
Adds a class to the list of automatically-imported classes.
|
void |
addImport(java.lang.String autoImport)
Adds a package or class to the list of automatically-imported classes and packages.
|
void |
addMapConfiguration(java.lang.String mapeventTypeName,
ConfigurationCommonEventTypeMap config)
Add configuration for a map event type.
|
void |
addMapSuperType(java.lang.String mapeventTypeName,
java.lang.String mapSupertypeName)
Add, for a given Map event type identified by the first parameter, the supertype (by its event type name).
|
void |
addMethodRef(java.lang.Class clazz,
ConfigurationCommonMethodRef methodInvocationConfig)
Adds a cache configuration for a class providing methods for use in the from-clause.
|
void |
addMethodRef(java.lang.String className,
ConfigurationCommonMethodRef methodInvocationConfig)
Adds a cache configuration for a class providing methods for use in the from-clause.
|
void |
addObjectArrayConfiguration(java.lang.String objectArrayeventTypeName,
ConfigurationCommonEventTypeObjectArray config)
Add configuration for a object array event type.
|
void |
addObjectArraySuperType(java.lang.String eventTypeName,
java.lang.String supertypeName)
Add, for a given Object-array event type identified by the first parameter, the supertype (by its event type name).
|
void |
addVariable(java.lang.String variableName,
java.lang.Class type,
java.lang.Object initializationValue)
Add a global variable.
|
void |
addVariable(java.lang.String variableName,
java.lang.Class type,
java.lang.Object initializationValue,
boolean constant)
Add variable that can be a constant.
|
void |
addVariable(java.lang.String variableName,
java.lang.String type,
java.lang.Object initializationValue)
Add a global variable.
|
void |
addVariable(java.lang.String variableName,
java.lang.String type,
java.lang.Object initializationValue,
boolean constant)
Add a global variable, allowing constants.
|
void |
addVariantStream(java.lang.String variantStreamName,
ConfigurationCommonVariantStream variantStreamConfig)
Adds a new variant stream.
|
java.util.List<java.lang.String> |
getAnnotationImports()
Returns the annotation imports
|
java.util.Map<java.lang.String,ConfigurationCommonDBRef> |
getDatabaseReferences()
Returns the database names
|
ConfigurationCommonEventTypeMeta |
getEventMeta()
Returns event representation default settings.
|
java.util.Set<java.lang.String> |
getEventTypeAutoNamePackages()
Returns a set of Java package names that Java event classes reside in.
|
java.util.Map<java.lang.String,java.lang.String> |
getEventTypeNames()
Returns the mapping of event type name to Java class name.
|
java.util.Map<java.lang.String,ConfigurationCommonEventTypeAvro> |
getEventTypesAvro()
Returns the Avro event types.
|
java.util.Map<java.lang.String,ConfigurationCommonEventTypeBean> |
getEventTypesBean()
Returns the mapping of event type name to legacy java event type information.
|
java.util.Map<java.lang.String,java.util.Properties> |
getEventTypesMapEvents()
Returns a map keyed by event type name, and values being the definition for the
Map event type of the property names and types that make up the event.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> |
getEventTypesNestableMapEvents()
Returns a map keyed by event type name, and values being the definition for the
event type of the property names and types that make up the event,
for nestable, strongly-typed Map-based event representations.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> |
getEventTypesNestableObjectArrayEvents()
Returns the object-array event types.
|
java.util.Map<java.lang.String,ConfigurationCommonEventTypeXMLDOM> |
getEventTypesXMLDOM()
Returns the mapping of event type name to XML DOM event type information.
|
ConfigurationCommonExecution |
getExecution()
Returns the execution settings.
|
java.util.List<java.lang.String> |
getImports()
Returns the imports
|
ConfigurationCommonLogging |
getLogging()
Returns logging settings applicable to common.
|
java.util.Map<java.lang.String,ConfigurationCommonEventTypeMap> |
getMapTypeConfigurations()
Returns for each Map event type name the set of supertype event type names (Map types only).
|
java.util.Map<java.lang.String,ConfigurationCommonMethodRef> |
getMethodInvocationReferences()
Returns the method-invocation-names for use in joins
|
java.util.Map<java.lang.String,ConfigurationCommonEventTypeObjectArray> |
getObjectArrayTypeConfigurations()
Returns the object-array event type configurations.
|
ConfigurationCommonTimeSource |
getTimeSource()
Returns the time source configuration.
|
java.util.Map<java.lang.String,java.lang.Object> |
getTransientConfiguration()
Returns transient configuration, i.e.
|
java.util.Map<java.lang.String,ConfigurationCommonVariable> |
getVariables()
Returns the preconfigured variables
|
java.util.Map<java.lang.String,ConfigurationCommonVariantStream> |
getVariantStreams()
Returns a map of variant stream name and variant configuration information.
|
boolean |
isEventTypeExists(java.lang.String eventTypeName)
Checks if an event type has already been registered for that name.
|
boolean |
isVariantStreamExists(java.lang.String name)
Returns true if a variant stream by the name has been declared, or false if not.
|
void |
removeImport(java.lang.String name)
Remove an import.
|
protected void |
reset()
Reset to an empty configuration.
|
void |
setTransientConfiguration(java.util.Map<java.lang.String,java.lang.Object> transientConfiguration)
Sets transient configuration, i.e.
|
public static final java.lang.String ANNOTATION_IMPORT
public static final java.lang.String DATAFLOWOPERATOR_IMPORT
protected java.util.Map<java.lang.String,java.lang.String> eventClasses
protected java.util.Map<java.lang.String,ConfigurationCommonEventTypeXMLDOM> eventTypesXMLDOM
protected java.util.Map<java.lang.String,ConfigurationCommonEventTypeAvro> eventTypesAvro
protected java.util.Map<java.lang.String,ConfigurationCommonEventTypeBean> eventTypesBean
protected java.util.Map<java.lang.String,java.util.Properties> mapNames
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> nestableMapNames
Each entrie's value must be either a Class or a Map<String,Object> to define nested maps.
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> nestableObjectArrayNames
Each entrie's value must be either a Class or a Map<String,Object> to define nested maps.
protected java.util.Map<java.lang.String,ConfigurationCommonEventTypeMap> mapTypeConfigurations
protected java.util.Map<java.lang.String,ConfigurationCommonEventTypeObjectArray> objectArrayTypeConfigurations
protected java.util.List<java.lang.String> imports
protected java.util.List<java.lang.String> annotationImports
protected java.util.Map<java.lang.String,ConfigurationCommonDBRef> databaseReferences
protected java.util.Map<java.lang.String,ConfigurationCommonVariable> variables
protected java.util.Map<java.lang.String,ConfigurationCommonMethodRef> methodInvocationReferences
protected java.util.Map<java.lang.String,ConfigurationCommonVariantStream> variantStreams
protected transient java.util.Map<java.lang.String,java.lang.Object> transientConfiguration
protected ConfigurationCommonEventTypeMeta eventMeta
protected ConfigurationCommonLogging logging
protected ConfigurationCommonTimeSource timeSource
protected ConfigurationCommonExecution execution
public ConfigurationCommon()
public boolean isEventTypeExists(java.lang.String eventTypeName)
eventTypeName
- the namepublic void addEventType(java.lang.String eventTypeName, java.lang.String eventClassName)
A given class can be associated to multiple event types, each representing a separate event stream. I.e. event type identity is by event type name and not by Java class (version 8.x and newer).
Applications should register superclasses and interfaces before registering child classes and implementations, for applications that intend to use superclasses and interfaces by a name other than the fully-qualified class name.
eventTypeName
- is the name for the event typeeventClassName
- fully-qualified class name of the event typepublic void addEventType(java.lang.String eventTypeName, java.lang.Class eventClass)
A given class can be associated to multiple event types, each representing a separate event stream. I.e. event type identity is by event type name and not by Java class (version 8.x and newer).
Applications should register superclasses and interfaces before registering child classes and implementations, for applications that intend to use superclasses and interfaces by a name other than the fully-qualified class name.
eventTypeName
- is the name for the event typeeventClass
- is the Java event class for which to add the namepublic void addEventType(java.lang.Class eventClass)
eventClass
- is the Java event class for which to add the namepublic void addEventType(java.lang.String eventTypeName, java.util.Properties typeMap)
Each entry in the type map is the property name and the fully-qualified Java class name or primitive type name.
eventTypeName
- is the name for the event typetypeMap
- maps the name of each property in the Map event to the type
(fully qualified classname) of its value in Map event instances.public void addEventType(java.lang.String eventTypeName, java.util.Map<java.lang.String,java.lang.Object> typeMap)
Each entry in the type mapping must contain the String property name as the key value, and either a Class, or a further Map<String, Object>, or the name of another previously-register Map event type (append [] for array of Map).
eventTypeName
- is the name for the event typetypeMap
- maps the name of each property in the Map event to the type
(fully qualified classname) of its value in Map event instances.public void addEventType(java.lang.String eventTypeName, java.util.Map<java.lang.String,java.lang.Object> typeMap, java.lang.String[] superTypes)
Each entry in the type mapping must contain the String property name as the key value, and either a Class, or a further Map<String, Object>, or the name of another previously-register Map event type (append [] for array of Map).
eventTypeName
- is the name for the event typetypeMap
- maps the name of each property in the Map event to the type
(fully qualified classname) of its value in Map event instances.superTypes
- is an array of event type name of further Map types that thispublic void addEventType(java.lang.String eventTypeName, java.util.Map<java.lang.String,java.lang.Object> typeMap, ConfigurationCommonEventTypeMap mapConfig)
Each entry in the type mapping must contain the String property name as the key value, and either a Class, or a further Map<String, Object>, or the name of another previously-register Map event type (append [] for array of Map).
eventTypeName
- is the name for the event typetypeMap
- maps the name of each property in the Map event to the type
(fully qualified classname) of its value in Map event instances.mapConfig
- is the Map-event type configuration that may defined super-types, timestamp-property-name etc.public void addMapSuperType(java.lang.String mapeventTypeName, java.lang.String mapSupertypeName)
Each Map event type may have any number of supertypes, each supertype must also be of a Map-type event.
mapeventTypeName
- the name of a Map event type, that is to have a supertypemapSupertypeName
- the name of a Map event type that is the supertypepublic void addObjectArraySuperType(java.lang.String eventTypeName, java.lang.String supertypeName)
Each Object array event type may have any number of supertypes, each supertype must also be of a Object-array-type event.
eventTypeName
- the name of a Map event type, that is to have a supertypesupertypeName
- the name of a Map event type that is the supertypepublic void addMapConfiguration(java.lang.String mapeventTypeName, ConfigurationCommonEventTypeMap config)
mapeventTypeName
- configuration to addconfig
- map type configurationpublic void addObjectArrayConfiguration(java.lang.String objectArrayeventTypeName, ConfigurationCommonEventTypeObjectArray config)
objectArrayeventTypeName
- configuration to addconfig
- map type configurationpublic void addEventType(java.lang.String eventTypeName, ConfigurationCommonEventTypeXMLDOM xmlDOMEventTypeDesc)
eventTypeName
- is the name for the event typexmlDOMEventTypeDesc
- descriptor containing property and mapping information for XML-DOM eventspublic void addEventType(java.lang.String eventTypeName, java.lang.String[] propertyNames, java.lang.Object[] propertyTypes)
eventTypeName
- is the name for the event typepropertyNames
- name of each property, length must match number of typespropertyTypes
- type of each property, length must match number of namesConfigurationException
- if the name is already in used for a different typepublic void addEventType(java.lang.String eventTypeName, java.lang.String[] propertyNames, java.lang.Object[] propertyTypes, ConfigurationCommonEventTypeObjectArray optionalConfiguration) throws ConfigurationException
eventTypeName
- is the name for the event typepropertyNames
- name of each property, length must match number of typespropertyTypes
- type of each property, length must match number of namesoptionalConfiguration
- object-array type configurationConfigurationException
- if the name is already in used for a different typepublic void addDatabaseReference(java.lang.String name, ConfigurationCommonDBRef configurationDBRef)
name
- is the database nameconfigurationDBRef
- descriptor containing database connection and access policy informationpublic void addEventType(java.lang.String eventTypeName, java.lang.String eventClass, ConfigurationCommonEventTypeBean beanEventTypeDesc)
A given class can be associated to multiple event types, each representing a separate event stream. I.e. event type identity is by event type name and not by Java class (version 8.x and newer).
Applications should register superclasses and interfaces before registering child classes and implementations, for applications that intend to use superclasses and interfaces by a name other than the fully-qualified class name.
eventTypeName
- is the name for the event typeeventClass
- fully-qualified class name of the event typebeanEventTypeDesc
- descriptor containing property and mapping information for Legacy Java type eventspublic void addImport(java.lang.String autoImport)
To import a single class offering a static method, simply supply the fully-qualified name of the class
and use the syntax classname.methodname(...)
To import a whole package and use the classname.methodname(...)
syntax, specify a package
with wildcard, such as com.mycompany.staticlib.*
.
autoImport
- is a fully-qualified class name or a package name with wildcardpublic void addImport(java.lang.Class autoImport)
Use #addImport(String) to import a package.
autoImport
- is a class to importpublic void addAnnotationImport(java.lang.String importName)
importName
- import such as package name, class name, or package with ".*".ConfigurationException
- if incorrect package or class names are encounteredpublic void addAnnotationImport(java.lang.Class autoImport)
autoImport
- class to addpublic void removeImport(java.lang.String name)
name
- to removepublic void addMethodRef(java.lang.String className, ConfigurationCommonMethodRef methodInvocationConfig)
className
- is the class name (simple or fully-qualified) providing methodsmethodInvocationConfig
- is the cache configurationpublic void addMethodRef(java.lang.Class clazz, ConfigurationCommonMethodRef methodInvocationConfig)
clazz
- is the class providing methodsmethodInvocationConfig
- is the cache configurationpublic java.util.Map<java.lang.String,java.lang.String> getEventTypeNames()
public java.util.Map<java.lang.String,java.util.Properties> getEventTypesMapEvents()
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> getEventTypesNestableMapEvents()
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> getEventTypesNestableObjectArrayEvents()
public java.util.Map<java.lang.String,ConfigurationCommonEventTypeXMLDOM> getEventTypesXMLDOM()
public java.util.Map<java.lang.String,ConfigurationCommonEventTypeAvro> getEventTypesAvro()
public java.util.Map<java.lang.String,ConfigurationCommonEventTypeBean> getEventTypesBean()
public java.util.List<java.lang.String> getImports()
public java.util.List<java.lang.String> getAnnotationImports()
public java.util.Map<java.lang.String,ConfigurationCommonDBRef> getDatabaseReferences()
public java.util.Map<java.lang.String,ConfigurationCommonEventTypeObjectArray> getObjectArrayTypeConfigurations()
public java.util.Map<java.lang.String,ConfigurationCommonVariable> getVariables()
public java.util.Map<java.lang.String,ConfigurationCommonMethodRef> getMethodInvocationReferences()
public java.util.Map<java.lang.String,ConfigurationCommonEventTypeMap> getMapTypeConfigurations()
public void addVariable(java.lang.String variableName, java.lang.Class type, java.lang.Object initializationValue)
Use the runtime API to set variable values or EPL statements to change variable values.
variableName
- name of the variable to addtype
- the type name of the variable, must be a primitive or boxed Java-builtin scalar type or "object" for any
value or an event type name or a class name or fully-qualified class name. Append "[]" for array.initializationValue
- is the first assigned value.
For static initialization the value can be string-typed and will be parsed.
For static initialization the initialization value, if provided, must implement Serializable
or Externalizable
.ConfigurationException
- if the type and initialization value don't match or the variable name
is already in usepublic void addVariable(java.lang.String variableName, java.lang.Class type, java.lang.Object initializationValue, boolean constant)
variableName
- name of variabletype
- variable typeinitializationValue
- initial valueconstant
- constant indicatorpublic void addVariable(java.lang.String variableName, java.lang.String type, java.lang.Object initializationValue)
Use the runtime API to set variable values or EPL statements to change variable values.
variableName
- name of the variable to addtype
- the type name of the variable, must be a primitive or boxed Java-builtin scalar type or "object" for any
value or an event type name or a class name or fully-qualified class name. Append "[]" for array.initializationValue
- is the first assigned value
The value can be string-typed and will be parsed.
For static initialization the initialization value, if provided, must implement Serializable
or Externalizable
.ConfigurationException
- if the type and initialization value don't match or the variable name
is already in usepublic void addVariable(java.lang.String variableName, java.lang.String type, java.lang.Object initializationValue, boolean constant)
Use the runtime API to set variable values or EPL statements to change variable values.
variableName
- name of the variable to addtype
- the type name of the variable, must be a primitive or boxed Java-builtin scalar type or "object" for any
value or an event type name or a class name or fully-qualified class name. Append "[]" for array.initializationValue
- is the first assigned value
For static initialization the value can be string-typed and will be parsed.
For static initialization the initialization value, if provided, must implement Serializable
or Externalizable
.constant
- true to identify the variable as a constantConfigurationException
- if the type and initialization value don't match or the variable name
is already in usepublic void addVariantStream(java.lang.String variantStreamName, ConfigurationCommonVariantStream variantStreamConfig)
variantStreamName
- is the name of the variant streamvariantStreamConfig
- the configuration such as variant type names and any-type settingpublic java.util.Map<java.lang.String,ConfigurationCommonVariantStream> getVariantStreams()
public boolean isVariantStreamExists(java.lang.String name)
name
- of variant streampublic void addEventTypeAvro(java.lang.String eventTypeName, ConfigurationCommonEventTypeAvro avro)
eventTypeName
- type nameavro
- configspublic java.util.Map<java.lang.String,java.lang.Object> getTransientConfiguration()
public void setTransientConfiguration(java.util.Map<java.lang.String,java.lang.Object> transientConfiguration)
transientConfiguration
- map of transientspublic ConfigurationCommonEventTypeMeta getEventMeta()
public ConfigurationCommonTimeSource getTimeSource()
protected void reset()
public ConfigurationCommonLogging getLogging()
public ConfigurationCommonExecution getExecution()
public void addEventTypeAutoName(java.lang.String packageName)
This setting allows an application to place all it's events into one or more Java packages and then declare these packages via this method. The runtime attempts to resolve an event type name to a Java class residing in each declared package.
For example, in the statement "select * from MyEvent" the runtime attempts to load class "javaPackageName.MyEvent" and if successful, uses that class as the event type.
packageName
- is the fully-qualified Java package name of the Java package that event classes reside inpublic java.util.Set<java.lang.String> getEventTypeAutoNamePackages()
This setting allows an application to place all it's events into one or more Java packages and then declare these packages via this method. The runtime attempts to resolve an event type name to a Java class residing in each declared package.
For example, in the statement "select * from MyEvent" the runtime attempts to load class "javaPackageName.MyEvent" and if successful, uses that class as the event type.