This appendix provides a reference to the elements of the deployment.xsd schema, the schema behind the XML with which you configure Oracle Event Processing application deployment.
This appendix includes the following sections:
Oracle Event Processing provides a number of application assembly elements that you use in the EPN assembly file of your application to register event types, declare the components of the event processing network and specify how they are linked together. The EPN assembly file is an extension of the standard Spring context file.
The Oracle Event Processing component configuration elements are organized into the following hierarchy:
beans
Standard Spring and OSGi elements such as bean, osgi-service, and so on.
The following sample deployment configuration file from the fx application shows how to use many of the Oracle Event Processing elements:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wlevs="http://www.bea.com/ns/wlevs/deployment" xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.bea.com/ns/wlevs/deployment
http://www.bea.com/ns/wlevs/deployment/deployment.xsd">
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE"/>
</bean>
<wlevs:deployment
id="fx"
state="start"
location="file:${wlevs.domain.home}/applications/fx/com.bea.wlevs.example.fx_11.1.0.0.jar"/>
</beans>
Use this element to declare an adapter component to the Spring application context.
Table E-1 lists the attributes of the wlevs:deployment deployment element.
Table E-1 Attributes of the wlevs:deployment Deployment Element
| Attribute | Description | Data Type | Required? |
|---|---|---|---|
|
|
Unique identifier for this deployed application. |
|
Yes. |
|
|
The names of the beans that this deployment bean depends on being initialized. The bean factory will guarantee that these beans get initialized before this bean. |
|
Yes. |
|
|
URL that specifies the location of the bundle that is to be deployed. If a relative URL is specified then the location is relative the For example: location="file:applications/simpleApp/simpleApp.jar" Specifies that the bundle |
|
No. |
|
|
Specifies the state that the bundle should be in once it is deployed to the Oracle Event Processing server. The value of this attribute must be one of the following:
Default value: |
|
No. |
The following example shows how to use the wlevs:deployment element in the deployment file:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wlevs="http://www.bea.com/ns/wlevs/deployment" xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.bea.com/ns/wlevs/deployment
http://www.bea.com/ns/wlevs/deployment/deployment.xsd">
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE"/>
</bean>
<wlevs:deployment
id="fx"
state="start"
location="file:${wlevs.domain.home}/applications/fx/com.bea.wlevs.example.fx_11.1.0.0.jar"/>
</beans>