This appendix provides a reference to the elements of the deployment.xsd
schema. The deployment.xsd
schema is behind the XML with which you configure Oracle Stream Analytics application deployment.
See Developing Applications for Event Processing with Oracle Stream Analytics for information about how to use the elements described in this chapter.
This appendix includes the following sections:
Oracle Stream Analytics 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 to the standard Spring context file.
The Oracle Stream Analytics component configuration elements are organized into the following hierarchy:
beans Standard Spring and OSGi elements such as bean, osgi-service, and so on.
Use this element to declare an adapter component to the Spring application context. This element has no child elements and the following attributes.
Table 6-1 Attributes of the wlevs:deployment Deployment Element
|
This is 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>