Primer commit

parent 7de4f458
Pipeline #65 failed with stages
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/sharedlibsTomcat"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/activation-1.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-beanutils-1.7.0.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-chain-1.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-codec-1.6.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-collections-3.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-configuration-1.6.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-dbcp-1.4.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-digester-1.8.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-discovery-0.2.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-fileupload-1.1.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-httpclient-3.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-io-1.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-lang-2.3.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-lang3-3.2.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-logging-1.1.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-pool-1.4.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/commons-validator-1.3.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/dom4j-1.6.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/ezmorph.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/httpclient-4.2.3.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/httpcore-4.2.3.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/httpcore-nio-4.2.3.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/jackson-all-1.9.11.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/javax.servlet-3.0.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/json-lib-2.2.2-jdk15.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/log4j-1.2.16.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/mail-1.4.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/neethi-3.0.2.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/ojdbc6.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.aop-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.asm-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.aspects-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.beans-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.context.support-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.context-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.core-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.expression-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.jdbc-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.transaction-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.web.servlet-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/org.springframework.web-3.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/poi-3.9-20121203.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/poi-examples-3.9-20121203.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/poi-excelant-3.9-20121203.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/poi-ooxml-3.9-20121203.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/poi-ooxml-schemas-3.9-20121203.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/poi-scratchpad-3.9-20121203.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/quartz-1.8.5.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/slf4j-api-1.7.5.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/spring-ws-1.5.6-all.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/spring-ws-core-2.1.2.RELEASE.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/spring-xml-1.5.6.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/stax2-api-3.1.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/wsdl4j-1.6.3.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/wss4j-1.6.11.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/xercesImpl-2.8.1.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/xml-apis-1.3.04.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/xmlbeans-2.6.0.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/xmlschema-core-2.0.3.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/xmlsec-1.4.3.jar"/>
<classpathentry kind="lib" path="C:/apache-tomcat-9.0.4/sharedlibs/xom-1.1.jar"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>DDA_CRN_Exhibicion</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
<?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:jee="http://www.springframework.org/schema/jee"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/jee
http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<context:component-scan base-package="mx.com.amx.mx.dda.crn"/>
<mvc:annotation-driven/>
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location">
<value>classpath:general.properties</value>
</property>
</bean>
<bean class="org.springframework.web.servlet.view.ContentNegotiatingViewResolver">
<property name="order" value="1" />
<property name="mediaTypes">
<map>
<entry key="json" value="application/json"/>
<entry key="html" value="text/html"/>
</map>
</property>
<property name="defaultViews">
<list>
<bean class="org.springframework.web.servlet.view.json.MappingJacksonJsonView">
<property name="prefixJson" value="true"/>
<property name="contentType" value="application/json;charset=UTF-8"/>
</bean>
</list>
</property>
<property name="ignoreAcceptHeader" value="true" />
</bean>
<bean id="jaxbMarshallerBean" class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
<property name="classesToBeBound">
<list>
<value>com.americamovil.dda._1.f.enviacontenido.DTContenido</value>
<value>com.americamovil.dda._1.f.enviacontenido.DTContenidoRes</value>
<value>com.americamovil.dda._1.f.enviaactivofijo.DTActivoFijo</value>
<value>com.americamovil.dda._1.f.enviaactivofijo.DTActivoFijoRes</value>
<value>com.americamovil.dda._1.f.enviaactivofijo.DTTituloMismoValor</value>
</list>
</property>
<property name="marshallerProperties">
<map>
<entry key="jaxb.encoding">
<value>UTF-8</value>
</entry>
</map>
</property>
</bean>
<bean id="messageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory"/>
<!-- WS Notificacion Activo Fijo SAP -->
<bean id="wsNotificaAFijoSAP" class="org.springframework.ws.client.core.WebServiceTemplate">
<constructor-arg ref="messageFactory"/>
<property name="marshaller" ref="jaxbMarshallerBean" />
<property name="unmarshaller" ref="jaxbMarshallerBean" />
<property name="messageSender">
<bean class="org.springframework.ws.transport.http.CommonsHttpMessageSender">
<property name="credentials">
<bean class="org.apache.commons.httpclient.UsernamePasswordCredentials">
<constructor-arg value="${sap.services.credenciales}"/>
</bean>
</property>
<property name="connectionTimeout" value="300000" />
<property name="readTimeout" value="300000" />
</bean>
</property>
</bean>
<!-- BO -->
<bean id="ddaexhibicionBO" class="mx.com.amx.mx.dda.crn.bo.DDAExhibicionBO">
<property name="dao" ref="ddaexhibicionDAO" />
</bean>
<!--DAO -->
<bean id="ddaexhibicionDAO" class="mx.com.amx.mx.dda.crn.dao.DDAExhibicionDAO">
<property name="jdbcTemplate" ref="jdbcTemplate" />
</bean>
<!-- JNDI -->
<jee:jndi-lookup id="dsDDA" jndi-name="${database.jndi}" cache="true" expected-type="javax.sql.DataSource" />
<bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
<property name="dataSource" ref="dsDDA" />
</bean>
<!-- CRN -->
<bean id="exhibicion_DDA" class="mx.com.amx.mx.dda.crn.DDAExhibicion" >
<property name="bo" ref="ddaexhibicionBO" />
</bean>
<bean id="cronExhibicion_DDA"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"
p:concurrent="false"
p:targetObject-ref="exhibicion_DDA"
p:targetMethod="ejecutaProceso">
</bean>
<bean id="triggerExhibicion_DDA" class="org.springframework.scheduling.quartz.CronTriggerBean"
p:jobDetail-ref="cronExhibicion_DDA"
p:startDelay="1000"
p:cronExpression="0 0 4,5,6,7 * * ? *">
<!-- Seconds Minutes Hours Day-Month Month Day-Week Year -->
<!-- LOCAL p:cronExpression="0 */2 * * * ? *" > c2min -->
<!-- DEV p:cronExpression="0 15 2 * * ? *" > 2:15am -->
<!-- QA p:cronExpression="0 0 12,14,16,18 * * ? *" > 12pm, 2p, 4pm, 6pm -->
<!-- PRD p:cronExpression="0 30 5 * * ? *" >"0 0 4,5,6,7 * * ? *"> 5am -->
</bean>
<bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"
p:waitForJobsToCompleteOnShutdown="true" >
<property name="triggers">
<list>
<ref bean="triggerExhibicion_DDA" />
</list>
</property>
</bean>
<!-- log4j setting -->
<bean id="log4jInitialization" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetClass" value="org.springframework.util.Log4jConfigurer" />
<property name="targetMethod" value="initLogging" />
<property name="arguments">
<list>
<value>${log4j.properties.location}</value>
</list>
</property>
</bean>
</beans>
# DDA_CRN_CargaTransacVisual
Cron para carga de transacciones y visualizaciones
Manifest-Version: 1.0
Class-Path:
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/DDA_CRN_CargaTransacVisual"/>
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
<display-name>DDA_CRN_CargaAddOns</display-name>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath*:ApplicationContext*.xml</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>service</servlet-name>
<servlet-class>mx.com.mx.dda.msjb.service</servlet-class>
</servlet>
<!-- Standard Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>service</servlet-name>
<url-pattern>/service</url-pattern>
</servlet-mapping>
</web-app>
\ No newline at end of file
<h3>DDA_CRN_Exhibicion</h3>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See commented blocks below for -->
<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<!-- By default, only the Clean and Build commands use this build script. -->
<!-- Commands such as Run, Debug, and Test only use this build script if -->
<!-- the Compile on Save feature is turned off for the project. -->
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
<!-- in the project's Project Properties dialog box.-->
<project name="DDA_CRN_CargaTransacVisual" default="default" basedir=".">
<description>Builds, tests, and runs the project DDA_CRN_CargaTransacVisual.</description>
<import file="nbproject/build-impl.xml"/>
<!--
There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. They are:
-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
-pre-compile: called before javac compilation
-post-compile: called after javac compilation
-pre-compile-single: called before javac compilation of single file
-post-compile-single: called after javac compilation of single file
-pre-compile-test: called before javac compilation of JUnit tests
-post-compile-test: called after javac compilation of JUnit tests
-pre-compile-test-single: called before javac compilation of single JUnit test
-post-compile-test-single: called after javac compilation of single JUunit test
-pre-dist: called before archive building
-post-dist: called after archive building
-post-clean: called after cleaning build products
-pre-run-deploy: called before deploying
-post-run-deploy: called after deploying
Example of pluging an obfuscator after the compilation could look like
<target name="-post-compile">
<obfuscate>
<fileset dir="${build.classes.dir}"/>
</obfuscate>
</target>
For list of available properties check the imported
nbproject/build-impl.xml file.
Other way how to customize the build is by overriding existing main targets.
The target of interest are:
init-macrodef-javac: defines macro for javac compilation
init-macrodef-junit: defines macro for junit execution
init-macrodef-debug: defines macro for class debugging
do-dist: archive building
run: execution of project
javadoc-build: javadoc generation
Example of overriding the target for project execution could look like
<target name="run" depends="<PROJNAME>-impl.jar">
<exec dir="bin" executable="launcher.exe">
<arg file="${dist.jar}"/>
</exec>
</target>
Notice that overridden target depends on jar target and not only on
compile target as regular run target does. Again, for list of available
properties which you can use check the target you are overriding in
nbproject/build-impl.xml file.
-->
</project>
Manifest-Version: 1.0
Class-Path:
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/DDA_CRN_CargaTransacVisual"/>
<?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:jee="http://www.springframework.org/schema/jee"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/jee
http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<context:component-scan base-package="mx.com.amx.mx.dda.crn"/>
<mvc:annotation-driven/>
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location">
<value>classpath:general.properties</value>
</property>
</bean>
<bean class="org.springframework.web.servlet.view.ContentNegotiatingViewResolver">
<property name="order" value="1" />
<property name="mediaTypes">
<map>
<entry key="json" value="application/json"/>
<entry key="html" value="text/html"/>
</map>
</property>
<property name="defaultViews">
<list>
<bean class="org.springframework.web.servlet.view.json.MappingJacksonJsonView">
<property name="prefixJson" value="true"/>
<property name="contentType" value="application/json;charset=UTF-8"/>
</bean>
</list>
</property>
<property name="ignoreAcceptHeader" value="true" />
</bean>
<bean id="jaxbMarshallerBean" class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
<property name="classesToBeBound">
<list>
<value>com.americamovil.dda._1.f.enviacontenido.DTContenido</value>
<value>com.americamovil.dda._1.f.enviacontenido.DTContenidoRes</value>
<value>com.americamovil.dda._1.f.enviaactivofijo.DTActivoFijo</value>
<value>com.americamovil.dda._1.f.enviaactivofijo.DTActivoFijoRes</value>
<value>com.americamovil.dda._1.f.enviaactivofijo.DTTituloMismoValor</value>
</list>
</property>
<property name="marshallerProperties">
<map>
<entry key="jaxb.encoding">
<value>UTF-8</value>
</entry>
</map>
</property>
</bean>
<bean id="messageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory"/>
<!-- WS Notificacion Activo Fijo SAP -->
<bean id="wsNotificaAFijoSAP" class="org.springframework.ws.client.core.WebServiceTemplate">
<constructor-arg ref="messageFactory"/>
<property name="marshaller" ref="jaxbMarshallerBean" />
<property name="unmarshaller" ref="jaxbMarshallerBean" />
<property name="messageSender">
<bean class="org.springframework.ws.transport.http.CommonsHttpMessageSender">
<property name="credentials">
<bean class="org.apache.commons.httpclient.UsernamePasswordCredentials">
<constructor-arg value="${sap.services.credenciales}"/>
</bean>
</property>
<property name="connectionTimeout" value="300000" />
<property name="readTimeout" value="300000" />
</bean>
</property>
</bean>
<!-- BO -->
<bean id="ddaexhibicionBO" class="mx.com.amx.mx.dda.crn.bo.DDACargaTransacVisualBO">
<property name="dao" ref="ddaexhibicionDAO" />
</bean>
<!--DAO -->
<bean id="ddaexhibicionDAO" class="mx.com.amx.mx.dda.crn.dao.DDACargaTransacVisualDAO">
<property name="jdbcTemplate" ref="jdbcTemplate" />
</bean>
<!-- JNDI -->
<jee:jndi-lookup id="dsDDA" jndi-name="${database.jndi}" cache="true" expected-type="javax.sql.DataSource" />
<bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
<property name="dataSource" ref="dsDDA" />
</bean>
<!-- CRN -->
<bean id="exhibicion_DDA" class="mx.com.amx.mx.dda.crn.DDACargaTransacVisual" >
<property name="bo" ref="ddaexhibicionBO" />
</bean>
<bean id="cronExhibicion_DDA"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"
p:concurrent="false"
p:targetObject-ref="exhibicion_DDA"
p:targetMethod="ejecutaProceso">
</bean>
<bean id="triggerExhibicion_DDA" class="org.springframework.scheduling.quartz.CronTriggerBean"
p:jobDetail-ref="cronExhibicion_DDA"
p:startDelay="1000"
p:cronExpression="0 25 13 * * ? *">
<!--0 15 1 1 * ? 1:15 del dia 1 de cada mes
p:cronExpression="0 5 19 * * ? *">
0 55 15 ? * * * 15:55
p:cronExpression="0 0 4,5,6,7 * * ? *" -->
<!-- Seconds Minutes Hours Day-Month Month Day-Week Year -->
<!-- LOCAL p:cronExpression="0 */2 * * * ? *" > c2min -->
<!-- DEV p:cronExpression="0 15 2 * * ? *" > 2:15am -->
<!-- QA p:cronExpression="0 0 12,14,16,18 * * ? *" > 12pm, 2p, 4pm, 6pm -->
<!-- PRD p:cronExpression="0 30 5 * * ? *" >"0 0 4,5,6,7 * * ? *"> 5am -->
</bean>
<bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"
p:waitForJobsToCompleteOnShutdown="true" >
<property name="triggers">
<list>
<ref bean="triggerExhibicion_DDA" />
</list>
</property>
</bean>
<!-- log4j setting -->
<bean id="log4jInitialization" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetClass" value="org.springframework.util.Log4jConfigurer" />
<property name="targetMethod" value="initLogging" />
<property name="arguments">
<list>
<value>${log4j.properties.location}</value>
</list>
</property>
</bean>
</beans>
#-----------------------------------------------
# Ambiente local/desarrollo/preprod/produccion
#-----------------------------------------------
ambiente=preprod
#-----------------------------------------------
# Variables Generales
#-----------------------------------------------
database.jndi=${${ambiente}.database.jndi}
log4j.properties.location=${${ambiente}.log4j.properties.location}
sap.services.credenciales=${${ambiente}.sap.services.credenciales}
#-----------------------------------------------
# Propiedades Produccion
#-----------------------------------------------
produccion.database.jndi=jdbc/DBDLA
produccion.log4j.properties.location=classpath:log4j.prod.properties
#produccion.servidor.sap.ws =10.94.182.93
produccion.servidor.sap.ws =amcopocipr-1.amxcontenido.local
produccion.puerto.sap.ws =50000
#produccion.sap.services.credenciales=EXDDA001:4Mxdd4&P1
produccion.sap.services.credenciales=ZAMC_DDA:FJ12y$.43
produccion.clientws.interface.i10=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_PRD&receiverParty=&receiverService=&interface=SI_ActivoFijo_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaActivoFijo
produccion.clientws.interface.i12=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_PRD&receiverParty=&receiverService=&interface=SI_Contenido_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaContenido
produccion.centro.costo=0908A05000
#-----------------------------------------------
# Propiedades Preproduccion
#-----------------------------------------------
preprod.database.jndi=jdbc/DBDLA
preprod.log4j.properties.location=classpath:log4j.pre.properties
#preprod.servidor.sap.ws =10.94.182.80
preprod.servidor.sap.ws =amcopociqa-1.amxcontenido.local
preprod.puerto.sap.ws =50000
#preprod.sap.services.credenciales=EXDDA001:4Mxdd4&P1
preprod.sap.services.credenciales=ZAMC_DDA:FJ12y$.43
preprod.clientws.interface.i10=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_QA&receiverParty=&receiverService=&interface=SI_ActivoFijo_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaActivoFijo
preprod.clientws.interface.i12=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_QA&receiverParty=&receiverService=&interface=SI_Contenido_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaContenido
preprod.centro.costo=0908A05000
#-----------------------------------------------
# Propiedades Desarrollo
#-----------------------------------------------
desarrollo.database.jndi=jdbc/DBDLA
desarrollo.log4j.properties.location=classpath:log4j.dev.properties
#desarrollo.servidor.sap.ws =10.94.135.247
desarrollo.servidor.sap.ws =amcoPOCIQA-1.amxcontenido.local
desarrollo.puerto.sap.ws =50000
#desarrollo.sap.services.credenciales=EXDDA001:4Mxdd4&P1
desarrollo.sap.services.credenciales=ZAMC_DDA:FJ12y$.43
desarrollo.clientws.interface.i10=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_DEV&receiverPaty=&receiverService=&interface=SI_ActivoFijo_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaActivoFijo
desarrollo.clientws.interface.i12=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_DEV&receiverParty=&receiverService=&interface=SI_Contenido_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaContenido
desarrollo.centro.costo=0908A05000
#-----------------------------------------------
# Propiedades Local
#-----------------------------------------------
local.database.jndi=jdbc/DBDLA
local.log4j.properties.location=classpath:log4j.local.properties
local.servidor.sap.ws =10.94.135.247
local.puerto.sap.ws =50000
local.sap.services.credenciales=EXDDA001:4Mxdd4&P1
local.clientws.interface.i10=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_DEV&receiverPaty=&receiverService=&interface=SI_ActivoFijo_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaActivoFijo
local.clientws.interface.i12=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_DEV&receiverPaty=&receiverService=&interface=SI_Contenido_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaContenido
local.centro.costo=0908A05000
#-----------------------------------------------
# Mensajes de errores
#-----------------------------------------------
error.comunicacion.sap=Error al comunicarse con SAP
error.interno.sap=Error interno de SAP
error.proceso=Error en proceso
error.registro.sap=Error de registro en SAP
error.registro.incompleto=Registro de titulos incompleto en SAP
#-----------------------------------------------
# Parametros
#-----------------------------------------------
valor.referencia=DDA_SAP_DIA_NOTIFICACION
puede.ejecutar=DDA_PUEDE_EJECUTAR
notificacion.iniciado=DDA_NOTIFICACION_INICIADO
modulo=NOTIFICACION
subnumero=0000
#-----------------------------------------------
# Estatus del Contrato
#-----------------------------------------------
estatus.vigente=5
#-- Valores: Alguna fecha dd/mm/yyyy/VACIO
#fecha.test=01/05/2016
fecha.test=VACIO
\ No newline at end of file
log4j.rootCategory=ALL, LOGFILE
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_CRON_TRANSAC.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH:mm:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=30
\ No newline at end of file
#log4j.rootCategory=ALL, CONSOLE, LOGFILE
log4j.rootCategory=DEBUG, CONSOLE, LOGFILE
# CONSOLE is set to be a ConsoleAppender using a PatternLayout.
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
#log4j.appender.CONSOLE.Threshold=debug
log4j.appender.CONSOLE.Threshold=DEBUG
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%-5p %c %x[%L] - %m%n
# LOGFILE is set to be a File appender using a PatternLayout.
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_CRON_TRANSAC.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.Threshold=ALL
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH\:mm\:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=20
\ No newline at end of file
log4j.rootCategory=DEBUG, LOGFILE
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_CRON_TRANSAC.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH:mm:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=30
\ No newline at end of file
log4j.rootCategory=INFO, LOGFILE
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_CRON_TRANSAC.log
#log4j.appender.LOGFILE.File=C:\\logs\\mx\\dda\\ws\\DDA_WS_CRN_E.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH:mm:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=30
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
<display-name>DDA_CRN_CargaAddOns</display-name>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath*:ApplicationContext*.xml</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>service</servlet-name>
<servlet-class>mx.com.mx.dda.msjb.service</servlet-class>
</servlet>
<!-- Standard Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>service</servlet-name>
<url-pattern>/service</url-pattern>
</servlet-mapping>
</web-app>
\ No newline at end of file
<h3>DDA_CRN_Exhibicion</h3>
\ No newline at end of file
File added
libs.CopyLibs.classpath=\
${base}/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar
libs.CopyLibs.displayName=CopyLibs Task
libs.CopyLibs.prop-version=2.0
libs.javaee-api-6.0.classpath=\
${base}/javaee-api-6.0/javaee-api-6.0.jar
libs.javaee-api-6.0.displayName=Java EE 6 API Library
libs.javaee-api-6.0.prop-maven-dependencies=javax:javaee-api:6.0:jar
libs.javaee-endorsed-api-6.0.classpath=\
${base}/javaee-endorsed-api-6.0/javax.annotation.jar;\
${base}/javaee-endorsed-api-6.0/jaxb-api-osgi.jar;\
${base}/javaee-endorsed-api-6.0/webservices-api-osgi.jar
libs.javaee-endorsed-api-6.0.displayName=Java EE 6 Endorsed API Library
libs.javaee-endorsed-api-6.0.javadoc=\
${base}/javaee-endorsed-api-6.0/javaee-doc-api.jar
File added
File added
<?xml version="1.0" encoding="UTF-8"?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) 2011, 2016 Oracle and/or its affiliates. All rights reserved.
Oracle and Java are registered trademarks of Oracle and/or its affiliates.
Other names may be trademarks of their respective owners.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common
Development and Distribution License("CDDL") (collectively, the
"License"). You may not use this file except in compliance with the
License. You can obtain a copy of the License at
http://www.netbeans.org/cddl-gplv2.html
or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
specific language governing permissions and limitations under the
License. When distributing the software, include this License Header
Notice in each file and include the License file at
nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
particular file as subject to the "Classpath" exception as provided
by Oracle in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the
License Header, with the fields enclosed by brackets [] replaced by
your own identifying information:
"Portions Copyrighted [year] [name of copyright owner]"
If you wish your version of this file to be governed by only the CDDL
or only the GPL Version 2, indicate your decision by adding
"[Contributor] elects to include this software in this distribution
under the [CDDL or GPL Version 2] license." If you do not indicate a
single choice of license, a recipient has the option to distribute
your version of this file under either the CDDL, the GPL Version 2 or
to extend the choice of license to its licensees as provided above.
However, if you add GPL Version 2 code and therefore, elected the GPL
Version 2 license, then the option applies only if the new code is
made subject to such option by the copyright holder.
Contributor(s):
-->
<project default="-deploy-ant" basedir=".">
<target name="-init" if="deploy.ant.enabled">
<property file="${deploy.ant.properties.file}"/>
<tempfile property="temp.module.folder" prefix="tomcat" destdir="${java.io.tmpdir}"/>
<unwar src="${deploy.ant.archive}" dest="${temp.module.folder}">
<patternset includes="META-INF/context.xml"/>
</unwar>
<xmlproperty file="${temp.module.folder}/META-INF/context.xml"/>
<delete dir="${temp.module.folder}"/>
</target>
<target name="-check-credentials" if="deploy.ant.enabled" depends="-init">
<fail message="Tomcat password has to be passed as tomcat.password property.">
<condition>
<not>
<isset property="tomcat.password"/>
</not>
</condition>
</fail>
</target>
<target name="-deploy-ant" if="deploy.ant.enabled" depends="-init,-check-credentials">
<echo message="Deploying ${deploy.ant.archive} to ${Context(path)}"/>
<taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask">
<classpath>
<pathelement path="${tomcat.home}/lib/catalina-ant.jar"/>
<pathelement path="${tomcat.home}/lib/tomcat-coyote.jar"/>
<pathelement path="${tomcat.home}/lib/tomcat-util.jar"/>
<pathelement path="${tomcat.home}/bin/tomcat-juli.jar"/>
</classpath>
</taskdef>
<deploy url="${tomcat.url}/manager/text" username="${tomcat.username}"
password="${tomcat.password}" path="${Context(path)}"
war="${deploy.ant.archive}"/>
<property name="deploy.ant.client.url" value="${tomcat.url}${Context(path)}"/>
</target>
<target name="-undeploy-ant" if="deploy.ant.enabled" depends="-init,-check-credentials">
<echo message="Undeploying ${Context(path)}"/>
<taskdef name="undeploy" classname="org.apache.catalina.ant.UndeployTask">
<classpath>
<pathelement path="${tomcat.home}/lib/catalina-ant.jar"/>
<pathelement path="${tomcat.home}/lib/tomcat-coyote.jar"/>
<pathelement path="${tomcat.home}/lib/tomcat-util.jar"/>
<pathelement path="${tomcat.home}/bin/tomcat-juli.jar"/>
</classpath>
</taskdef>
<undeploy url="${tomcat.url}/manager/text" username="${tomcat.username}"
password="${tomcat.password}" path="${Context(path)}"/>
</target>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<!--
*** GENERATED FROM project.xml - DO NOT EDIT ***
*** EDIT ../build.xml INSTEAD ***
For the purpose of easier reading the script
is divided into following sections:
- initialization
- compilation
- dist
- execution
- debugging
- javadoc
- test compilation
- test execution
- test debugging
- cleanup
-->
<project xmlns:webproject1="http://www.netbeans.org/ns/web-project/1" xmlns:webproject2="http://www.netbeans.org/ns/web-project/2" xmlns:webproject3="http://www.netbeans.org/ns/web-project/3" basedir=".." default="default" name="DDA_CRN_CargaTransacVisual-impl">
<import file="ant-deploy.xml"/>
<fail message="Please build using Ant 1.7.1 or higher.">
<condition>
<not>
<antversion atleast="1.7.1"/>
</not>
</condition>
</fail>
<target depends="dist,javadoc" description="Build whole project." name="default"/>
<!--
INITIALIZATION SECTION
-->
<target name="-pre-init">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="-pre-init" name="-init-private">
<property file="nbproject/private/private.properties"/>
</target>
<target name="-pre-init-libraries">
<property location=".\lib\nblibraries.properties" name="libraries.path"/>
<dirname file="${libraries.path}" property="libraries.dir.nativedirsep"/>
<pathconvert dirsep="/" property="libraries.dir">
<path path="${libraries.dir.nativedirsep}"/>
</pathconvert>
<basename file="${libraries.path}" property="libraries.basename" suffix=".properties"/>
<available file="${libraries.dir}/${libraries.basename}-private.properties" property="private.properties.available"/>
</target>
<target depends="-pre-init-libraries" if="private.properties.available" name="-init-private-libraries">
<loadproperties encoding="ISO-8859-1" srcfile="${libraries.dir}/${libraries.basename}-private.properties">
<filterchain>
<replacestring from="$${base}" to="${libraries.dir}"/>
<escapeunicode/>
</filterchain>
</loadproperties>
</target>
<target depends="-pre-init,-init-private,-init-private-libraries" name="-init-libraries">
<loadproperties encoding="ISO-8859-1" srcfile="${libraries.path}">
<filterchain>
<replacestring from="$${base}" to="${libraries.dir}"/>
<escapeunicode/>
</filterchain>
</loadproperties>
</target>
<target depends="-pre-init,-init-private,-init-libraries" name="-init-user">
<property file="${user.properties.file}"/>
<!-- The two properties below are usually overridden -->
<!-- by the active platform. Just a fallback. -->
<property name="default.javac.source" value="1.4"/>
<property name="default.javac.target" value="1.4"/>
</target>
<target depends="-pre-init,-init-private,-init-libraries,-init-user" name="-init-project">
<property file="nbproject/project.properties"/>
</target>
<target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" if="dist.ear.dir" name="-do-ear-init"/>
<target depends="-pre-init,-init-private,-init-libraries,-init-user,-init-project,-init-macrodef-property" name="-do-init">
<condition property="have.tests">
<or/>
</condition>
<condition property="have.sources">
<or>
<available file="${src.resources.dir}"/>
<available file="${src.dir}"/>
</or>
</condition>
<condition property="netbeans.home+have.tests">
<and>
<isset property="netbeans.home"/>
<isset property="have.tests"/>
</and>
</condition>
<condition property="no.javadoc.preview">
<isfalse value="${javadoc.preview}"/>
</condition>
<property name="javac.compilerargs" value=""/>
<condition property="no.deps">
<and>
<istrue value="${no.dependencies}"/>
</and>
</condition>
<condition property="no.dist.ear.dir">
<not>
<isset property="dist.ear.dir"/>
</not>
</condition>
<property name="build.web.excludes" value="${build.classes.excludes}"/>
<condition property="do.compile.jsps">
<istrue value="${compile.jsps}"/>
</condition>
<condition property="do.debug.server">
<or>
<not>
<isset property="debug.server"/>
</not>
<istrue value="${debug.server}"/>
<and>
<not>
<istrue value="${debug.server}"/>
</not>
<not>
<istrue value="${debug.client}"/>
</not>
</and>
</or>
</condition>
<condition property="do.debug.client">
<istrue value="${debug.client}"/>
</condition>
<condition property="do.display.browser">
<istrue value="${display.browser}"/>
</condition>
<condition property="do.display.browser.debug.old">
<and>
<isset property="do.display.browser"/>
<not>
<isset property="do.debug.client"/>
</not>
<not>
<isset property="browser.context"/>
</not>
</and>
</condition>
<condition property="do.display.browser.debug">
<and>
<isset property="do.display.browser"/>
<not>
<isset property="do.debug.client"/>
</not>
<isset property="browser.context"/>
</and>
</condition>
<available file="${conf.dir}/MANIFEST.MF" property="has.custom.manifest"/>
<available file="${persistence.xml.dir}/persistence.xml" property="has.persistence.xml"/>
<condition property="do.war.package.with.custom.manifest">
<isset property="has.custom.manifest"/>
</condition>
<condition property="do.war.package.without.custom.manifest">
<not>
<isset property="has.custom.manifest"/>
</not>
</condition>
<condition property="do.tmp.war.package.with.custom.manifest">
<and>
<isset property="has.custom.manifest"/>
<or>
<isfalse value="${directory.deployment.supported}"/>
<isset property="dist.ear.dir"/>
</or>
</and>
</condition>
<condition property="do.tmp.war.package.without.custom.manifest">
<and>
<not>
<isset property="has.custom.manifest"/>
</not>
<or>
<isfalse value="${directory.deployment.supported}"/>
<isset property="dist.ear.dir"/>
</or>
</and>
</condition>
<condition property="do.tmp.war.package">
<or>
<isfalse value="${directory.deployment.supported}"/>
<isset property="dist.ear.dir"/>
</or>
</condition>
<property name="build.meta.inf.dir" value="${build.web.dir}/META-INF"/>
<condition else="" property="application.args.param" value="${application.args}">
<and>
<isset property="application.args"/>
<not>
<equals arg1="${application.args}" arg2="" trim="true"/>
</not>
</and>
</condition>
<property name="source.encoding" value="${file.encoding}"/>
<condition property="javadoc.encoding.used" value="${javadoc.encoding}">
<and>
<isset property="javadoc.encoding"/>
<not>
<equals arg1="${javadoc.encoding}" arg2=""/>
</not>
</and>
</condition>
<property name="javadoc.encoding.used" value="${source.encoding}"/>
<property name="includes" value="**"/>
<property name="excludes" value=""/>
<property name="runmain.jvmargs" value=""/>
<path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
<condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
<and>
<isset property="endorsed.classpath"/>
<length length="0" string="${endorsed.classpath}" when="greater"/>
</and>
</condition>
<condition else="false" property="jdkBug6558476">
<and>
<matches pattern="1\.[56]" string="${java.specification.version}"/>
<not>
<os family="unix"/>
</not>
</and>
</condition>
<property name="javac.fork" value="${jdkBug6558476}"/>
<condition property="junit.available">
<or>
<available classname="org.junit.Test" classpath="${run.test.classpath}"/>
<available classname="junit.framework.Test" classpath="${run.test.classpath}"/>
</or>
</condition>
<condition property="testng.available">
<available classname="org.testng.annotations.Test" classpath="${run.test.classpath}"/>
</condition>
<condition property="junit+testng.available">
<and>
<istrue value="${junit.available}"/>
<istrue value="${testng.available}"/>
</and>
</condition>
<condition else="testng" property="testng.mode" value="mixed">
<istrue value="${junit+testng.available}"/>
</condition>
<condition else="" property="testng.debug.mode" value="-mixed">
<istrue value="${junit+testng.available}"/>
</condition>
</target>
<target depends="init" name="-init-cos" unless="deploy.on.save">
<condition property="deploy.on.save" value="true">
<or>
<istrue value="${j2ee.deploy.on.save}"/>
<istrue value="${j2ee.compile.on.save}"/>
</or>
</condition>
</target>
<target name="-post-init">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="-pre-init,-init-private,-init-libraries,-init-user,-init-project,-do-init" name="-init-check">
<fail unless="src.resources.dir">Must set src.resources.dir</fail>
<fail unless="src.dir">Must set src.dir</fail>
<fail unless="build.dir">Must set build.dir</fail>
<fail unless="build.web.dir">Must set build.web.dir</fail>
<fail unless="build.generated.dir">Must set build.generated.dir</fail>
<fail unless="dist.dir">Must set dist.dir</fail>
<fail unless="build.classes.dir">Must set build.classes.dir</fail>
<fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
<fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
<fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
<fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
<fail unless="dist.war">Must set dist.war</fail>
<condition property="missing.j2ee.server.home">
<and>
<matches pattern="j2ee.server.home" string="${j2ee.platform.classpath}"/>
<not>
<isset property="j2ee.server.home"/>
</not>
</and>
</condition>
<fail if="missing.j2ee.server.home">
The Java EE server classpath is not correctly set up - server home directory is missing.
Either open the project in the IDE and assign the server or setup the server classpath manually.
For example like this:
ant -Dj2ee.server.home=&lt;app_server_installation_directory&gt;
</fail>
<fail unless="j2ee.platform.classpath">
The Java EE server classpath is not correctly set up. Your active server type is ${j2ee.server.type}.
Either open the project in the IDE and assign the server or setup the server classpath manually.
For example like this:
ant -Duser.properties.file=&lt;path_to_property_file&gt; (where you put the property "j2ee.platform.classpath" in a .properties file)
or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties file is used)
</fail>
</target>
<target name="-init-macrodef-property">
<macrodef name="property" uri="http://www.netbeans.org/ns/web-project/1">
<attribute name="name"/>
<attribute name="value"/>
<sequential>
<property name="@{name}" value="${@{value}}"/>
</sequential>
</macrodef>
</target>
<target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
<macrodef name="javac" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="${src.resources.dir}:${src.dir}" name="srcdir"/>
<attribute default="${build.classes.dir}" name="destdir"/>
<attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
<attribute default="${javac.processorpath}" name="processorpath"/>
<attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="${javac.debug}" name="debug"/>
<attribute default="${empty.dir}" name="gensrcdir"/>
<element name="customize" optional="true"/>
<sequential>
<property location="${build.dir}/empty" name="empty.dir"/>
<mkdir dir="${empty.dir}"/>
<mkdir dir="@{apgeneratedsrcdir}"/>
<javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" srcdir="@{srcdir}" target="${javac.target}">
<src>
<dirset dir="@{gensrcdir}" erroronmissingdir="false">
<include name="*"/>
</dirset>
</src>
<classpath>
<path path="@{classpath}"/>
</classpath>
<compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
<compilerarg line="${javac.compilerargs}"/>
<compilerarg value="-processorpath"/>
<compilerarg path="@{processorpath}:${empty.dir}"/>
<compilerarg line="${ap.processors.internal}"/>
<compilerarg value="-s"/>
<compilerarg path="@{apgeneratedsrcdir}"/>
<compilerarg line="${ap.proc.none.internal}"/>
<customize/>
</javac>
</sequential>
</macrodef>
</target>
<target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
<macrodef name="javac" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="${src.resources.dir}:${src.dir}" name="srcdir"/>
<attribute default="${build.classes.dir}" name="destdir"/>
<attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
<attribute default="${javac.processorpath}" name="processorpath"/>
<attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="${javac.debug}" name="debug"/>
<attribute default="${empty.dir}" name="gensrcdir"/>
<element name="customize" optional="true"/>
<sequential>
<property location="${build.dir}/empty" name="empty.dir"/>
<mkdir dir="${empty.dir}"/>
<javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeantruntime="false" includes="@{includes}" source="${javac.source}" srcdir="@{srcdir}" target="${javac.target}">
<src>
<dirset dir="@{gensrcdir}" erroronmissingdir="false">
<include name="*"/>
</dirset>
</src>
<classpath>
<path path="@{classpath}"/>
</classpath>
<compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
<compilerarg line="${javac.compilerargs}"/>
<customize/>
</javac>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
<macrodef name="depend" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="${src.resources.dir}:${src.dir}" name="srcdir"/>
<attribute default="${build.classes.dir}" name="destdir"/>
<attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
<sequential>
<depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
<classpath>
<path path="@{classpath}"/>
</classpath>
</depend>
</sequential>
</macrodef>
<macrodef name="force-recompile" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="${build.classes.dir}" name="destdir"/>
<sequential>
<fail unless="javac.includes">Must set javac.includes</fail>
<pathconvert pathsep="${line.separator}" property="javac.includes.binary">
<path>
<filelist dir="@{destdir}" files="${javac.includes}"/>
</path>
<globmapper from="*.java" to="*.class"/>
</pathconvert>
<tempfile deleteonexit="true" property="javac.includesfile.binary"/>
<echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
<delete>
<files includesfile="${javac.includesfile.binary}"/>
</delete>
<delete file="${javac.includesfile.binary}"/>
</sequential>
</macrodef>
</target>
<target if="${junit.available}" name="-init-macrodef-junit-init">
<condition else="false" property="nb.junit.batch" value="true">
<and>
<istrue value="${junit.available}"/>
<not>
<isset property="test.method"/>
</not>
</and>
</condition>
<condition else="false" property="nb.junit.single" value="true">
<and>
<istrue value="${junit.available}"/>
<isset property="test.method"/>
</and>
</condition>
</target>
<target name="-init-test-properties">
<property name="test.binaryincludes" value="&lt;nothing&gt;"/>
<property name="test.binarytestincludes" value=""/>
<property name="test.binaryexcludes" value=""/>
</target>
<target if="${nb.junit.single}" name="-init-macrodef-junit-single" unless="${nb.junit.batch}">
<macrodef name="junit" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element name="customize" optional="true"/>
<sequential>
<junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${java.io.tmpdir}">
<test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
<jvmarg value="-ea"/>
<customize/>
</junit>
</sequential>
</macrodef>
</target>
<target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-batch" unless="${nb.junit.single}">
<macrodef name="junit" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element name="customize" optional="true"/>
<sequential>
<property name="run.jvmargs.ide" value=""/>
<junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${build.dir}">
<batchtest todir="${build.test.results.dir}">
<fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
<filename name="${test.binarytestincludes}"/>
</fileset>
</batchtest>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
<jvmarg value="-ea"/>
<jvmarg line="${run.jvmargs.ide}"/>
<customize/>
</junit>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-junit-init,-init-macrodef-junit-single, -init-macrodef-junit-batch" if="${junit.available}" name="-init-macrodef-junit"/>
<target if="${testng.available}" name="-init-macrodef-testng">
<macrodef name="testng" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element name="customize" optional="true"/>
<sequential>
<condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}">
<isset property="test.method"/>
</condition>
<union id="test.set"/>
<taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
<testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="DDA_CRN_CargaTransacVisual" testname="TestNG tests" workingDir="${basedir}">
<xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
<propertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</propertyset>
<customize/>
</testng>
</sequential>
</macrodef>
</target>
<target name="-init-macrodef-test-impl">
<macrodef name="test-impl" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element implicit="true" name="customize" optional="true"/>
<sequential>
<echo>No tests executed.</echo>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-impl">
<macrodef name="test-impl" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element implicit="true" name="customize" optional="true"/>
<sequential>
<webproject2:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
<customize/>
</webproject2:junit>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl">
<macrodef name="test-impl" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element implicit="true" name="customize" optional="true"/>
<sequential>
<webproject2:testng excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
<customize/>
</webproject2:testng>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-test-impl,-init-macrodef-junit-impl,-init-macrodef-testng-impl" name="-init-macrodef-test">
<macrodef name="test" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<sequential>
<webproject2:test-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
<customize>
<classpath>
<path path="${run.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}"/>
</classpath>
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
<jvmarg line="${runmain.jvmargs}"/>
</customize>
</webproject2:test-impl>
</sequential>
</macrodef>
</target>
<target if="${junit.available}" name="-init-macrodef-junit-debug" unless="${nb.junit.batch}">
<macrodef name="junit-debug" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element name="customize" optional="true"/>
<sequential>
<junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${java.io.tmpdir}">
<test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
<jvmarg value="-ea"/>
<jvmarg value="-agentlib:jdwp=transport=${debug-transport},address=${jpda.address}"/>
<customize/>
</junit>
</sequential>
</macrodef>
</target>
<target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-debug-batch">
<macrodef name="junit-debug" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element name="customize" optional="true"/>
<sequential>
<property name="run.jvmargs.ide" value=""/>
<junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${build.dir}">
<batchtest todir="${build.test.results.dir}">
<fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
<filename name="${test.binarytestincludes}"/>
</fileset>
</batchtest>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
<jvmarg value="-ea"/>
<jvmarg line="${run.jvmargs.ide}"/>
<jvmarg value="-agentlib:jdwp=transport=${debug-transport},address=${jpda.address}"/>
<customize/>
</junit>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-junit-debug,-init-macrodef-junit-debug-batch" if="${junit.available}" name="-init-macrodef-junit-debug-impl">
<macrodef name="test-debug-impl" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element implicit="true" name="customize" optional="true"/>
<sequential>
<webproject2:junit-debug excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
<customize/>
</webproject2:junit-debug>
</sequential>
</macrodef>
</target>
<target if="${testng.available}" name="-init-macrodef-testng-debug">
<macrodef name="testng-debug" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="${main.class}" name="testClass"/>
<attribute default="" name="testMethod"/>
<element name="customize2" optional="true"/>
<sequential>
<condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
<isset property="test.method"/>
</condition>
<condition else="-suitename DDA_CRN_CargaTransacVisual -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
<matches pattern=".*\.xml" string="@{testClass}"/>
</condition>
<delete dir="${build.test.results.dir}" quiet="true"/>
<mkdir dir="${build.test.results.dir}"/>
<webproject1:debug args="${testng.cmd.args}" classname="org.testng.TestNG" classpath="${debug.test.classpath}:${j2ee.platform.embeddableejb.classpath}">
<customize>
<customize2/>
<jvmarg value="-ea"/>
<arg line="${testng.debug.mode}"/>
<arg line="-d ${build.test.results.dir}"/>
<arg line="-listener org.testng.reporters.VerboseReporter"/>
</customize>
</webproject1:debug>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-testng-debug" if="${testng.available}" name="-init-macrodef-testng-debug-impl">
<macrodef name="testng-debug-impl" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="${main.class}" name="testClass"/>
<attribute default="" name="testMethod"/>
<element implicit="true" name="customize2" optional="true"/>
<sequential>
<webproject2:testng-debug testClass="@{testClass}" testMethod="@{testMethod}">
<customize2/>
</webproject2:testng-debug>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-junit-debug-impl" if="${junit.available}" name="-init-macrodef-test-debug-junit">
<macrodef name="test-debug" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<attribute default="${main.class}" name="testClass"/>
<attribute default="" name="testMethod"/>
<sequential>
<webproject2:test-debug-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
<customize>
<classpath>
<path path="${run.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}"/>
</classpath>
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
<jvmarg line="${runmain.jvmargs}"/>
</customize>
</webproject2:test-debug-impl>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-testng-debug-impl" if="${testng.available}" name="-init-macrodef-test-debug-testng">
<macrodef name="test-debug" uri="http://www.netbeans.org/ns/web-project/2">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<attribute default="${main.class}" name="testClass"/>
<attribute default="" name="testMethod"/>
<sequential>
<webproject2:testng-debug-impl testClass="@{testClass}" testMethod="@{testMethod}">
<customize2>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
</customize2>
</webproject2:testng-debug-impl>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-test-debug-junit,-init-macrodef-test-debug-testng" name="-init-macrodef-test-debug"/>
<target name="-init-macrodef-java">
<macrodef name="java" uri="http://www.netbeans.org/ns/web-project/1">
<attribute default="${main.class}" name="classname"/>
<attribute default="${debug.classpath}" name="classpath"/>
<element name="customize" optional="true"/>
<sequential>
<java classname="@{classname}" fork="true">
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
<jvmarg line="${runmain.jvmargs}"/>
<classpath>
<path path="@{classpath}:${j2ee.platform.classpath}"/>
</classpath>
<syspropertyset>
<propertyref prefix="run-sys-prop."/>
<mapper from="run-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<customize/>
</java>
</sequential>
</macrodef>
</target>
<target name="-init-macrodef-nbjsdebug">
<macrodef name="nbjsdebugstart" uri="http://www.netbeans.org/ns/web-project/1">
<attribute default="${client.url}" name="webUrl"/>
<sequential>
<nbjsdebugstart urlPart="${client.urlPart}" webUrl="@{webUrl}"/>
</sequential>
</macrodef>
</target>
<target depends="-init-debug-args" name="-init-macrodef-nbjpda">
<macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/web-project/1">
<attribute default="${main.class}" name="name"/>
<attribute default="${debug.classpath}:${j2ee.platform.classpath}" name="classpath"/>
<sequential>
<nbjpdastart addressproperty="jpda.address" name="@{name}" transport="${debug-transport}">
<classpath>
<path path="@{classpath}"/>
</classpath>
</nbjpdastart>
</sequential>
</macrodef>
<macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/web-project/1">
<attribute default="${build.classes.dir}" name="dir"/>
<sequential>
<nbjpdareload>
<fileset dir="@{dir}" includes="${fix.classes}">
<include name="${fix.includes}*.class"/>
</fileset>
</nbjpdareload>
</sequential>
</macrodef>
<macrodef name="nbjpdaappreloaded" uri="http://www.netbeans.org/ns/web-project/1">
<sequential>
<nbjpdaappreloaded/>
</sequential>
</macrodef>
</target>
<target name="-init-debug-args">
<condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
<os family="windows"/>
</condition>
<condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
<isset property="debug.transport"/>
</condition>
</target>
<target depends="-init-debug-args" name="-init-macrodef-debug">
<macrodef name="debug" uri="http://www.netbeans.org/ns/web-project/1">
<attribute default="${main.class}" name="classname"/>
<attribute default="${debug.classpath}:${j2ee.platform.classpath}" name="classpath"/>
<attribute default="${application.args.param}" name="args"/>
<element name="customize" optional="true"/>
<sequential>
<java classname="@{classname}" fork="true">
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
<jvmarg value="-agentlib:jdwp=transport=${debug-transport},address=${jpda.address}"/>
<jvmarg line="${runmain.jvmargs}"/>
<classpath>
<path path="@{classpath}"/>
</classpath>
<syspropertyset>
<propertyref prefix="run-sys-prop."/>
<mapper from="run-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<arg line="@{args}"/>
<customize/>
</java>
</sequential>
</macrodef>
</target>
<target name="-init-taskdefs">
<fail unless="libs.CopyLibs.classpath">
The libs.CopyLibs.classpath property is not set up.
This property must point to
org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
of NetBeans IDE installation and is usually located at
&lt;netbeans_installation&gt;/java&lt;version&gt;/ant/extra folder.
Either open the project in the IDE and make sure CopyLibs library
exists or setup the property manually. For example like this:
ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
</fail>
<taskdef classpath="${libs.CopyLibs.classpath}" resource="org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml"/>
</target>
<target name="-init-ap-cmdline-properties">
<property name="annotation.processing.enabled" value="true"/>
<property name="annotation.processing.processors.list" value=""/>
<property name="annotation.processing.run.all.processors" value="true"/>
<property name="javac.processorpath" value="${javac.classpath}"/>
<property name="javac.test.processorpath" value="${javac.test.classpath}"/>
<condition property="ap.supported.internal" value="true">
<not>
<matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
</not>
</condition>
</target>
<target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
<condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
<isfalse value="${annotation.processing.run.all.processors}"/>
</condition>
<condition else="" property="ap.proc.none.internal" value="-proc:none">
<isfalse value="${annotation.processing.enabled}"/>
</condition>
</target>
<target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
<property name="ap.cmd.line.internal" value=""/>
</target>
<!--
pre NB7.2 profiling section; consider it deprecated
-->
<target depends="-profile-pre-init, init, -profile-post-init, -profile-init-check" if="profiler.info.jvmargs.agent" name="profile-init"/>
<target if="profiler.info.jvmargs.agent" name="-profile-pre-init">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target if="profiler.info.jvmargs.agent" name="-profile-post-init">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="-profile-pre-init, init, -profile-post-init" if="profiler.info.jvmargs.agent" name="-profile-init-check">
<fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
<fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
</target>
<!--
end of pre NB7.2 profiling section
-->
<target depends="-pre-init,-init-private,-init-libraries,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-test,-init-macrodef-test-debug,-init-macrodef-java,-init-macrodef-nbjpda,-init-macrodef-nbjsdebug,-init-macrodef-debug,-init-taskdefs,-init-ap-cmdline" name="init"/>
<!--
COMPILATION SECTION
-->
<target depends="init" if="no.dist.ear.dir" name="deps-module-jar" unless="no.deps"/>
<target depends="init" if="dist.ear.dir" name="deps-ear-jar" unless="no.deps"/>
<target depends="init, deps-module-jar, deps-ear-jar" name="deps-jar" unless="no.deps"/>
<target depends="init,deps-jar" name="-pre-pre-compile">
<mkdir dir="${build.classes.dir}"/>
</target>
<target name="-pre-compile">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target name="-copy-webdir">
<copy todir="${build.web.dir}">
<fileset dir="${web.docbase.dir}" excludes="${build.web.excludes},${excludes}" includes="${includes}"/>
</copy>
<copy todir="${build.web.dir}/WEB-INF">
<fileset dir="${webinf.dir}" excludes="${build.web.excludes}"/>
</copy>
</target>
<target depends="init, deps-jar, -pre-pre-compile, -pre-compile, -copy-manifest, -copy-persistence-xml, -copy-webdir, library-inclusion-in-archive,library-inclusion-in-manifest" if="have.sources" name="-do-compile">
<webproject2:javac destdir="${build.classes.dir}" gensrcdir="${build.generated.sources.dir}"/>
<copy todir="${build.classes.dir}">
<fileset dir="${src.resources.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
<fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
</copy>
</target>
<target if="has.custom.manifest" name="-copy-manifest">
<mkdir dir="${build.meta.inf.dir}"/>
<copy todir="${build.meta.inf.dir}">
<fileset dir="${conf.dir}" includes="MANIFEST.MF"/>
</copy>
</target>
<target if="has.persistence.xml" name="-copy-persistence-xml">
<mkdir dir="${build.web.dir}/WEB-INF/classes/META-INF"/>
<copy todir="${build.web.dir}/WEB-INF/classes/META-INF">
<fileset dir="${persistence.xml.dir}" includes="persistence.xml orm.xml"/>
</copy>
</target>
<target name="-post-compile">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
<target name="-pre-compile-single">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
<webproject2:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}"/>
<copy todir="${build.classes.dir}">
<fileset dir="${src.resources.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
<fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
</copy>
</target>
<target name="-post-compile-single">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
<property name="jspc.schemas" value="/resources/schemas/"/>
<property name="jspc.dtds" value="/resources/dtds/"/>
<target depends="compile" description="Test compile JSP pages to expose compilation errors." if="do.compile.jsps" name="compile-jsps">
<mkdir dir="${build.generated.dir}/src"/>
<java classname="org.netbeans.modules.web.project.ant.JspC" failonerror="true" fork="true">
<arg value="-uriroot"/>
<arg file="${basedir}/${build.web.dir}"/>
<arg value="-d"/>
<arg file="${basedir}/${build.generated.dir}/src"/>
<arg value="-die1"/>
<arg value="-schemas ${jspc.schemas}"/>
<arg value="-dtds ${jspc.dtds}"/>
<arg value="-compilerSourceVM ${javac.source}"/>
<arg value="-compilerTargetVM ${javac.target}"/>
<arg value="-javaEncoding ${source.encoding}"/>
<arg value="-sysClasspath ${libs.jsp-compilation-syscp.classpath}"/>
<classpath path="${java.home}/../lib/tools.jar:${libs.jsp-compiler.classpath}:${libs.jsp-compilation.classpath}"/>
</java>
<mkdir dir="${build.generated.dir}/classes"/>
<webproject2:javac classpath="${build.classes.dir}:${libs.jsp-compilation.classpath}:${javac.classpath}:${j2ee.platform.classpath}" destdir="${build.generated.dir}/classes" srcdir="${build.generated.dir}/src"/>
</target>
<target depends="compile" if="jsp.includes" name="-do-compile-single-jsp">
<fail unless="javac.jsp.includes">Must select some files in the IDE or set javac.jsp.includes</fail>
<mkdir dir="${build.generated.dir}/src"/>
<java classname="org.netbeans.modules.web.project.ant.JspCSingle" failonerror="true" fork="true">
<arg value="-uriroot"/>
<arg file="${basedir}/${build.web.dir}"/>
<arg value="-d"/>
<arg file="${basedir}/${build.generated.dir}/src"/>
<arg value="-die1"/>
<arg value="-schemas ${jspc.schemas}"/>
<arg value="-dtds ${jspc.dtds}"/>
<arg value="-sysClasspath ${libs.jsp-compilation-syscp.classpath}"/>
<arg value="-jspc.files"/>
<arg path="${jsp.includes}"/>
<arg value="-compilerSourceVM ${javac.source}"/>
<arg value="-compilerTargetVM ${javac.target}"/>
<arg value="-javaEncoding ${source.encoding}"/>
<classpath path="${java.home}/../lib/tools.jar:${libs.jsp-compiler.classpath}:${libs.jsp-compilation.classpath}"/>
</java>
<mkdir dir="${build.generated.dir}/classes"/>
<webproject2:javac classpath="${build.classes.dir}:${libs.jsp-compilation.classpath}:${javac.classpath}:${j2ee.platform.classpath}" destdir="${build.generated.dir}/classes" srcdir="${build.generated.dir}/src">
<customize>
<patternset includes="${javac.jsp.includes}"/>
</customize>
</webproject2:javac>
</target>
<target name="compile-single-jsp">
<fail unless="jsp.includes">Must select a file in the IDE or set jsp.includes</fail>
<antcall target="-do-compile-single-jsp"/>
</target>
<!--
DIST BUILDING SECTION
-->
<target name="-pre-dist">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,compile,compile-jsps,-pre-dist" if="do.war.package.without.custom.manifest" name="-do-dist-without-manifest">
<dirname file="${dist.war}" property="dist.jar.dir"/>
<mkdir dir="${dist.jar.dir}"/>
<jar compress="${jar.compress}" jarfile="${dist.war}">
<fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/>
</jar>
</target>
<target depends="init,compile,compile-jsps,-pre-dist" if="do.war.package.with.custom.manifest" name="-do-dist-with-manifest">
<dirname file="${dist.war}" property="dist.jar.dir"/>
<mkdir dir="${dist.jar.dir}"/>
<jar compress="${jar.compress}" jarfile="${dist.war}" manifest="${build.meta.inf.dir}/MANIFEST.MF">
<fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/>
</jar>
</target>
<target depends="init,compile,compile-jsps,-pre-dist" if="do.tmp.war.package.without.custom.manifest" name="-do-tmp-dist-without-manifest">
<dirname file="${dist.war}" property="dist.jar.dir"/>
<mkdir dir="${dist.jar.dir}"/>
<jar compress="${jar.compress}" jarfile="${dist.war}">
<fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/>
</jar>
</target>
<target depends="init,compile,compile-jsps,-pre-dist" if="do.tmp.war.package.with.custom.manifest" name="-do-tmp-dist-with-manifest">
<dirname file="${dist.war}" property="dist.jar.dir"/>
<mkdir dir="${dist.jar.dir}"/>
<jar compress="${jar.compress}" jarfile="${dist.war}" manifest="${build.meta.inf.dir}/MANIFEST.MF">
<fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/>
</jar>
</target>
<target depends="init,compile,compile-jsps,-pre-dist,-do-dist-with-manifest,-do-dist-without-manifest" name="do-dist"/>
<target depends="init" if="dist.ear.dir" name="library-inclusion-in-manifest">
<copyfiles files="${file.reference.activation-1.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.commons-beanutils-1.7.0.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.commons-chain-1.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.commons-codec-1.6.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.commons-collections-3.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.commons-configuration-1.6.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.commons-dbcp-1.4.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.commons-digester-1.8.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.commons-discovery-0.2.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.commons-fileupload-1.1.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.commons-httpclient-3.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.commons-io-1.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.commons-lang-2.3.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.commons-lang3-3.2.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.commons-logging-1.1.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.commons-pool-1.4.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.commons-validator-1.3.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.dom4j-1.6.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.ezmorph.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.httpclient-4.2.3.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.httpcore-4.2.3.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.httpcore-nio-4.2.3.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.jackson-all-1.9.11.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.javax.servlet-3.0.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.json-lib-2.2.2-jdk15.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.log4j-1.2.16.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.mail-1.4.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.neethi-3.0.2.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.ojdbc6.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.org.springframework.aop-3.1.2.RELEASE.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.org.springframework.asm-3.1.2.RELEASE.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.org.springframework.aspects-3.1.2.RELEASE.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.org.springframework.beans-3.1.2.RELEASE.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.org.springframework.context-3.1.2.RELEASE.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.org.springframework.context.support-3.1.2.RELEASE.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.org.springframework.core-3.1.2.RELEASE.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.org.springframework.expression-3.1.2.RELEASE.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.org.springframework.jdbc-3.1.2.RELEASE.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.org.springframework.transaction-3.1.2.RELEASE.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.org.springframework.web-3.1.2.RELEASE.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.org.springframework.web.servlet-3.1.2.RELEASE.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.poi-3.9-20121203.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.poi-examples-3.9-20121203.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.poi-excelant-3.9-20121203.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.poi-ooxml-3.9-20121203.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.poi-ooxml-schemas-3.9-20121203.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.poi-scratchpad-3.9-20121203.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.quartz-1.8.5.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.slf4j-api-1.7.5.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.spring-ws-1.5.6-all.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.spring-ws-core-2.1.2.RELEASE.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.spring-xml-1.5.6.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.stax2-api-3.1.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.wsdl4j-1.6.3.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.wss4j-1.6.11.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.xercesImpl-2.8.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.xml-apis-1.3.04.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.xmlbeans-2.6.0.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.xmlschema-core-2.0.3.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.xmlsec-1.4.3.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.xom-1.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${libs.javaee-endorsed-api-6.0.classpath}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.lib-lib}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.javax.ejb-api-3.2.2.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<mkdir dir="${build.web.dir}/META-INF"/>
<manifest file="${build.web.dir}/META-INF/MANIFEST.MF" mode="update"/>
</target>
<target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir">
<copyfiles files="${file.reference.activation-1.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-beanutils-1.7.0.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-chain-1.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-codec-1.6.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-collections-3.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-configuration-1.6.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-dbcp-1.4.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-digester-1.8.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-discovery-0.2.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-fileupload-1.1.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-httpclient-3.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-io-1.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-lang-2.3.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-lang3-3.2.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-logging-1.1.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-pool-1.4.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-validator-1.3.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.dom4j-1.6.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.ezmorph.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.httpclient-4.2.3.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.httpcore-4.2.3.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.httpcore-nio-4.2.3.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.jackson-all-1.9.11.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.javax.servlet-3.0.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.json-lib-2.2.2-jdk15.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.log4j-1.2.16.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.mail-1.4.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.neethi-3.0.2.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.ojdbc6.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.org.springframework.aop-3.1.2.RELEASE.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.org.springframework.asm-3.1.2.RELEASE.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.org.springframework.aspects-3.1.2.RELEASE.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.org.springframework.beans-3.1.2.RELEASE.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.org.springframework.context-3.1.2.RELEASE.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.org.springframework.context.support-3.1.2.RELEASE.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.org.springframework.core-3.1.2.RELEASE.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.org.springframework.expression-3.1.2.RELEASE.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.org.springframework.jdbc-3.1.2.RELEASE.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.org.springframework.transaction-3.1.2.RELEASE.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.org.springframework.web-3.1.2.RELEASE.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.org.springframework.web.servlet-3.1.2.RELEASE.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.poi-3.9-20121203.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.poi-examples-3.9-20121203.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.poi-excelant-3.9-20121203.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.poi-ooxml-3.9-20121203.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.poi-ooxml-schemas-3.9-20121203.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.poi-scratchpad-3.9-20121203.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.quartz-1.8.5.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.slf4j-api-1.7.5.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.spring-ws-1.5.6-all.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.spring-ws-core-2.1.2.RELEASE.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.spring-xml-1.5.6.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.stax2-api-3.1.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.wsdl4j-1.6.3.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.wss4j-1.6.11.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.xercesImpl-2.8.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.xml-apis-1.3.04.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.xmlbeans-2.6.0.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.xmlschema-core-2.0.3.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.xmlsec-1.4.3.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.xom-1.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${libs.javaee-endorsed-api-6.0.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.lib-lib}" todir="${build.web.dir}/WEB-INF/classes"/>
<copyfiles files="${file.reference.javax.ejb-api-3.2.2.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
</target>
<target depends="init" if="dist.ear.dir" name="-clean-webinf-lib">
<delete dir="${build.web.dir}/WEB-INF/lib"/>
</target>
<target depends="init,-clean-webinf-lib,compile,compile-jsps,-pre-dist,library-inclusion-in-manifest" if="do.tmp.war.package" name="do-ear-dist">
<dirname file="${dist.ear.war}" property="dist.jar.dir"/>
<mkdir dir="${dist.jar.dir}"/>
<jar compress="${jar.compress}" jarfile="${dist.ear.war}" manifest="${build.web.dir}/META-INF/MANIFEST.MF">
<fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/>
</jar>
</target>
<target name="-post-dist">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,compile,-pre-dist,do-dist,-post-dist" description="Build distribution (WAR)." name="dist"/>
<target depends="init,-clean-webinf-lib,-init-cos,compile,-pre-dist,do-ear-dist,-post-dist" description="Build distribution (WAR) to be packaged into an EAR." name="dist-ear"/>
<!--
EXECUTION SECTION
-->
<target depends="run-deploy,run-display-browser" description="Deploy to server and show in browser." name="run"/>
<target name="-pre-run-deploy">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target name="-post-run-deploy">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target name="-pre-nbmodule-run-deploy">
<!-- Empty placeholder for easier customization. -->
<!-- This target can be overriden by NetBeans modules. Don't override it directly, use -pre-run-deploy task instead. -->
</target>
<target name="-post-nbmodule-run-deploy">
<!-- Empty placeholder for easier customization. -->
<!-- This target can be overriden by NetBeans modules. Don't override it directly, use -post-run-deploy task instead. -->
</target>
<target name="-run-deploy-am">
<!-- Task to deploy to the Access Manager runtime. -->
</target>
<target depends="init,-init-cos,compile,compile-jsps,-do-compile-single-jsp,-pre-dist,-do-tmp-dist-with-manifest,-do-tmp-dist-without-manifest,-pre-run-deploy,-pre-nbmodule-run-deploy,-run-deploy-nb,-init-deploy-ant,-deploy-ant,-run-deploy-am,-post-nbmodule-run-deploy,-post-run-deploy,-do-update-breakpoints" name="run-deploy"/>
<target if="netbeans.home" name="-run-deploy-nb">
<nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
</target>
<target name="-init-deploy-ant" unless="netbeans.home">
<property name="deploy.ant.archive" value="${dist.war}"/>
<property name="deploy.ant.docbase.dir" value="${web.docbase.dir}"/>
<property name="deploy.ant.resource.dir" value="${resource.dir}"/>
<property name="deploy.ant.enabled" value="true"/>
</target>
<target depends="dist,-run-undeploy-nb,-init-deploy-ant,-undeploy-ant" name="run-undeploy"/>
<target if="netbeans.home" name="-run-undeploy-nb">
<fail message="Undeploy is not supported from within the IDE"/>
</target>
<target depends="init,-pre-dist,dist,-post-dist" name="verify">
<nbverify file="${dist.war}"/>
</target>
<target depends="run-deploy,-init-display-browser,-display-browser-nb-old,-display-browser-nb,-display-browser-cl" name="run-display-browser"/>
<target if="do.display.browser" name="-init-display-browser">
<condition property="do.display.browser.nb.old">
<and>
<isset property="netbeans.home"/>
<not>
<isset property="browser.context"/>
</not>
</and>
</condition>
<condition property="do.display.browser.nb">
<and>
<isset property="netbeans.home"/>
<isset property="browser.context"/>
</and>
</condition>
<condition property="do.display.browser.cl">
<isset property="deploy.ant.enabled"/>
</condition>
</target>
<target if="do.display.browser.nb.old" name="-display-browser-nb-old">
<nbbrowse url="${client.url}"/>
</target>
<target if="do.display.browser.nb" name="-display-browser-nb">
<nbbrowse context="${browser.context}" url="${client.url}" urlPath="${client.urlPart}"/>
</target>
<target if="do.display.browser.cl" name="-get-browser" unless="browser">
<condition property="browser" value="rundll32">
<os family="windows"/>
</condition>
<condition else="" property="browser.args" value="url.dll,FileProtocolHandler">
<os family="windows"/>
</condition>
<condition property="browser" value="/usr/bin/open">
<os family="mac"/>
</condition>
<property environment="env"/>
<condition property="browser" value="${env.BROWSER}">
<isset property="env.BROWSER"/>
</condition>
<condition property="browser" value="/usr/bin/firefox">
<available file="/usr/bin/firefox"/>
</condition>
<condition property="browser" value="/usr/local/firefox/firefox">
<available file="/usr/local/firefox/firefox"/>
</condition>
<condition property="browser" value="/usr/bin/mozilla">
<available file="/usr/bin/mozilla"/>
</condition>
<condition property="browser" value="/usr/local/mozilla/mozilla">
<available file="/usr/local/mozilla/mozilla"/>
</condition>
<condition property="browser" value="/usr/sfw/lib/firefox/firefox">
<available file="/usr/sfw/lib/firefox/firefox"/>
</condition>
<condition property="browser" value="/opt/csw/bin/firefox">
<available file="/opt/csw/bin/firefox"/>
</condition>
<condition property="browser" value="/usr/sfw/lib/mozilla/mozilla">
<available file="/usr/sfw/lib/mozilla/mozilla"/>
</condition>
<condition property="browser" value="/opt/csw/bin/mozilla">
<available file="/opt/csw/bin/mozilla"/>
</condition>
</target>
<target depends="-get-browser" if="do.display.browser.cl" name="-display-browser-cl">
<fail unless="browser">
Browser not found, cannot launch the deployed application. Try to set the BROWSER environment variable.
</fail>
<property name="browse.url" value="${deploy.ant.client.url}${client.urlPart}"/>
<echo>Launching ${browse.url}</echo>
<exec executable="${browser}" spawn="true">
<arg line="${browser.args} ${browse.url}"/>
</exec>
</target>
<target depends="init,-init-cos,compile-single" name="run-main">
<fail unless="run.class">Must select one file in the IDE or set run.class</fail>
<webproject1:java classname="${run.class}"/>
</target>
<target depends="init,compile-test-single,-pre-test-run-single" name="run-test-with-main">
<fail unless="run.class">Must select one file in the IDE or set run.class</fail>
<webproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
</target>
<target depends="init" if="netbeans.home" name="-do-update-breakpoints">
<webproject1:nbjpdaappreloaded/>
</target>
<!--
DEBUGGING SECTION
-->
<target depends="init,-init-cos,compile,compile-jsps,-do-compile-single-jsp,-pre-dist,-do-tmp-dist-with-manifest,-do-tmp-dist-without-manifest" description="Debug project in IDE." if="netbeans.home" name="debug">
<nbstartserver debugmode="true"/>
<antcall target="connect-debugger"/>
<nbdeploy clientUrlPart="${client.urlPart}" debugmode="true" forceRedeploy="true"/>
<antcall target="debug-display-browser-old"/>
<antcall target="debug-display-browser"/>
<antcall target="connect-client-debugger"/>
</target>
<target if="do.debug.server" name="connect-debugger" unless="is.debugged">
<condition property="listeningcp" value="sourcepath">
<istrue value="${j2ee.compile.on.save}"/>
</condition>
<nbjpdaconnect address="${jpda.address}" host="${jpda.host}" listeningcp="${listeningcp}" name="${name}" transport="${jpda.transport}">
<classpath>
<path path="${debug.classpath}:${j2ee.platform.classpath}"/>
</classpath>
<sourcepath>
<path path="${web.docbase.dir}"/>
</sourcepath>
</nbjpdaconnect>
</target>
<target if="do.display.browser.debug.old" name="debug-display-browser-old">
<nbbrowse url="${client.url}"/>
</target>
<target if="do.display.browser.debug" name="debug-display-browser">
<nbbrowse context="${browser.context}" url="${client.url}" urlPath="${client.urlPart}"/>
</target>
<target if="do.debug.client" name="connect-client-debugger">
<webproject1:nbjsdebugstart webUrl="${client.url}"/>
</target>
<target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
<fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
<webproject1:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
</target>
<target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
<target depends="init,compile,compile-jsps,-do-compile-single-jsp,debug" if="netbeans.home" name="debug-single"/>
<target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
<webproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
</target>
<target depends="init" if="netbeans.home" name="-debug-start-debugger">
<webproject1:nbjpdastart name="${debug.class}"/>
</target>
<target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
<fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
<webproject1:debug classname="${debug.class}"/>
</target>
<target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single-main"/>
<target depends="init" name="-pre-debug-fix">
<fail unless="fix.includes">Must set fix.includes</fail>
<property name="javac.includes" value="${fix.includes}.java"/>
</target>
<target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
<webproject1:nbjpdareload/>
</target>
<target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
<!--
=================
PROFILING SECTION
=================
-->
<!--
pre NB7.2 profiling section; consider it deprecated
-->
<target description="Profile a J2EE project in the IDE." if="profiler.info.jvmargs.agent" name="-profile-pre72">
<condition else="start-profiled-server" property="profiler.startserver.target" value="start-profiled-server-extraargs">
<isset property="profiler.info.jvmargs.extra"/>
</condition>
<antcall target="${profiler.startserver.target}"/>
<antcall target="run"/>
<antcall target="-profile-start-loadgen"/>
</target>
<target if="profiler.info.jvmargs.agent" name="start-profiled-server">
<nbstartprofiledserver forceRestart="${profiler.j2ee.serverForceRestart}" javaPlatform="${profiler.info.javaPlatform}" startupTimeout="${profiler.j2ee.serverStartupTimeout}">
<jvmarg value="${profiler.info.jvmargs.agent}"/>
<jvmarg value="${profiler.j2ee.agentID}"/>
</nbstartprofiledserver>
</target>
<target if="profiler.info.jvmargs.agent" name="start-profiled-server-extraargs">
<nbstartprofiledserver forceRestart="${profiler.j2ee.serverForceRestart}" javaPlatform="${profiler.info.javaPlatform}" startupTimeout="${profiler.j2ee.serverStartupTimeout}">
<jvmarg value="${profiler.info.jvmargs.extra}"/>
<jvmarg value="${profiler.info.jvmargs.agent}"/>
<jvmarg value="${profiler.j2ee.agentID}"/>
</nbstartprofiledserver>
</target>
<target depends="profile-init,compile-test-single" if="profiler.info.jvmargs.agent" name="-profile-test-single-pre72">
<fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
<nbprofiledirect>
<classpath>
<path path="${run.test.classpath}"/>
<path path="${j2ee.platform.classpath}"/>
</classpath>
</nbprofiledirect>
<junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
<env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
<jvmarg value="${profiler.info.jvmargs.agent}"/>
<jvmarg line="${profiler.info.jvmargs}"/>
<test name="${profile.class}"/>
<classpath>
<path path="${run.test.classpath}"/>
<path path="${j2ee.platform.classpath}"/>
</classpath>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
</junit>
</target>
<target if="netbeans.home" name="-profile-check">
<condition property="profiler.configured">
<or>
<contains casesensitive="true" string="${run.jvmargs.ide}" substring="-agentpath:"/>
<contains casesensitive="true" string="${run.jvmargs.ide}" substring="-javaagent:"/>
</or>
</condition>
</target>
<target depends="init,-init-cos,compile,compile-jsps,-do-compile-single-jsp,-pre-dist,-do-tmp-dist-with-manifest,-do-tmp-dist-without-manifest" name="-do-profile">
<startprofiler/>
<nbstartserver profilemode="true"/>
<nbdeploy clientUrlPart="${client.urlPart}" forceRedeploy="true" profilemode="true"/>
<antcall target="debug-display-browser-old"/>
<antcall target="debug-display-browser"/>
<antcall target="-profile-start-loadgen"/>
</target>
<target depends="-profile-check,-profile-pre72" description="Profile a J2EE project in the IDE." if="profiler.configured" name="profile" unless="profiler.info.jvmargs.agent">
<antcall target="-do-profile"/>
</target>
<target depends="-profile-test-single-pre72" name="profile-test-single"/>
<target depends="-profile-check" if="profiler.configured" name="profile-test" unless="profiler.info.jvmargs.agent">
<startprofiler/>
<antcall target="test-single"/>
</target>
<target if="profiler.loadgen.path" name="-profile-start-loadgen">
<loadgenstart path="${profiler.loadgen.path}"/>
</target>
<!--
JAVADOC SECTION
-->
<target depends="init" if="have.sources" name="javadoc-build">
<mkdir dir="${dist.javadoc.dir}"/>
<javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
<classpath>
<path path="${javac.classpath}:${j2ee.platform.classpath}"/>
</classpath>
<fileset dir="${src.resources.dir}" excludes="${excludes}" includes="${includes}">
<filename name="**/*.java"/>
</fileset>
<fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
<filename name="**/*.java"/>
</fileset>
<fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
<include name="**/*.java"/>
</fileset>
</javadoc>
<copy todir="${dist.javadoc.dir}">
<fileset dir="${src.resources.dir}" excludes="${excludes}" includes="${includes}">
<filename name="**/doc-files/**"/>
</fileset>
<fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
<filename name="**/doc-files/**"/>
</fileset>
<fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
<include name="**/doc-files/**"/>
</fileset>
</copy>
</target>
<target depends="init,javadoc-build" if="netbeans.home" name="javadoc-browse" unless="no.javadoc.preview">
<nbbrowse file="${dist.javadoc.dir}/index.html"/>
</target>
<target depends="init,javadoc-build,javadoc-browse" description="Build Javadoc." name="javadoc"/>
<!--
TEST COMPILATION SECTION
-->
<target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
<mkdir dir="${build.test.classes.dir}"/>
<property name="j2ee.platform.embeddableejb.classpath" value=""/>
</target>
<target name="-pre-compile-test">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test" if="have.tests" name="-do-compile-test">
<webproject2:javac classpath="${javac.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir=""/>
<copy todir="${build.test.classes.dir}"/>
</target>
<target name="-post-compile-test">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
<target name="-pre-compile-test-single">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
<webproject2:javac classpath="${javac.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" srcdir=""/>
<copy todir="${build.test.classes.dir}"/>
</target>
<target name="-post-compile-test-single">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
<!--
TEST EXECUTION SECTION
-->
<target depends="init" if="have.tests" name="-pre-test-run">
<mkdir dir="${build.test.results.dir}"/>
</target>
<target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
<webproject2:test includes="${includes}" testincludes="**/*Test.java"/>
</target>
<target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
<fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
</target>
<target depends="init" if="have.tests" name="test-report"/>
<target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
<target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
<target depends="init" if="have.tests" name="-pre-test-run-single">
<mkdir dir="${build.test.results.dir}"/>
</target>
<target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
<fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
<webproject2:test excludes="" includes="${test.includes}" testincludes="${test.includes}"/>
</target>
<target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
<fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
</target>
<target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
<target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-method">
<fail unless="test.class">Must select some files in the IDE or set test.class</fail>
<fail unless="test.method">Must select some method in the IDE or set test.method</fail>
<webproject2:test excludes="" includes="${javac.includes}" testincludes="${test.class}" testmethods="${test.method}"/>
</target>
<target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method" if="have.tests" name="-post-test-run-single-method">
<fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
</target>
<target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method,-post-test-run-single-method" description="Run single unit test." name="test-single-method"/>
<!--
TEST DEBUGGING SECTION
-->
<target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test">
<fail unless="test.class">Must select one file in the IDE or set test.class</fail>
<webproject2:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testincludes="${javac.includes}"/>
</target>
<target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test-method">
<fail unless="test.class">Must select one file in the IDE or set test.class</fail>
<fail unless="test.method">Must select some method in the IDE or set test.method</fail>
<webproject2:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testMethod="${test.method}" testincludes="${test.class}" testmethods="${test.method}"/>
</target>
<target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
<webproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
</target>
<target depends="init,compile-test,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
<target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/>
<target depends="debug-test-method" name="debug-single-method"/>
<target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
<webproject1:nbjpdareload dir="${build.test.classes.dir}"/>
</target>
<target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
<!--
CLEANUP SECTION
-->
<target depends="init" name="deps-clean" unless="no.deps"/>
<target depends="init" name="do-clean">
<condition property="build.dir.to.clean" value="${build.web.dir}">
<isset property="dist.ear.dir"/>
</condition>
<property name="build.dir.to.clean" value="${build.web.dir}"/>
<delete includeEmptyDirs="true" quiet="true">
<fileset dir="${build.dir.to.clean}/WEB-INF/lib"/>
</delete>
<delete dir="${build.dir}"/>
<available file="${build.dir.to.clean}/WEB-INF/lib" property="status.clean-failed" type="dir"/>
<delete dir="${dist.dir}"/>
</target>
<target depends="do-clean" if="status.clean-failed" name="check-clean">
<echo message="Warning: unable to delete some files in ${build.web.dir}/WEB-INF/lib - they are probably locked by the J2EE server. "/>
<echo level="info" message="To delete all files undeploy the module from Server Registry in Runtime tab and then use Clean again."/>
</target>
<target depends="init" if="netbeans.home" name="undeploy-clean">
<nbundeploy failOnError="false" startServer="false"/>
</target>
<target name="-post-clean">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,undeploy-clean,deps-clean,do-clean,check-clean,-post-clean" description="Clean build products." name="clean"/>
<target depends="clean" description="Clean build products." name="clean-ear"/>
</project>
build.xml.data.CRC32=9ba62b27
build.xml.script.CRC32=1cc562b5
build.xml.stylesheet.CRC32=1707db4f@1.89.0.1
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=9ba62b27
nbproject/build-impl.xml.script.CRC32=984b484e
nbproject/build-impl.xml.stylesheet.CRC32=334708a0@1.89.0.1
deploy.ant.properties.file=C:\\Users\\jfmj_\\AppData\\Roaming\\NetBeans\\8.2\\tomcat70.properties
j2ee.server.domain=C:/apache-tomcat-7.0.67
j2ee.server.home=D:/apache-tomcat-7.0.67
j2ee.server.instance=tomcat70:home=D:\\apache-tomcat-7.0.67
javac.debug=true
javadoc.preview=true
selected.browser=default
user.properties.file=C:\\Users\\jfmj_\\AppData\\Roaming\\NetBeans\\8.2\\build.properties
<?xml version="1.0" encoding="UTF-8"?>
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group>
<file>file:/C:/Users/jfmj_/Documents/DDA/Githg/DDA_CRN_CargaTransacVisual/src/mx/com/amx/mx/dda/crn/DDACargaTransacVisual.java</file>
<file>file:/C:/Users/jfmj_/Documents/DDA/Githg/DDA_CRN_CargaTransacVisual/src/mx/com/amx/mx/dda/crn/dao/DDACargaTransacVisualDAO.java</file>
<file>file:/C:/Users/jfmj_/Documents/DDA/Githg/DDA_CRN_CargaTransacVisual/src/mx/com/amx/mx/dda/crn/bo/DDACargaTransacVisualBO.java</file>
</group>
</open-files>
</project-private>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
<system systemId="http://www.springframework.org/schema/beans/spring-beans-3.0.xsd" uri="www.springframework.org/schema/beans/spring-beans-3.0.xsd"/>
<system systemId="http://www.springframework.org/schema/jee/spring-jee-3.0.xsd" uri="www.springframework.org/schema/jee/spring-jee-3.0.xsd"/>
<system systemId="http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd" uri="www.springframework.org/schema/mvc/spring-mvc-3.0.xsd"/>
<system systemId="http://cxf.apache.org/schemas/jaxws.xsd" uri="cxf.apache.org/schemas/jaxws.xsd"/>
<system systemId="http://www.springframework.org/schema/beans/spring-beans.xsd" uri="www.springframework.org/schema/beans/spring-beans.xsd"/>
<system systemId="http://cxf.apache.org/schemas/configuration/cxf-beans.xsd" uri="cxf.apache.org/schemas/configuration/cxf-beans.xsd"/>
<system systemId="http://cxf.apache.org/schemas/configuration/parameterized-types.xsd" uri="cxf.apache.org/schemas/configuration/parameterized-types.xsd"/>
<system systemId="http://www.springframework.org/schema/context/spring-context-3.0.xsd" uri="www.springframework.org/schema/context/spring-context-3.0.xsd"/>
<system systemId="https://www.springframework.org/schema/beans/spring-beans-3.0.xsd" uri="www.springframework.org/schema/beans/spring-beans-3.0.xsd"/>
<system systemId="https://www.springframework.org/schema/tool/spring-tool-3.0.xsd" uri="www.springframework.org/schema/tool/spring-tool-3.0.xsd"/>
</catalog>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<xsd:schema
targetNamespace="http://cxf.apache.org/configuration/beans"
xmlns:tns="http://cxf.apache.org/configuration/beans"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xsd:attributeGroup name="beanAttributes">
<xsd:attribute name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
A unique identifier for the bean. This can also be a list of identifiers.
See documentation for attribute name in attribute group beanAttributes
in http://www.springframework.org/schema/beans/spring-beans.xsd
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="abstract" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>
Specifies if the bean is an abstract bean. Abstract beans act as parents for
concrete bean definitions and are not instantiated. The default is "false".
Setting this to "true" instructs the bean factory not to instantiate the bean.
See documentation for attribute abstract in attribute group beanAttributes
in http://www.springframework.org/schema/beans/spring-beans.xsd
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="depends-on" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
A list of beans that the bean depends on being instantiated before it
can be instantiated.
See documentation for attribute depends-on in attribute group beanAttributes
in http://www.springframework.org/schema/beans/spring-beans.xsd
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="createdFromAPI" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>
Specifies that the user created that bean using CXF APIs like
Endpoint.publish or Service.getPort.
The default is "false".
Setting this to "true" does the following: Changes the internal name of the
bean by appending either ".jaxws-client" or ".jaxws-endpoint" to the bean's
id. Makes the bean abstract.
See documentation for attribute abstract in attribute group beanAttributes
in http://www.springframework.org/schema/beans/spring-beans.xsd
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:attributeGroup>
<xsd:complexType name="ClassOrBeanType">
<xsd:attribute name="class" type="xsd:string"/>
<xsd:attribute name="bean" type="xsd:string"/>
</xsd:complexType>
<xsd:complexType name="identifiedType" abstract="true">
<xsd:attribute name="id" type="xsd:ID"/>
</xsd:complexType>
</xsd:schema>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<xs:schema targetNamespace="http://cxf.apache.org/configuration/parameterized-types"
xmlns:tns="http://cxf.apache.org/configuration/parameterized-types"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
jaxb:version="2.0">
<xs:simpleType name="ParameterizedValue">
<xs:restriction base="xs:string">
<xs:pattern value="[$#](\{.*\}|\(.*\)|\[.*\])"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ParameterizedUShort">
<xs:annotation>
<xs:appinfo>
<jaxb:class ref="java.lang.Integer"/>
</xs:appinfo>
</xs:annotation>
<xs:union memberTypes="xs:unsignedShort tns:ParameterizedValue"/>
</xs:simpleType>
<xs:simpleType name="ParameterizedInt">
<xs:annotation>
<xs:appinfo>
<jaxb:class ref="java.lang.Integer"/>
</xs:appinfo>
</xs:annotation>
<xs:union memberTypes="xs:int tns:ParameterizedValue"/>
</xs:simpleType>
<xs:simpleType name="ParameterizedUInt">
<xs:annotation>
<xs:appinfo>
<jaxb:class ref="java.lang.Long"/>
</xs:appinfo>
</xs:annotation>
<xs:union memberTypes="xs:unsignedInt tns:ParameterizedValue"/>
</xs:simpleType>
<xs:simpleType name="ParameterizedLong">
<xs:annotation>
<xs:appinfo>
<jaxb:class ref="java.lang.Long"/>
</xs:appinfo>
</xs:annotation>
<xs:union memberTypes="xs:long tns:ParameterizedValue"/>
</xs:simpleType>
<xs:simpleType name="ParameterizedBoolean">
<xs:annotation>
<xs:appinfo>
<jaxb:class ref="java.lang.Boolean"/>
</xs:appinfo>
</xs:annotation>
<xs:union memberTypes="xs:boolean tns:ParameterizedValue"/>
</xs:simpleType>
</xs:schema>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<xsd:schema xmlns="http://cxf.apache.org/jaxws"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:cxf-beans="http://cxf.apache.org/configuration/beans"
xmlns:pt="http://cxf.apache.org/configuration/parameterized-types"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
targetNamespace="http://cxf.apache.org/jaxws"
elementFormDefault="qualified"
attributeFormDefault="unqualified" >
<xsd:import namespace="http://www.springframework.org/schema/beans" schemaLocation="http://www.springframework.org/schema/beans/spring-beans.xsd"/>
<xsd:import namespace="http://cxf.apache.org/configuration/beans" schemaLocation="http://cxf.apache.org/schemas/configuration/cxf-beans.xsd"/>
<xsd:import namespace="http://cxf.apache.org/configuration/parameterized-types"
schemaLocation="http://cxf.apache.org/schemas/configuration/parameterized-types.xsd"/>
<xsd:element name="endpoint">
<xsd:annotation>
<xsd:documentation>Configures a JAX-WS server. This element is associated with the org.apache.cxf.jaxws.EndpointImpl object.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="beans:identifiedType">
<xsd:all>
<xsd:element name="binding" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Configures the message binding used by the endpoint. Message bindings are configured using implementations of the
org.apache.cxf.binding.BindingFactory interface. The SOAP binding is configured using the soap:soapBinding bean.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="dataBinding" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Configures the data binding used by the endpoint. The class implementing the JAXB data binding is org.apache.cxf.jaxb.JAXBDataBinding.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="executor" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Configures a Java executor to handle the service.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="features" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a list of beans that configure advanced features like WS-RM.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="handlers" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a list of JAX-WS handlers to add to the endpoint's processing chain.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="implementor" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Configures the bean implementing the service. If this child is used you should not use the implementor attribute.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="inInterceptors" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a list of interceptors to process incoming requests.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="inFaultInterceptors" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a list of interceptors to process incoming fault messages.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="invoker" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies an implementation of the org.apache.cxf.service.Invoker interface to be used by the service. The Invoker
implementation controls how a service is invoked. For example, it controls if each request is handled by a new instance of the
service implementation or if state is preserved across invocations.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="outInterceptors" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a list of interceptors to process outgoing responses.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="outFaultInterceptors" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a list of interceptors to process outgoing fault messages.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="properties" type="beans:mapType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a map of properties that are passed to the endpoint.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="schemaLocations" type="schemasType" minOccurs="0"/>
<xsd:element name="serviceFactory" type="xsd:anyType" minOccurs="0"/>
</xsd:all>
<xsd:attributeGroup ref="cxf-beans:beanAttributes"/>
<xsd:attribute name="address" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the HTTP address of the endpoint. This value will override the value specified in the services
contract.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="bindingUri" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the ID of the data binding the service will use. For SOAP bindings the IDs are defined in the JAX-WS
specification. For other data bindings, the ID is the namespace of the WSDL extensions used to configure the
binding.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="bus" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the ID of the Spring bean configuring the bus managing the endpoint.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="implementor" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the class implementing the service. You can specify the implementation class using either the class
name or an ID reference to a Spring bean configuring the implementation class. This class needs to be on the
classpath.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="implementorClass" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the name of the class implementing the service. This attribute is useful when you specify the implementor
with the ref bean which is wrapped by using Spring AOP.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="publish" type="pt:ParameterizedBoolean" default="true">
<xsd:annotation>
<xsd:documentation>Specifies if the service should be automatically published.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="publishedEndpointUrl" type="xsd:string"/>
<xsd:attribute name="endpointName" type="xsd:QName">
<xsd:annotation>
<xsd:documentation>Specifies the value of the service's WSDL port element's name attribute.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="serviceName" type="xsd:QName">
<xsd:annotation>
<xsd:documentation>Specifies the value of the service's WSDL service element's name attribute.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="transportId" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the transportId that endpoint will use, it will override the transport which is defined in the wsdl.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="wsdlLocation" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the location of the endpoint's WSDL contract. The WSDL contract's location is relative to the folder
from which the service is deployed.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="server">
<xsd:annotation>
<xsd:documentation>Configures a JAX-WS server. The element is associated with the org.apache.cxf.jaxws.support.JaxWsServerFactoryBean object.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="beans:identifiedType">
<xsd:all>
<xsd:element name="binding" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Configures the message binding used by the endpoint. Message bindings are configured using implementations of the
org.apache.cxf.binding.BindingFactory interface. The SOAP binding is configured using the soap:soapBinding bean.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="dataBinding" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Configures the data binding used by the endpoint. The class implementing the JAXB data binding is
org.apache.cxf.jaxb.JAXBDataBinding.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="executor" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Configures a Java executor to handle the service.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="features" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a list of beans that configure advanced features like WS-RM.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="handlers" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a list of JAX-WS handlers to add to the endpoint's processing chain.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="inInterceptors" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a list of interceptors to process incoming requests.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="inFaultInterceptors" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a list of interceptors to process incoming fault messages.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="invoker" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies an implementation of the org.apache.cxf.service.Invoker interface to be used by the service. The Invoker
implementation controls how a service is invoked. For example, it controls if each request is handled by a new instance of the
service implementation or if state is preserved across invocations.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="outInterceptors" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a list of interceptors to process outgoing responses.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="outFaultInterceptors" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a list of interceptors to process outgoing fault messages.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="properties" type="beans:mapType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a map of properties that are passed to the endpoint.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="schemaLocations" type="schemasType" minOccurs="0"/>
<xsd:element name="serviceBean" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Configures the bean implementing the service. If this child is used you should not use the serviceBean attribute.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="serviceFactory" type="xsd:anyType" minOccurs="0"/>
</xsd:all>
<xsd:attributeGroup ref="cxf-beans:beanAttributes"/>
<xsd:attribute name="address" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the HTTP address of the endpoint. This value will override the value specified in the services
contract.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="bindingId" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the ID of the data binding the service will use. For SOAP bindings the IDs are defined in the JAX-WS
specification. For other data bindings, the ID is the namespace of the WSDL extensions used to configure the
binding.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="bus" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the ID of the Spring bean configuring the bus managing the endpoint.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="serviceClass" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the name of the class implementing the service. This attribute is useful when you specify the implementor
with the ref bean which is wrapped by using Spring AOP.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="serviceBean" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the class implementing the service. You can specify the implementation class using either the class
name or an ID reference to a Spring bean configuring the implementation class. This class needs to be on the
classpath.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="start" type="pt:ParameterizedBoolean" default="true">
<xsd:annotation>
<xsd:documentation>Specifies if the service should be automatically published.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="transportId" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the transportId that endpoint will use, it will override the transport which is defined in the wsdl.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="wsdlLocation" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the location of the endpoint's WSDL contract. The WSDL contract's location is relative to the folder
from which the service is deployed.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="endpointName" type="xsd:QName">
<xsd:annotation>
<xsd:documentation>Specifies the value of the service's WSDL port element's name attribute.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="serviceName" type="xsd:QName">
<xsd:annotation>
<xsd:documentation>Specifies the value of the service's WSDL service element's name attribute.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="client">
<xsd:annotation>
<xsd:documentation>Configures a JAX-WS client.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="beans:identifiedType">
<xsd:all>
<xsd:element name="binding" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Configures the message binding used by the endpoint. Message bindings are configured using implementations of the
org.apache.cxf.binding.BindingFactory interface. The SOAP binding is configured using the soap:soapBinding bean.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="dataBinding" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Configures the data binding used by the endpoint. The class implementing the JAXB data binding is org.apache.cxf.jaxb.JAXBDataBinding.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="features" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a list of beans that configure advanced features like WS-RM.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="handlers" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a list of JAX-WS handlers to add to the endpoint's processing chain.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="inInterceptors" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a list of interceptors to process incoming responses.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="inFaultInterceptors" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a list of interceptors to process incoming fault messages.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="outInterceptors" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a list of interceptors to process outgoing requests.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="outFaultInterceptors" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a list of interceptors to process outgoing fault messages.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="properties" type="beans:mapType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a map of properties that are passed to the endpoint.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="conduitSelector" type="xsd:anyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a org.apache.cxf.endpoint.ConduitSelector implementation. ConduitSelector implementations override the
strategy used to select the Conduit used to process outgoing messages.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:all>
<xsd:attributeGroup ref="cxf-beans:beanAttributes"/>
<xsd:attribute name="address" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the HTTP address of the endpoint on which the client makes requests. This value will override the value
specified in the services contract.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="bindingId" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the ID of the data binding the client will use. For SOAP bindings the IDs are defined in the JAX-WS
specification. For other data bindings, the ID is the namespace of the WSDL extensions used to configure the
binding.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="bus" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the ID of the Spring bean configuring the bus managing the endpoint.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="endpointName" type="xsd:QName">
<xsd:annotation>
<xsd:documentation>Specifies the value of the WSDL port element's name attribute for the service on which the client is making
requests.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="password" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies a password that is used for simple username/password authentication.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="serviceClass" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the name of the class implementing the client.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="serviceName" type="xsd:QName">
<xsd:annotation>
<xsd:documentation>Specifies the value of the WSDL service element's name attribute for the service on which the client is making
requests.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="username" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies a password that is used for simple username/password authentication.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="transportId" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the transportId that endpoint will use, it will override the transport which is defined in the wsdl.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="wsdlLocation" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the location of the endpoint's WSDL contract. The WSDL contract's location is relative to the folder
from which the client is deployed.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="schemasType">
<xsd:sequence>
<xsd:element name="schemaLocation" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xsd:schema xmlns="http://www.springframework.org/schema/beans"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.springframework.org/schema/beans">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
<xsd:annotation>
<xsd:documentation><![CDATA[
Spring XML Beans Schema, version 3.0
Authors: Juergen Hoeller, Rob Harrop, Mark Fisher
This defines a simple and consistent way of creating a namespace
of JavaBeans objects, managed by a Spring BeanFactory, read by
XmlBeanDefinitionReader (with DefaultBeanDefinitionDocumentReader).
This document type is used by most Spring functionality, including
web application contexts, which are based on bean factories.
Each "bean" element in this document defines a JavaBean.
Typically the bean class is specified, along with JavaBean properties
and/or constructor arguments.
A bean instance can be a "singleton" (shared instance) or a "prototype"
(independent instance). Further scopes can be provided by extended
bean factories, for example in a web environment.
References among beans are supported, that is, setting a JavaBean property
or a constructor argument to refer to another bean in the same factory
(or an ancestor factory).
As alternative to bean references, "inner bean definitions" can be used.
Singleton flags of such inner bean definitions are effectively ignored:
inner beans are typically anonymous prototypes.
There is also support for lists, sets, maps, and java.util.Properties
as bean property types or constructor argument types.
]]></xsd:documentation>
</xsd:annotation>
<!-- base types -->
<xsd:complexType name="identifiedType" abstract="true">
<xsd:annotation>
<xsd:documentation><![CDATA[
The unique identifier for a bean. The scope of the identifier
is the enclosing bean factory.
]]></xsd:documentation>
</xsd:annotation>
<xsd:attribute name="id" type="xsd:ID">
<xsd:annotation>
<xsd:documentation><![CDATA[
The unique identifier for a bean.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<!-- Top-level <beans> tag -->
<xsd:element name="beans">
<xsd:annotation>
<xsd:documentation><![CDATA[
The top level (typically root) element. Allows the definition
of default values for all nested bean definitions.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="description" minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="import"/>
<xsd:element ref="alias"/>
<xsd:element ref="bean"/>
<xsd:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="default-lazy-init" default="false" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
The default 'lazy-init' value; see the documentation for the
'lazy-init' attribute of the '<bean>' element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="default-merge" default="false" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
The default 'merge' value; see the documentation for the
'merge' attribute of the various collection elements.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="default-autowire" default="no">
<xsd:annotation>
<xsd:documentation><![CDATA[
The default 'autowire' value; see the documentation for the
'autowire' attribute of the '<bean>' element.
]]></xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="no"/>
<xsd:enumeration value="byName"/>
<xsd:enumeration value="byType"/>
<xsd:enumeration value="constructor"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="default-autowire-candidates" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
A default bean name pattern for identifying autowire candidates:
e.g. "*Service", "data*", "*Service*", "data*Service".
Also accepts a comma-separated list of patterns: e.g. "*Service,*Dao".
See the documentation for the 'autowire-candidate' attribute of the
'<bean/>' element for the semantic details of autowire candidate beans.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="default-init-method" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The default 'init-method' value; see the documentation for the
'init-method' attribute of the '<bean>' element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="default-destroy-method" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The default 'destroy-method' value; see the documentation for the
'destroy-method' attribute of the '<bean>' element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute namespace="##other" processContents="lax"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="description">
<xsd:annotation>
<xsd:documentation><![CDATA[
Contains informative text describing the purpose of the enclosing element.
Used primarily for user documentation of XML bean definition documents.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="true">
<xsd:choice minOccurs="0" maxOccurs="unbounded"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="import">
<xsd:annotation>
<xsd:documentation source="java:org.springframework.core.io.Resource"><![CDATA[
Specifies an XML bean definition resource to import.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="xsd:anyType">
<xsd:attribute name="resource" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
The relative resource location of the XML (bean definition) file to import,
for example "myImport.xml" or "includes/myImport.xml" or "../myImport.xml".
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="alias">
<xsd:annotation>
<xsd:documentation><![CDATA[
Defines an alias for a bean (which can reside in a different definition
resource).
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="xsd:anyType">
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the bean to define an alias for.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="alias" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
The alias name to define for the bean.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:group name="beanElements">
<xsd:sequence>
<xsd:element ref="description" minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="meta"/>
<xsd:element ref="constructor-arg"/>
<xsd:element ref="property"/>
<xsd:element ref="qualifier"/>
<xsd:element ref="lookup-method"/>
<xsd:element ref="replaced-method"/>
<xsd:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded"/>
</xsd:choice>
</xsd:sequence>
</xsd:group>
<xsd:attributeGroup name="beanAttributes">
<xsd:attribute name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
Can be used to create one or more aliases illegal in an (XML) id.
Multiple aliases can be separated by any number of spaces, commas,
or semi-colons (or indeed any mixture of the three).
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="class" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="java:java.lang.Class"><![CDATA[
The fully qualified name of the bean's class, except if it serves only
as a parent definition for child bean definitions.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="parent" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the parent bean definition.
Will use the bean class of the parent if none is specified, but can
also override it. In the latter case, the child bean class must be
compatible with the parent, i.e. accept the parent's property values
and constructor argument values, if any.
A child bean definition will inherit constructor argument values,
property values and method overrides from the parent, with the option
to add new values. If init method, destroy method, factory bean and/or
factory method are specified, they will override the corresponding
parent settings.
The remaining settings will always be taken from the child definition:
depends on, autowire mode, scope, lazy init.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="scope" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The scope of this bean: typically "singleton" (one shared instance,
which will be returned by all calls to getBean with the given id), or
"prototype" (independent instance resulting from each call to getBean).
By default, a bean will be a singleton, unless the bean has a parent
bean definition in which case it will inherit the parent's scope.
Singletons are most commonly used, and are ideal for multi-threaded
service objects. Further scopes, such as "request" or "session", might
be supported by extended bean factories (e.g. in a web environment).
Inner bean definitions inherit the singleton status of their containing
bean definition, unless explicitly specified: The inner bean will be a
singleton if the containing bean is a singleton, and a prototype if
the containing bean has any other scope.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="abstract" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Is this bean "abstract", that is, not meant to be instantiated itself
but rather just serving as parent for concrete child bean definitions?
The default is "false". Specify "true" to tell the bean factory to not
try to instantiate that particular bean in any case.
Note: This attribute will not be inherited by child bean definitions.
Hence, it needs to be specified per abstract bean definition.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="lazy-init" default="default" type="defaultable-boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Indicates whether or not this bean is to be lazily initialized.
If false, it will be instantiated on startup by bean factories
that perform eager initialization of singletons. The default is
"false".
Note: This attribute will not be inherited by child bean definitions.
Hence, it needs to be specified per concrete bean definition.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="autowire" default="default">
<xsd:annotation>
<xsd:documentation><![CDATA[
Controls whether bean properties are "autowired".
This is an automagical process in which bean references don't need
to be coded explicitly in the XML bean definition file, but rather the
Spring container works out dependencies.
There are 4 modes:
1. "no"
The traditional Spring default. No automagical wiring. Bean references
must be defined in the XML file via the <ref/> element (or "ref"
attribute). We recommend this in most cases as it makes documentation
more explicit.
Note that this default mode also allows for annotation-driven autowiring,
if activated. "no" refers to externally driven autowiring only, not
affecting any autowiring demands that the bean class itself expresses.
2. "byName"
Autowiring by property name. If a bean of class Cat exposes a "dog"
property, Spring will try to set this to the value of the bean "dog"
in the current container. If there is no matching bean by name, nothing
special happens.
3. "byType"
Autowiring if there is exactly one bean of the property type in the
container. If there is more than one, a fatal error is raised, and
you cannot use byType autowiring for that bean. If there is none,
nothing special happens.
4. "constructor"
Analogous to "byType" for constructor arguments. If there is not exactly
one bean of the constructor argument type in the bean factory, a fatal
error is raised.
Note that explicit dependencies, i.e. "property" and "constructor-arg"
elements, always override autowiring.
Note: This attribute will not be inherited by child bean definitions.
Hence, it needs to be specified per concrete bean definition.
]]></xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="default"/>
<xsd:enumeration value="no"/>
<xsd:enumeration value="byName"/>
<xsd:enumeration value="byType"/>
<xsd:enumeration value="constructor"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="depends-on" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The names of the beans that this bean depends on being initialized.
The bean factory will guarantee that these beans get initialized
before this bean.
Note that dependencies are normally expressed through bean properties
or constructor arguments. This property should just be necessary for
other kinds of dependencies like statics (*ugh*) or database preparation
on startup.
Note: This attribute will not be inherited by child bean definitions.
Hence, it needs to be specified per concrete bean definition.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="autowire-candidate" default="default" type="defaultable-boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Indicates whether or not this bean should be considered when looking
for matching candidates to satisfy another bean's autowiring requirements.
Note that this does not affect explicit references by name, which will get
resolved even if the specified bean is not marked as an autowire candidate.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="primary" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Specifies that this bean should be given preference when multiple
candidates are qualified to autowire a single-valued dependency.
If exactly one 'primary' bean exists among the candidates, it
will be the autowired value.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="init-method" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the custom initialization method to invoke after setting
bean properties. The method must have no arguments, but may throw any
exception.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="destroy-method" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the custom destroy method to invoke on bean factory
shutdown. The method must have no arguments, but may throw any
exception.
Note: Only invoked on beans whose lifecycle is under the full
control of the factory - which is always the case for singletons,
but not guaranteed for any other scope.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="factory-method" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of a factory method to use to create this object. Use
constructor-arg elements to specify arguments to the factory method,
if it takes arguments. Autowiring does not apply to factory methods.
If the "class" attribute is present, the factory method will be a static
method on the class specified by the "class" attribute on this bean
definition. Often this will be the same class as that of the constructed
object - for example, when the factory method is used as an alternative
to a constructor. However, it may be on a different class. In that case,
the created object will *not* be of the class specified in the "class"
attribute. This is analogous to FactoryBean behavior.
If the "factory-bean" attribute is present, the "class" attribute is not
used, and the factory method will be an instance method on the object
returned from a getBean call with the specified bean name. The factory
bean may be defined as a singleton or a prototype.
The factory method can have any number of arguments. Autowiring is not
supported. Use indexed constructor-arg elements in conjunction with the
factory-method attribute.
Setter Injection can be used in conjunction with a factory method.
Method Injection cannot, as the factory method returns an instance,
which will be used when the container creates the bean.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="factory-bean" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
Alternative to class attribute for factory-method usage.
If this is specified, no class attribute should be used.
This must be set to the name of a bean in the current or
ancestor factories that contains the relevant factory method.
This allows the factory itself to be configured using Dependency
Injection, and an instance (rather than static) method to be used.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute namespace="##other" processContents="lax"/>
</xsd:attributeGroup>
<xsd:element name="meta" type="metaType">
<xsd:annotation>
<xsd:documentation><![CDATA[
Arbitrary metadata attached to a bean definition.
]]></xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="metaType">
<xsd:attribute name="key" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
The key name of the metadata attribute being defined.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="value" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
The value of the metadata attribute being defined (as a simple String).
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:element name="bean">
<xsd:annotation>
<xsd:documentation source="java:org.springframework.beans.factory.config.BeanDefinition"><![CDATA[
Defines a single (usually named) bean.
A bean definition may contain nested tags for constructor arguments,
property values, lookup methods, and replaced methods. Mixing constructor
injection and setter injection on the same bean is explicitly supported.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="identifiedType">
<xsd:group ref="beanElements"/>
<xsd:attributeGroup ref="beanAttributes"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="constructor-arg">
<xsd:annotation>
<xsd:documentation source="java:org.springframework.beans.factory.config.ConstructorArgumentValues">
<![CDATA[
Bean definitions can specify zero or more constructor arguments.
This is an alternative to "autowire constructor".
Arguments correspond to either a specific index of the constructor
argument list or are supposed to be matched generically by type.
Note: A single generic argument value will just be used once, rather
than potentially matched multiple times (as of Spring 1.1).
constructor-arg elements are also used in conjunction with the
factory-method element to construct beans using static or instance
factory methods.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="description" minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="1">
<xsd:element ref="bean"/>
<xsd:element ref="ref"/>
<xsd:element ref="idref"/>
<xsd:element ref="value"/>
<xsd:element ref="null"/>
<xsd:element ref="array"/>
<xsd:element ref="list"/>
<xsd:element ref="set"/>
<xsd:element ref="map"/>
<xsd:element ref="props"/>
<xsd:any namespace="##other" processContents="strict"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="index" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The exact index of the argument in the constructor argument list.
Only needed to avoid ambiguities, e.g. in case of 2 arguments of
the exact same type.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="type" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The exact type of the constructor argument. Only needed to avoid
ambiguities, e.g. in case of 2 single argument constructors
that can both be converted from a String.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The exact name of the argument in the constructor argument list.
Only needed to avoid ambiguities, e.g. in case of 2 arguments of
the exact same type. Note: This requires debug symbols to be
stored in the class file in order to introspect argument names!
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="ref" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
A short-cut alternative to a nested "<ref bean='...'/>" element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="value" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
A short-cut alternative to a nested "<value>...<value/>" element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="property" type="propertyType">
<xsd:annotation>
<xsd:documentation><![CDATA[
Bean definitions can have zero or more properties.
Property elements correspond to JavaBean setter methods exposed
by the bean classes. Spring supports primitives, references to other
beans in the same or related factories, lists, maps and properties.
]]></xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="qualifier">
<xsd:annotation>
<xsd:documentation><![CDATA[
Bean definitions can provide qualifiers to match against annotations
on a field or parameter for fine-grained autowire candidate resolution.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="type" type="xsd:string" default="org.springframework.beans.factory.annotation.Qualifier"/>
<xsd:attribute name="value" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="attribute" type="metaType">
<xsd:annotation>
<xsd:documentation><![CDATA[
A qualifier element may contain attribute child elements as key-value
pairs. These will be available for matching against attributes of a
qualifier annotation on an autowired field or parameter if present.
]]></xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="lookup-method">
<xsd:annotation>
<xsd:documentation><![CDATA[
A lookup method causes the IoC container to override the given method
and return the bean with the name given in the bean attribute. This is
a form of Method Injection. It is particularly useful as an alternative
to implementing the BeanFactoryAware interface, in order to be able to
make getBean() calls for non-singleton instances at runtime. In this
case, Method Injection is a less invasive alternative.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="xsd:anyType">
<xsd:attribute name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the lookup method. This method must take no arguments.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="bean" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the bean in the current or ancestor factories that
the lookup method should resolve to. Often this bean will be a
prototype, in which case the lookup method will return a distinct
instance on every invocation. This is useful for single-threaded objects.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="replaced-method">
<xsd:annotation>
<xsd:documentation><![CDATA[
Similar to the lookup method mechanism, the replaced-method element
is used to control IoC container method overriding: Method Injection.
This mechanism allows the overriding of a method with arbitrary code.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="arg-type"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the method whose implementation must be replaced by the
IoC container. If this method is not overloaded, there is no need
to use arg-type subelements. If this method is overloaded, arg-type
subelements must be used for all override definitions for the method.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="replacer" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="java:org.springframework.beans.factory.support.MethodReplacer"><![CDATA[
Bean name of an implementation of the MethodReplacer interface in the
current or ancestor factories. This may be a singleton or prototype
bean. If it is a prototype, a new instance will be used for each
method replacement. Singleton usage is the norm.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="arg-type">
<xsd:annotation>
<xsd:documentation><![CDATA[
Identifies an argument for a replaced method in the event of
method overloading.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="true">
<xsd:choice minOccurs="0" maxOccurs="unbounded"/>
<xsd:attribute name="match" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
Specification of the type of an overloaded method argument as a String.
For convenience, this may be a substring of the FQN. E.g. all the
following would match "java.lang.String":
- java.lang.String
- String
- Str
As the number of arguments will be checked also, this convenience
can often be used to save typing.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="ref">
<xsd:annotation>
<xsd:documentation><![CDATA[
Defines a reference to another bean in this factory or an external
factory (parent or included factory).
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="xsd:anyType">
<xsd:attribute name="bean" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the referenced bean.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="local" type="xsd:IDREF">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the referenced bean. The value must be a bean ID and thus can
be checked by the XML parser. This is therefore the preferred technique
for referencing beans within the same bean factory XML file.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="parent" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the referenced bean in a parent factory.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="idref">
<xsd:annotation>
<xsd:documentation><![CDATA[
The id of another bean in this factory or an external factory
(parent or included factory).
While a regular 'value' element could instead be used for the
same effect, using idref in this case allows validation of local
bean ids by the XML parser, and name completion by supporting tools.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="xsd:anyType">
<xsd:attribute name="bean" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the referenced bean.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="local" type="xsd:IDREF">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the referenced bean. The value must be a bean ID and thus can
be checked by the XML parser. This is therefore the preferred technique
for referencing beans within the same bean factory XML file.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="value">
<xsd:annotation>
<xsd:documentation><![CDATA[
Contains a string representation of a property value.
The property may be a string, or may be converted to the required
type using the JavaBeans PropertyEditor machinery. This makes it
possible for application developers to write custom PropertyEditor
implementations that can convert strings to arbitrary target objects.
Note that this is recommended for simple objects only. Configure
more complex objects by populating JavaBean properties with
references to other beans.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="true">
<xsd:choice minOccurs="0" maxOccurs="unbounded"/>
<xsd:attribute name="type" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The exact type that the value should be converted to. Only needed
if the type of the target property or constructor argument is
too generic: for example, in case of a collection element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="null">
<xsd:annotation>
<xsd:documentation><![CDATA[
Denotes a Java null value. Necessary because an empty "value" tag
will resolve to an empty String, which will not be resolved to a
null value unless a special PropertyEditor does so.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="true">
<xsd:choice minOccurs="0" maxOccurs="unbounded"/>
</xsd:complexType>
</xsd:element>
<!-- Collection Elements -->
<xsd:group name="collectionElements">
<xsd:sequence>
<xsd:element ref="description" minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="bean"/>
<xsd:element ref="ref"/>
<xsd:element ref="idref"/>
<xsd:element ref="value"/>
<xsd:element ref="null"/>
<xsd:element ref="array"/>
<xsd:element ref="list"/>
<xsd:element ref="set"/>
<xsd:element ref="map"/>
<xsd:element ref="props"/>
<xsd:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded"/>
</xsd:choice>
</xsd:sequence>
</xsd:group>
<xsd:element name="array">
<xsd:annotation>
<xsd:documentation><![CDATA[
An array can contain multiple inner bean, ref, collection, or value elements.
This configuration element will always result in an array, even when being
defined e.g. as a value for a map with value type Object.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="listOrSetType">
<xsd:attribute name="merge" default="default" type="defaultable-boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Enables/disables merging for collections when using parent/child beans.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="list">
<xsd:annotation>
<xsd:documentation><![CDATA[
A list can contain multiple inner bean, ref, collection, or value elements.
A list can also map to an array type; the necessary conversion is performed
automatically.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="listOrSetType">
<xsd:attribute name="merge" default="default" type="defaultable-boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Enables/disables merging for collections when using parent/child beans.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="set">
<xsd:annotation>
<xsd:documentation><![CDATA[
A set can contain multiple inner bean, ref, collection, or value elements.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="listOrSetType">
<xsd:attribute name="merge" default="default" type="defaultable-boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Enables/disables merging for collections when using parent/child beans.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="map">
<xsd:annotation>
<xsd:documentation><![CDATA[
A mapping from a key to an object. Maps may be empty.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="mapType">
<xsd:attribute name="merge" default="default" type="defaultable-boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Enables/disables merging for collections when using parent/child beans.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="entry" type="entryType">
<xsd:annotation>
<xsd:documentation><![CDATA[
A map entry can be an inner bean, ref, value, or collection.
The key of the entry is given by the "key" attribute or child element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="props">
<xsd:annotation>
<xsd:documentation><![CDATA[
Props elements differ from map elements in that values must be strings.
Props may be empty.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="propsType">
<xsd:attribute name="merge" default="default" type="defaultable-boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Enables/disables merging for collections when using parent/child beans.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="key">
<xsd:annotation>
<xsd:documentation><![CDATA[
A key element can contain an inner bean, ref, value, or collection.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:group ref="collectionElements"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="prop">
<xsd:annotation>
<xsd:documentation><![CDATA[
The string value of the property. Note that whitespace is trimmed
off to avoid unwanted whitespace caused by typical XML formatting.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="true">
<xsd:choice minOccurs="0" maxOccurs="unbounded"/>
<xsd:attribute name="key" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
The key of the property entry.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="propertyType">
<xsd:sequence>
<xsd:element ref="description" minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="1">
<xsd:element ref="meta"/>
<xsd:element ref="bean"/>
<xsd:element ref="ref"/>
<xsd:element ref="idref"/>
<xsd:element ref="value"/>
<xsd:element ref="null"/>
<xsd:element ref="array"/>
<xsd:element ref="list"/>
<xsd:element ref="set"/>
<xsd:element ref="map"/>
<xsd:element ref="props"/>
<xsd:any namespace="##other" processContents="strict"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the property, following JavaBean naming conventions.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="ref" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
A short-cut alternative to a nested "<ref bean='...'/>".
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="value" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
A short-cut alternative to a nested "<value>...</value>" element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<!-- Collection Types -->
<!-- base type for collections that have (possibly) typed nested values -->
<xsd:complexType name="collectionType">
<xsd:attribute name="value-type" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="java:java.lang.Class"><![CDATA[
The default Java type for nested values. Must be a fully qualified
class name.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<!-- 'list' and 'set' collection type -->
<xsd:complexType name="listOrSetType">
<xsd:complexContent>
<xsd:extension base="collectionType">
<xsd:group ref="collectionElements"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<!-- 'map' element type -->
<xsd:complexType name="mapType">
<xsd:complexContent>
<xsd:extension base="collectionType">
<xsd:sequence>
<xsd:element ref="description" minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="entry"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="key-type" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="java:java.lang.Class"><![CDATA[
The default Java type for nested entry keys. Must be a fully qualified
class name.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<!-- 'entry' element type -->
<xsd:complexType name="entryType">
<xsd:sequence>
<xsd:element ref="key" minOccurs="0"/>
<xsd:group ref="collectionElements"/>
</xsd:sequence>
<xsd:attribute name="key" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
Each map element must specify its key as attribute or as child element.
A key attribute is always a String value.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="key-ref" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
A short-cut alternative to a to a "key" element with a nested
"<ref bean='...'/>".
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="value" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
A short-cut alternative to a nested "<value>...</value>"
element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="value-ref" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
A short-cut alternative to a nested "<ref bean='...'/>".
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<!-- 'props' collection type -->
<xsd:complexType name="propsType">
<xsd:complexContent>
<xsd:extension base="collectionType">
<xsd:sequence>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="prop"/>
</xsd:choice>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<!-- simple internal types -->
<xsd:simpleType name="defaultable-boolean">
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="default"/>
<xsd:enumeration value="true"/>
<xsd:enumeration value="false"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xsd:schema xmlns="http://www.springframework.org/schema/beans"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.springframework.org/schema/beans">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
<xsd:annotation>
<xsd:documentation><![CDATA[
Spring XML Beans Schema, version 4.3
Authors: Juergen Hoeller, Rob Harrop, Mark Fisher, Chris Beams
This defines a simple and consistent way of creating a namespace
of JavaBeans objects, managed by a Spring BeanFactory, read by
XmlBeanDefinitionReader (with DefaultBeanDefinitionDocumentReader).
This document type is used by most Spring functionality, including
web application contexts, which are based on bean factories.
Each "bean" element in this document defines a JavaBean.
Typically the bean class is specified, along with JavaBean properties
and/or constructor arguments.
A bean instance can be a "singleton" (shared instance) or a "prototype"
(independent instance). Further scopes can be provided by extended
bean factories, for example in a web environment.
References among beans are supported, that is, setting a JavaBean property
or a constructor argument to refer to another bean in the same factory
(or an ancestor factory).
As alternative to bean references, "inner bean definitions" can be used.
Such inner beans do not have an independent lifecycle; they are typically
anonymous nested objects that share the scope of their containing bean.
There is also support for lists, sets, maps, and java.util.Properties
as bean property types or constructor argument types.
]]></xsd:documentation>
</xsd:annotation>
<!-- base types -->
<xsd:complexType name="identifiedType" abstract="true">
<xsd:annotation>
<xsd:documentation><![CDATA[
The unique identifier for a bean. The scope of the identifier
is the enclosing bean factory.
]]></xsd:documentation>
</xsd:annotation>
<xsd:attribute name="id" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The unique identifier for a bean. A bean id may not be used more than once
within the same <beans> element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<!-- Top-level <beans> tag -->
<xsd:element name="beans">
<xsd:annotation>
<xsd:documentation><![CDATA[
Container for <bean> and other elements, typically the root element in the document.
Allows the definition of default values for all nested bean definitions. May itself
be nested for the purpose of defining a subset of beans with certain default values or
to be registered only when certain profile(s) are active. Any such nested <beans> element
must be declared as the last element in the document.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="description" minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="import"/>
<xsd:element ref="alias"/>
<xsd:element ref="bean"/>
<xsd:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded"/>
</xsd:choice>
<xsd:element ref="beans" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="profile" use="optional" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The set of profiles for which this <beans> element should be parsed. Multiple profiles
can be separated by spaces, commas, or semi-colons.
If one or more of the specified profiles are active at time of parsing, the <beans>
element will be parsed, and all of its <bean> elements registered, &lt;import&gt;
elements followed, etc. If none of the specified profiles are active at time of
parsing, then the entire element and its contents will be ignored.
If a profile is prefixed with the NOT operator '!', e.g.
<beans profile="p1,!p2">
indicates that the <beans> element should be parsed if profile "p1" is active or
if profile "p2" is not active.
Profiles are activated in one of two ways:
Programmatic:
ConfigurableEnvironment#setActiveProfiles(String...)
ConfigurableEnvironment#setDefaultProfiles(String...)
Properties (typically through -D system properties, environment variables, or
servlet context init params):
spring.profiles.active=p1,p2
spring.profiles.default=p1,p2
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="default-lazy-init" default="default" type="defaultable-boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
The default 'lazy-init' value; see the documentation for the
'lazy-init' attribute of the 'bean' element. The default is "default",
indicating inheritance from outer 'beans' sections in case of nesting,
otherwise falling back to "false".
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="default-merge" default="default" type="defaultable-boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
The default 'merge' value; see the documentation for the 'merge'
attribute of the various collection elements. The default is "default",
indicating inheritance from outer 'beans' sections in case of nesting,
otherwise falling back to "false".
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="default-autowire" default="default">
<xsd:annotation>
<xsd:documentation><![CDATA[
The default 'autowire' value; see the documentation for the
'autowire' attribute of the 'bean' element. The default is "default",
indicating inheritance from outer 'beans' sections in case of nesting,
otherwise falling back to "no" (i.e. no externally driven autowiring).
]]></xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="default"/>
<xsd:enumeration value="no"/>
<xsd:enumeration value="byName"/>
<xsd:enumeration value="byType"/>
<xsd:enumeration value="constructor"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="default-autowire-candidates" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
A default bean name pattern for identifying autowire candidates:
e.g. "*Service", "data*", "*Service*", "data*Service".
Also accepts a comma-separated list of patterns: e.g. "*Service,*Dao".
See the documentation for the 'autowire-candidate' attribute of the
'bean' element for the semantic details of autowire candidate beans.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="default-init-method" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The default 'init-method' value; see the documentation for the
'init-method' attribute of the 'bean' element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="default-destroy-method" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The default 'destroy-method' value; see the documentation for the
'destroy-method' attribute of the 'bean' element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute namespace="##other" processContents="lax"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="description">
<xsd:annotation>
<xsd:documentation><![CDATA[
Contains informative text describing the purpose of the enclosing element.
Used primarily for user documentation of XML bean definition documents.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="true">
<xsd:choice minOccurs="0" maxOccurs="unbounded"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="import">
<xsd:annotation>
<xsd:documentation source="java:org.springframework.core.io.Resource"><![CDATA[
Specifies an XML bean definition resource to import.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="xsd:anyType">
<xsd:attribute name="resource" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
The relative resource location of the XML (bean definition) file to import,
for example "myImport.xml" or "includes/myImport.xml" or "../myImport.xml".
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="alias">
<xsd:annotation>
<xsd:documentation><![CDATA[
Defines an alias for a bean (which can reside in a different definition
resource).
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="xsd:anyType">
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the bean to define an alias for.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="alias" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
The alias name to define for the bean.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:group name="beanElements">
<xsd:sequence>
<xsd:element ref="description" minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="meta"/>
<xsd:element ref="constructor-arg"/>
<xsd:element ref="property"/>
<xsd:element ref="qualifier"/>
<xsd:element ref="lookup-method"/>
<xsd:element ref="replaced-method"/>
<xsd:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded"/>
</xsd:choice>
</xsd:sequence>
</xsd:group>
<xsd:attributeGroup name="beanAttributes">
<xsd:attribute name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
Can be used to create one or more aliases illegal in an (XML) id.
Multiple aliases can be separated by any number of spaces, commas,
or semi-colons (or indeed any mixture of the three).
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="class" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="java:java.lang.Class"><![CDATA[
The fully qualified name of the bean's class, except if it serves only
as a parent definition for child bean definitions.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="parent" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the parent bean definition.
Will use the bean class of the parent if none is specified, but can
also override it. In the latter case, the child bean class must be
compatible with the parent, i.e. accept the parent's property values
and constructor argument values, if any.
A child bean definition will inherit constructor argument values,
property values and method overrides from the parent, with the option
to add new values. If init method, destroy method, factory bean and/or
factory method are specified, they will override the corresponding
parent settings.
The remaining settings will always be taken from the child definition:
depends on, autowire mode, scope, lazy init.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="scope" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The scope of this bean: typically "singleton" (one shared instance,
which will be returned by all calls to getBean with the given id), or
"prototype" (independent instance resulting from each call to getBean).
By default, a bean will be a singleton, unless the bean has a parent
bean definition in which case it will inherit the parent's scope.
Singletons are most commonly used, and are ideal for multi-threaded
service objects. Further scopes, such as "request" or "session", might
be supported by extended bean factories (e.g. in a web environment).
Inner bean definitions inherit the scope of their containing bean
definition, unless explicitly specified: The inner bean will be a
singleton if the containing bean is a singleton, and a prototype if
the containing bean is a prototype, etc.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="abstract" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Is this bean "abstract", that is, not meant to be instantiated itself
but rather just serving as parent for concrete child bean definitions?
The default is "false". Specify "true" to tell the bean factory to not
try to instantiate that particular bean in any case.
Note: This attribute will not be inherited by child bean definitions.
Hence, it needs to be specified per abstract bean definition.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="lazy-init" default="default" type="defaultable-boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Indicates whether this bean is to be lazily initialized. If "false",
it will be instantiated on startup by bean factories that perform eager
initialization of singletons. The effective default is "false".
Note: This attribute will not be inherited by child bean definitions.
Hence, it needs to be specified per concrete bean definition. It can be
shared through the 'default-lazy-init' attribute at the 'beans' level
and potentially inherited from outer 'beans' defaults in case of nested
'beans' sections (e.g. with different profiles).
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="autowire" default="default">
<xsd:annotation>
<xsd:documentation><![CDATA[
Controls whether bean properties are "autowired".
This is an automagical process in which bean references don't need
to be coded explicitly in the XML bean definition file, but rather the
Spring container works out dependencies. The effective default is "no".
There are 4 modes:
1. "no"
The traditional Spring default. No automagical wiring. Bean references
must be defined in the XML file via the <ref/> element (or "ref"
attribute). We recommend this in most cases as it makes documentation
more explicit.
Note that this default mode also allows for annotation-driven autowiring,
if activated. "no" refers to externally driven autowiring only, not
affecting any autowiring demands that the bean class itself expresses.
2. "byName"
Autowiring by property name. If a bean of class Cat exposes a "dog"
property, Spring will try to set this to the value of the bean "dog"
in the current container. If there is no matching bean by name, nothing
special happens.
3. "byType"
Autowiring if there is exactly one bean of the property type in the
container. If there is more than one, a fatal error is raised, and
you cannot use byType autowiring for that bean. If there is none,
nothing special happens.
4. "constructor"
Analogous to "byType" for constructor arguments. If there is not exactly
one bean of the constructor argument type in the bean factory, a fatal
error is raised.
Note that explicit dependencies, i.e. "property" and "constructor-arg"
elements, always override autowiring.
Note: This attribute will not be inherited by child bean definitions.
Hence, it needs to be specified per concrete bean definition. It can be
shared through the 'default-autowire' attribute at the 'beans' level
and potentially inherited from outer 'beans' defaults in case of nested
'beans' sections (e.g. with different profiles).
]]></xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="default"/>
<xsd:enumeration value="no"/>
<xsd:enumeration value="byName"/>
<xsd:enumeration value="byType"/>
<xsd:enumeration value="constructor"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="depends-on" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The names of the beans that this bean depends on being initialized.
The bean factory will guarantee that these beans get initialized
before this bean.
Note that dependencies are normally expressed through bean properties
or constructor arguments. This property should just be necessary for
other kinds of dependencies like statics (*ugh*) or database preparation
on startup.
Note: This attribute will not be inherited by child bean definitions.
Hence, it needs to be specified per concrete bean definition.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="autowire-candidate" default="default" type="defaultable-boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Indicates whether or not this bean should be considered when looking
for matching candidates to satisfy another bean's autowiring requirements.
Note that this does not affect explicit references by name, which will get
resolved even if the specified bean is not marked as an autowire candidate.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="primary" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Specifies that this bean should be given preference when multiple
candidates are qualified to autowire a single-valued dependency.
If exactly one 'primary' bean exists among the candidates, it
will be the autowired value.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="init-method" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the custom initialization method to invoke after setting
bean properties. The method must have no arguments, but may throw any
exception.
This is an alternative to implementing Spring's InitializingBean
interface or marking a method with the PostConstruct annotation.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="destroy-method" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the custom destroy method to invoke on bean factory shutdown.
The method must have no arguments, but may throw any exception.
This is an alternative to implementing Spring's DisposableBean
interface or the standard Java Closeable/AutoCloseable interface,
or marking a method with the PreDestroy annotation.
Note: Only invoked on beans whose lifecycle is under the full
control of the factory - which is always the case for singletons,
but not guaranteed for any other scope.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="factory-method" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of a factory method to use to create this object. Use
constructor-arg elements to specify arguments to the factory method,
if it takes arguments. Autowiring does not apply to factory methods.
If the "class" attribute is present, the factory method will be a static
method on the class specified by the "class" attribute on this bean
definition. Often this will be the same class as that of the constructed
object - for example, when the factory method is used as an alternative
to a constructor. However, it may be on a different class. In that case,
the created object will *not* be of the class specified in the "class"
attribute. This is analogous to FactoryBean behavior.
If the "factory-bean" attribute is present, the "class" attribute is not
used, and the factory method will be an instance method on the object
returned from a getBean call with the specified bean name. The factory
bean may be defined as a singleton or a prototype.
The factory method can have any number of arguments. Autowiring is not
supported. Use indexed constructor-arg elements in conjunction with the
factory-method attribute.
Setter Injection can be used in conjunction with a factory method.
Method Injection cannot, as the factory method returns an instance,
which will be used when the container creates the bean.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="factory-bean" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
Alternative to class attribute for factory-method usage.
If this is specified, no class attribute should be used.
This must be set to the name of a bean in the current or
ancestor factories that contains the relevant factory method.
This allows the factory itself to be configured using Dependency
Injection, and an instance (rather than static) method to be used.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute namespace="##other" processContents="lax"/>
</xsd:attributeGroup>
<xsd:element name="meta" type="metaType">
<xsd:annotation>
<xsd:documentation><![CDATA[
Arbitrary metadata attached to a bean definition.
]]></xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="metaType">
<xsd:attribute name="key" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
The key name of the metadata attribute being defined.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="value" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
The value of the metadata attribute being defined (as a simple String).
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:element name="bean">
<xsd:annotation>
<xsd:documentation source="java:org.springframework.beans.factory.config.BeanDefinition"><![CDATA[
Defines a single (usually named) bean.
A bean definition may contain nested tags for constructor arguments,
property values, lookup methods, and replaced methods. Mixing constructor
injection and setter injection on the same bean is explicitly supported.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="identifiedType">
<xsd:group ref="beanElements"/>
<xsd:attributeGroup ref="beanAttributes"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="constructor-arg">
<xsd:annotation>
<xsd:documentation source="java:org.springframework.beans.factory.config.ConstructorArgumentValues">
<![CDATA[
Bean definitions can specify zero or more constructor arguments.
This is an alternative to "autowire constructor".
Arguments correspond to either a specific index of the constructor
argument list or are supposed to be matched generically by type.
Note: A single generic argument value will just be used once, rather
than potentially matched multiple times (as of Spring 1.1).
constructor-arg elements are also used in conjunction with the
factory-method element to construct beans using static or instance
factory methods.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="description" minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="1">
<xsd:element ref="bean"/>
<xsd:element ref="ref"/>
<xsd:element ref="idref"/>
<xsd:element ref="value"/>
<xsd:element ref="null"/>
<xsd:element ref="array"/>
<xsd:element ref="list"/>
<xsd:element ref="set"/>
<xsd:element ref="map"/>
<xsd:element ref="props"/>
<xsd:any namespace="##other" processContents="strict"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="index" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The exact index of the argument in the constructor argument list.
Only needed to avoid ambiguities, e.g. in case of 2 arguments of
the exact same type.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="type" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The exact type of the constructor argument. Only needed to avoid
ambiguities, e.g. in case of 2 single argument constructors
that can both be converted from a String.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The exact name of the argument in the constructor argument list.
Only needed to avoid ambiguities, e.g. in case of 2 arguments of
the exact same type. Note: This requires debug symbols to be
stored in the class file in order to introspect argument names!
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="ref" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
A short-cut alternative to a nested "<ref bean='...'/>" element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="value" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
A short-cut alternative to a nested "<value>...<value/>" element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="property" type="propertyType">
<xsd:annotation>
<xsd:documentation><![CDATA[
Bean definitions can have zero or more properties.
Property elements correspond to JavaBean setter methods exposed
by the bean classes. Spring supports primitives, references to other
beans in the same or related factories, lists, maps and properties.
]]></xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="qualifier">
<xsd:annotation>
<xsd:documentation><![CDATA[
Bean definitions can provide qualifiers to match against annotations
on a field or parameter for fine-grained autowire candidate resolution.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="type" type="xsd:string" default="org.springframework.beans.factory.annotation.Qualifier"/>
<xsd:attribute name="value" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="attribute" type="metaType">
<xsd:annotation>
<xsd:documentation><![CDATA[
A qualifier element may contain attribute child elements as key-value
pairs. These will be available for matching against attributes of a
qualifier annotation on an autowired field or parameter if present.
]]></xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="lookup-method">
<xsd:annotation>
<xsd:documentation><![CDATA[
A lookup method causes the IoC container to override the given method
and return the bean with the name given in the bean attribute. This is
a form of Method Injection. It is particularly useful as an alternative
to implementing the BeanFactoryAware interface, in order to be able to
make getBean() calls for non-singleton instances at runtime. In this
case, Method Injection is a less invasive alternative.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="xsd:anyType">
<xsd:attribute name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the lookup method. This method may have arguments which
will be passed on to the target constructor or factory method. Note
that for backwards compatibility reasons, in a scenario with overloaded
non-abstract methods of the given name, only the no-arg variant of a
method will be turned into a container-driven lookup method.
Consider using the @Lookup annotation for more specific demarcation.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="bean" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the bean in the current or ancestor factories that
the lookup method should resolve to. Usually this bean will be a
prototype, in which case the lookup method will return a distinct
instance on every invocation. If not specified, the lookup method's
return type will be used for a type-based lookup.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="replaced-method">
<xsd:annotation>
<xsd:documentation><![CDATA[
Similar to the lookup method mechanism, the replaced-method element
is used to control IoC container method overriding: Method Injection.
This mechanism allows the overriding of a method with arbitrary code.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="arg-type"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the method whose implementation must be replaced by the
IoC container. If this method is not overloaded, there is no need
to use arg-type subelements. If this method is overloaded, arg-type
subelements must be used for all override definitions for the method.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="replacer" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="java:org.springframework.beans.factory.support.MethodReplacer"><![CDATA[
Bean name of an implementation of the MethodReplacer interface in the
current or ancestor factories. This may be a singleton or prototype
bean. If it is a prototype, a new instance will be used for each
method replacement. Singleton usage is the norm.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="arg-type">
<xsd:annotation>
<xsd:documentation><![CDATA[
Identifies an argument for a replaced method in the event of
method overloading.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="true">
<xsd:choice minOccurs="0" maxOccurs="unbounded"/>
<xsd:attribute name="match" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
Specification of the type of an overloaded method argument as a String.
For convenience, this may be a substring of the FQN. E.g. all the
following would match "java.lang.String":
- java.lang.String
- String
- Str
As the number of arguments will be checked also, this convenience
can often be used to save typing.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="ref">
<xsd:annotation>
<xsd:documentation><![CDATA[
Defines a reference to another bean in this factory or an external
factory (parent or included factory).
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="xsd:anyType">
<xsd:attribute name="bean" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the referenced bean.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="parent" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the referenced bean in a parent factory.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="idref">
<xsd:annotation>
<xsd:documentation><![CDATA[
The id of another bean in this factory or an external factory
(parent or included factory).
While a regular 'value' element could instead be used for the
same effect, using idref indicates that the Spring container
should check that the value actually corresponds to a bean id.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="xsd:anyType">
<xsd:attribute name="bean" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the referenced bean.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="value">
<xsd:annotation>
<xsd:documentation><![CDATA[
Contains a string representation of a property value.
The property may be a string, or may be converted to the required
type using the JavaBeans PropertyEditor machinery. This makes it
possible for application developers to write custom PropertyEditor
implementations that can convert strings to arbitrary target objects.
Note that this is recommended for simple objects only. Configure
more complex objects by populating JavaBean properties with
references to other beans.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="true">
<xsd:choice minOccurs="0" maxOccurs="unbounded"/>
<xsd:attribute name="type" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The exact type that the value should be converted to. Only needed
if the type of the target property or constructor argument is
too generic: for example, in case of a collection element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="null">
<xsd:annotation>
<xsd:documentation><![CDATA[
Denotes a Java null value. Necessary because an empty "value" tag
will resolve to an empty String, which will not be resolved to a
null value unless a special PropertyEditor does so.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="true">
<xsd:choice minOccurs="0" maxOccurs="unbounded"/>
</xsd:complexType>
</xsd:element>
<!-- Collection Elements -->
<xsd:group name="collectionElements">
<xsd:sequence>
<xsd:element ref="description" minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="bean"/>
<xsd:element ref="ref"/>
<xsd:element ref="idref"/>
<xsd:element ref="value"/>
<xsd:element ref="null"/>
<xsd:element ref="array"/>
<xsd:element ref="list"/>
<xsd:element ref="set"/>
<xsd:element ref="map"/>
<xsd:element ref="props"/>
<xsd:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded"/>
</xsd:choice>
</xsd:sequence>
</xsd:group>
<xsd:element name="array">
<xsd:annotation>
<xsd:documentation><![CDATA[
An array can contain multiple inner bean, ref, collection, or value elements.
This configuration element will always result in an array, even when being
defined e.g. as a value for a map with value type Object.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="listOrSetType">
<xsd:attribute name="merge" default="default" type="defaultable-boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Enables/disables merging for collections when using parent/child beans.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="list">
<xsd:annotation>
<xsd:documentation><![CDATA[
A list can contain multiple inner bean, ref, collection, or value elements.
A list can also map to an array type; the necessary conversion is performed
automatically.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="listOrSetType">
<xsd:attribute name="merge" default="default" type="defaultable-boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Enables/disables merging for collections when using parent/child beans.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="set">
<xsd:annotation>
<xsd:documentation><![CDATA[
A set can contain multiple inner bean, ref, collection, or value elements.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="listOrSetType">
<xsd:attribute name="merge" default="default" type="defaultable-boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Enables/disables merging for collections when using parent/child beans.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="map">
<xsd:annotation>
<xsd:documentation><![CDATA[
A mapping from a key to an object. Maps may be empty.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="mapType">
<xsd:attribute name="merge" default="default" type="defaultable-boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Enables/disables merging for collections when using parent/child beans.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="entry" type="entryType">
<xsd:annotation>
<xsd:documentation><![CDATA[
A map entry can be an inner bean, ref, value, or collection.
The key of the entry is given by the "key" attribute or child element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="props">
<xsd:annotation>
<xsd:documentation><![CDATA[
Props elements differ from map elements in that values must be strings.
Props may be empty.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="propsType">
<xsd:attribute name="merge" default="default" type="defaultable-boolean">
<xsd:annotation>
<xsd:documentation><![CDATA[
Enables/disables merging for collections when using parent/child beans.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="key">
<xsd:annotation>
<xsd:documentation><![CDATA[
A key element can contain an inner bean, ref, value, or collection.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:group ref="collectionElements"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="prop">
<xsd:annotation>
<xsd:documentation><![CDATA[
The string value of the property. Note that whitespace is trimmed
off to avoid unwanted whitespace caused by typical XML formatting.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="true">
<xsd:choice minOccurs="0" maxOccurs="unbounded"/>
<xsd:attribute name="key" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
The key of the property entry.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="propertyType">
<xsd:sequence>
<xsd:element ref="description" minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="1">
<xsd:element ref="meta"/>
<xsd:element ref="bean"/>
<xsd:element ref="ref"/>
<xsd:element ref="idref"/>
<xsd:element ref="value"/>
<xsd:element ref="null"/>
<xsd:element ref="array"/>
<xsd:element ref="list"/>
<xsd:element ref="set"/>
<xsd:element ref="map"/>
<xsd:element ref="props"/>
<xsd:any namespace="##other" processContents="strict"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the property, following JavaBean naming conventions.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="ref" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
A short-cut alternative to a nested "<ref bean='...'/>".
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="value" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
A short-cut alternative to a nested "<value>...</value>" element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<!-- Collection Types -->
<!-- base type for collections that have (possibly) typed nested values -->
<xsd:complexType name="collectionType">
<xsd:attribute name="value-type" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="java:java.lang.Class"><![CDATA[
The default Java type for nested values. Must be a fully qualified
class name.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<!-- 'list' and 'set' collection type -->
<xsd:complexType name="listOrSetType">
<xsd:complexContent>
<xsd:extension base="collectionType">
<xsd:group ref="collectionElements"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<!-- 'map' element type -->
<xsd:complexType name="mapType">
<xsd:complexContent>
<xsd:extension base="collectionType">
<xsd:sequence>
<xsd:element ref="description" minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="entry"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="key-type" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="java:java.lang.Class"><![CDATA[
The default Java type for nested entry keys. Must be a fully qualified
class name.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<!-- 'entry' element type -->
<xsd:complexType name="entryType">
<xsd:sequence>
<xsd:element ref="key" minOccurs="0"/>
<xsd:group ref="collectionElements"/>
</xsd:sequence>
<xsd:attribute name="key" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
Each map element must specify its key as attribute or as child element.
A key attribute is always a String value.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="key-ref" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
A short-cut alternative to a to a "key" element with a nested
"<ref bean='...'/>".
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="value" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
A short-cut alternative to a nested "<value>...</value>"
element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="value-ref" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
A short-cut alternative to a nested "<ref bean='...'/>".
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="value-type" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
A short-cut alternative to a 'type' attribute on a nested
"<value type='...' >...</value>" element.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<!-- 'props' collection type -->
<xsd:complexType name="propsType">
<xsd:complexContent>
<xsd:extension base="collectionType">
<xsd:sequence>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="prop"/>
</xsd:choice>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<!-- simple internal types -->
<xsd:simpleType name="defaultable-boolean">
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="default"/>
<xsd:enumeration value="true"/>
<xsd:enumeration value="false"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://www.springframework.org/schema/context"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:tool="http://www.springframework.org/schema/tool"
targetNamespace="http://www.springframework.org/schema/context"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xsd:import namespace="http://www.springframework.org/schema/beans" schemaLocation="https://www.springframework.org/schema/beans/spring-beans-3.0.xsd"/>
<xsd:import namespace="http://www.springframework.org/schema/tool" schemaLocation="https://www.springframework.org/schema/tool/spring-tool-3.0.xsd"/>
<xsd:annotation>
<xsd:documentation><![CDATA[
Defines the configuration elements for the Spring Framework's application
context support. Effects the activation of various configuration styles
for the containing Spring ApplicationContext.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType name="propertyPlaceholder">
<xsd:attribute name="location" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The location of the properties file to resolve placeholders against, as a Spring
resource location: a URL, a "classpath:" pseudo URL, or a relative file path.
Multiple locations may be specified, separated by commas. If neither location nor properties-ref is
specified, placeholders will be resolved against system properties.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="properties-ref" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="java:java.util.Properties"><![CDATA[
The bean name of a Java Properties object that will be used for property substitution.
If neither location nor properties-ref is specified, placeholders will be resolved against system properties.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="file-encoding" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
Specifies the encoding to use for parsing properties files. Default is none,
using the java.util.Properties default encoding. Only applies to classic
properties files, not to XML files.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="order" type="xsd:integer">
<xsd:annotation>
<xsd:documentation><![CDATA[
Specifies the order for this placeholder configurer. If more than one is present in a context
the order can be important since the first one to be match a placeholder will win. Often used
in conjunction with
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="ignore-resource-not-found" type="xsd:boolean"
default="false">
<xsd:annotation>
<xsd:documentation><![CDATA[
Specifies if failure to find the property resource location should be ignored. Default
is "false", meaning that if there is no file in the location specified an exception will
be raised at runtime.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="ignore-unresolvable" type="xsd:boolean"
default="false">
<xsd:annotation>
<xsd:documentation><![CDATA[
Specifies if failure to find the property value to replace a key should be ignored. Default
is "false", meaning that this placeholder configurer will raise an exception if it cannot resolve
a key. Set to "true" to allow the configurer to pass on the key to any others in
the context that have not yet visited the key in question.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="local-override" type="xsd:boolean"
default="false">
<xsd:annotation>
<xsd:documentation><![CDATA[
Specifies whether local properties override properties from files. Default
is "false": Properties from files override local defaults.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:element name="property-placeholder">
<xsd:annotation>
<xsd:documentation><![CDATA[
Activates replacement of ${...} placeholders, resolved against the specified properties file or
Properties object (if any). Falls back to resolving placeholders against JVM system properties.
Alternatively, define a parameterized PropertyPlaceholderConfigurer bean in the context.
]]></xsd:documentation>
<xsd:appinfo>
<tool:annotation>
<tool:exports
type="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" />
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="propertyPlaceholder">
<xsd:attribute name="system-properties-mode" default="FALLBACK">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="NEVER"/>
<xsd:enumeration value="FALLBACK"/>
<xsd:enumeration value="OVERRIDE"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="property-override">
<xsd:annotation>
<xsd:documentation><![CDATA[
Activates pushing of override values into bean properties, based on configuration
lines of the following format: beanName.property=value
]]></xsd:documentation>
<xsd:appinfo>
<tool:annotation>
<tool:exports
type="org.springframework.beans.factory.config.PropertyOverrideConfigurer" />
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="propertyPlaceholder" />
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="annotation-config">
<xsd:annotation>
<xsd:documentation><![CDATA[
Activates various annotations to be detected in bean classes: Spring's @Required and
@Autowired, as well as JSR 250's @PostConstruct, @PreDestroy and @Resource (if available),
JAX-WS's @WebServiceRef (if available), EJB3's @EJB (if available), and JPA's
@PersistenceContext and @PersistenceUnit (if available). Alternatively, you may
choose to activate the individual BeanPostProcessors for those annotations.
Note: This tag does not activate processing of Spring's @Transactional or EJB3's
@TransactionAttribute annotation. Consider the use of the <tx:annotation-driven>
tag for that purpose.
]]></xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="component-scan">
<xsd:annotation>
<xsd:documentation><![CDATA[
Scans the classpath for annotated components that will be auto-registered as
Spring beans. By default, the Spring-provided @Component, @Repository,
@Service, and @Controller stereotypes will be detected.
Note: This tag implies the effects of the 'annotation-config' tag, activating @Required,
@Autowired, @PostConstruct, @PreDestroy, @Resource, @PersistenceContext and @PersistenceUnit
annotations in the component classes, which is usually desired for autodetected components
(without external configuration). Turn off the 'annotation-config' attribute to deactivate
this default behavior, for example in order to use custom BeanPostProcessor definitions
for handling those annotations.
Note: You may use placeholders in package paths, but only resolved against system
properties (analogous to resource paths). A component scan results in new bean definition
being registered; Spring's PropertyPlaceholderConfigurer will apply to those bean
definitions just like to regular bean definitions, but it won't apply to the component
scan settings themselves.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="include-filter" type="filterType"
minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation><![CDATA[
Controls which eligible types to include for component scanning.
]]></xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="exclude-filter" type="filterType"
minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation><![CDATA[
Controls which eligible types to exclude for component scanning.
]]></xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="base-package" type="xsd:string"
use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
The comma-separated list of packages to scan for annotated components.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="resource-pattern" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
Controls the class files eligible for component detection. Defaults to "**/*.class", the recommended value.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="use-default-filters" type="xsd:boolean"
default="true">
<xsd:annotation>
<xsd:documentation><![CDATA[
Indicates whether automatic detection of classes annotated with @Component, @Repository, @Service,
or @Controller should be enabled. Default is "true".
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="annotation-config" type="xsd:boolean"
default="true">
<xsd:annotation>
<xsd:documentation><![CDATA[
Indicates whether the implicit annotation post-processors should be enabled. Default is "true".
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="name-generator" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The fully-qualified class name of the BeanNameGenerator to be used for naming detected components.
]]></xsd:documentation>
<xsd:appinfo>
<tool:annotation>
<tool:expected-type type="java.lang.Class" />
<tool:assignable-to
type="org.springframework.beans.factory.support.BeanNameGenerator" />
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="scope-resolver" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The fully-qualified class name of the ScopeMetadataResolver to be used for resolving the scope of
detected components.
]]></xsd:documentation>
<xsd:appinfo>
<tool:annotation>
<tool:expected-type type="java.lang.Class" />
<tool:assignable-to
type="org.springframework.context.annotation.ScopeMetadataResolver" />
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="scoped-proxy">
<xsd:annotation>
<xsd:documentation><![CDATA[
Indicates whether proxies should be generated for detected components, which may be necessary
when using scopes in a proxy-style fashion. Default is to generate no such proxies.
]]></xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="no" />
<xsd:enumeration value="interfaces" />
<xsd:enumeration value="targetClass" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="load-time-weaver">
<xsd:annotation>
<xsd:documentation><![CDATA[
Activates a Spring LoadTimeWeaver for this application context, available as
a bean with the name "loadTimeWeaver". Any bean that implements the
LoadTimeWeaverAware interface will then receive the LoadTimeWeaver reference
automatically; for example, Spring's JPA bootstrap support.
The default weaver is determined automatically. As of Spring 2.5: detecting
Sun's GlassFish, Oracle's OC4J, Spring's VM agent and any ClassLoader
supported by Spring's ReflectiveLoadTimeWeaver (for example, the
TomcatInstrumentableClassLoader).
The activation of AspectJ load-time weaving is specified via a simple flag
(the 'aspectj-weaving' attribute), with the AspectJ class transformer
registered through Spring's LoadTimeWeaver. AspectJ weaving will be activated
by default if a "META-INF/aop.xml" resource is present in the classpath.
This also activates the current application context for applying dependency
injection to non-managed classes that are instantiated outside of the Spring
bean factory (typically classes annotated with the @Configurable annotation).
This will only happen if the AnnotationBeanConfigurerAspect is on the classpath
(i.e. spring-aspects.jar), effectively activating "spring-configured" by default.
]]></xsd:documentation>
<xsd:appinfo>
<tool:annotation>
<tool:exports
type="org.springframework.instrument.classloading.LoadTimeWeaver" />
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="weaver-class" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The fully-qualified classname of the LoadTimeWeaver that is to be activated.
]]></xsd:documentation>
<xsd:appinfo>
<tool:annotation>
<tool:expected-type type="java.lang.Class" />
<tool:assignable-to
type="org.springframework.instrument.classloading.LoadTimeWeaver" />
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="aspectj-weaving" default="autodetect">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="on">
<xsd:annotation>
<xsd:documentation><![CDATA[
Switches Spring-based AspectJ load-time weaving on.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="off">
<xsd:annotation>
<xsd:documentation><![CDATA[
Switches Spring-based AspectJ load-time weaving off.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="autodetect">
<xsd:annotation>
<xsd:documentation><![CDATA[
Switches AspectJ load-time weaving on if a "META-INF/aop.xml" resource
is present in the classpath. If there is no such resource, then AspectJ
load-time weaving will be switched off.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="spring-configured">
<xsd:annotation>
<xsd:documentation
source="java:org.springframework.beans.factory.aspectj.AnnotationBeanConfigurerAspect">
<![CDATA[
Signals the current application context to apply dependency injection
to non-managed classes that are instantiated outside of the Spring bean
factory (typically classes annotated with the @Configurable annotation).
]]></xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string" />
</xsd:simpleType>
</xsd:element>
<xsd:element name="mbean-export">
<xsd:annotation>
<xsd:documentation
source="java:org.springframework.jmx.export.annotation.AnnotationMBeanExporter"><![CDATA[
Activates default exporting of MBeans by detecting standard MBeans in the Spring
context as well as @ManagedResource annotations on Spring-defined beans.
The resulting MBeanExporter bean is defined under the name "mbeanExporter".
Alternatively, consider defining a custom AnnotationMBeanExporter bean explicitly.
]]></xsd:documentation>
<xsd:appinfo>
<tool:annotation>
<tool:exports
type="org.springframework.jmx.export.annotation.AnnotationMBeanExporter" />
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="default-domain" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The default domain to use when generating JMX ObjectNames.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="server" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The bean name of the MBeanServer to which MBeans should be exported.
Default is to use the platform's default MBeanServer (autodetecting
WebLogic 9+, WebSphere 5.1+ and the JDK 1.5+ platform MBeanServer).
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="registration">
<xsd:annotation>
<xsd:documentation><![CDATA[
The registration behavior, indicating how to deal with existing MBeans
of the same name: fail with an exception, ignore and keep the existing
MBean, or replace the existing one with the new MBean.
Default is to fail with an exception.
]]></xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="failOnExisting" />
<xsd:enumeration value="ignoreExisting" />
<xsd:enumeration value="replaceExisting" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="mbean-server">
<xsd:annotation>
<xsd:documentation
source="java:org.springframework.jmx.support.MBeanServerFactoryBean"><![CDATA[
Exposes a default MBeanServer for the current platform.
Autodetects WebLogic 9+, WebSphere 6.1+ and the JDK 1.5+ platform MBeanServer.
The default bean name for the exposed MBeanServer is "mbeanServer".
This may be customized through specifying the "id" attribute.
]]></xsd:documentation>
<xsd:appinfo>
<tool:annotation>
<tool:exports type="javax.management.MBeanServer" />
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="beans:identifiedType">
<xsd:attribute name="agent-id" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The agent id of the target MBeanServer, if any.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="filterType">
<xsd:attribute name="type" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
Controls the type of filtering to apply to the expression.
"annotation" indicates an annotation to be present at the type level in target components;
"assignable" indicates a class (or interface) that the target components are assignable to (extend/implement);
"aspectj" indicates an AspectJ type expression to be matched by the target components;
"regex" indicates a regex expression to be matched by the target components' class names;
"custom" indicates a custom implementation of the org.springframework.core.type.TypeFilter interface.
Note: This attribute will not be inherited by child bean definitions.
Hence, it needs to be specified per concrete bean definition.
]]></xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="annotation" />
<xsd:enumeration value="assignable" />
<xsd:enumeration value="aspectj" />
<xsd:enumeration value="regex" />
<xsd:enumeration value="custom" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="expression" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
Indicates the filter expression, the type of which is indicated by "type".
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:schema>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xsd:schema xmlns="http://www.springframework.org/schema/jee"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:tool="http://www.springframework.org/schema/tool"
targetNamespace="http://www.springframework.org/schema/jee"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xsd:import namespace="http://www.springframework.org/schema/beans" schemaLocation="https://www.springframework.org/schema/beans/spring-beans-3.0.xsd"/>
<xsd:import namespace="http://www.springframework.org/schema/tool" schemaLocation="https://www.springframework.org/schema/tool/spring-tool-3.0.xsd"/>
<xsd:annotation>
<xsd:documentation><![CDATA[
Defines configuration elements for access to traditional Java EE components
such as JNDI resources and EJB session beans.
]]></xsd:documentation>
</xsd:annotation>
<xsd:element name="jndi-lookup">
<xsd:annotation>
<xsd:documentation source="java:org.springframework.jndi.JndiObjectFactoryBean"><![CDATA[
Exposes an object reference via a JNDI lookup.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="jndiLocatingType">
<xsd:attribute name="cache" type="xsd:boolean" default="true">
<xsd:annotation>
<xsd:documentation><![CDATA[
Controls whether the object returned from the JNDI lookup is cached
after the first lookup.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="expected-type" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="java:java.lang.Class"><![CDATA[
The type that the located JNDI object is supposed to be assignable
to, if indeed any.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="lookup-on-startup" type="xsd:boolean" default="true">
<xsd:annotation>
<xsd:documentation><![CDATA[
Controls whether the JNDI lookup is performed immediately on startup
(if true, the default), or on first access (if false).
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="proxy-interface" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="java:java.lang.Class"><![CDATA[
The proxy interface to use for the JNDI object.
Needs to be specified because the actual JNDI object type is not
known in advance in case of a lazy lookup.
Typically used in conjunction with "lookupOnStartup"=false and/or
"cache"=false.
]]></xsd:documentation>
<xsd:appinfo>
<tool:annotation>
<tool:expected-type type="java.lang.Class"/>
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="default-value" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
Specify a default literal value to fall back to if the JNDI lookup fails.
This is typically used for literal values in scenarios where the JNDI environment
might define specific config settings but those are not required to be present.
Default is none. Note: This is only supported for lookup on startup.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="default-ref" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
Specify a default bean reference to fall back to if the JNDI lookup fails.
This might for example point to a local fallback DataSource.
Default is none. Note: This is only supported for lookup on startup.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="local-slsb" type="ejbType">
<xsd:annotation>
<xsd:documentation source="java:org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean"><![CDATA[
Exposes a reference to a local EJB Stateless SessionBean.
]]></xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="remote-slsb">
<xsd:annotation>
<xsd:documentation source="java:org.springframework.ejb.access.SimpleRemoteStatelessSessionProxyFactoryBean"><![CDATA[
Exposes a reference to a remote EJB Stateless SessionBean.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="ejbType">
<xsd:attribute name="home-interface" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="java:java.lang.Class"><![CDATA[
The home interface that will be narrowed to before performing
the parameterless SLSB create() call that returns the actual
SLSB proxy.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="refresh-home-on-connect-failure" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation><![CDATA[
Controls whether to refresh the EJB home on connect failure.
Can be turned on to allow for hot restart of the EJB server.
If a cached EJB home throws an RMI exception that indicates a
remote connect failure, a fresh home will be fetched and the
invocation will be retried.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="cache-session-bean" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation><![CDATA[
Controls whether to cache the actual session bean object.
Off by default for standard EJB compliance. Turn this flag
on to optimize session bean access for servers that are
known to allow for caching the actual session bean object.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<!-- base types -->
<xsd:complexType name="jndiLocatingType" abstract="true">
<xsd:complexContent>
<xsd:extension base="beans:identifiedType">
<xsd:sequence>
<xsd:element name="environment" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation><![CDATA[
The newline-separated, key-value pairs for the JNDI environment
(in standard Properties format, namely 'key=value' pairs)
]]></xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="environment-ref" type="environmentRefType">
<xsd:annotation>
<xsd:documentation><![CDATA[
A reference to JNDI environment properties, indicating the name of a
shared bean of type [java.util.Properties}.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="jndi-name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
The JNDI name to look up. This may be a fully-qualified JNDI path
or a local Java EE environment naming context path in which case the
prefix "java:comp/env/" will be prepended if applicable.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="resource-ref" type="xsd:boolean" default="true">
<xsd:annotation>
<xsd:documentation><![CDATA[
Controls whether the lookup occurs in a Java EE container, i.e. if the
prefix "java:comp/env/" needs to be added if the JNDI name doesn't
already contain it. Default is "true" (since Spring 2.5).
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="expose-access-context" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation><![CDATA[
Set whether to expose the JNDI environment context for all access to the target
EJB, i.e. for all method invocations on the exposed object reference.
Default is "false", i.e. to only expose the JNDI context for object lookup.
Switch this flag to "true" in order to expose the JNDI environment (including
the authorization context) for each EJB invocation, as needed by WebLogic
for EJBs with authorization requirements.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ejbType">
<xsd:complexContent>
<xsd:extension base="jndiLocatingType">
<xsd:attribute name="lookup-home-on-startup" type="xsd:boolean" default="true">
<xsd:annotation>
<xsd:documentation><![CDATA[
Controls whether the lookup of the EJB home object is performed
immediately on startup (if true, the default), or on first access
(if false).
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="cache-home" type="xsd:boolean" default="true">
<xsd:annotation>
<xsd:documentation><![CDATA[
Controls whether the EJB home object is cached once it has been located.
On by default; turn this flag off to always reobtain fresh home objects.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="business-interface" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation source="java:java.lang.Class"><![CDATA[
The business interface of the EJB being proxied.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="environmentRefType">
<xsd:annotation>
<xsd:appinfo>
<tool:annotation kind="ref">
<tool:expected-type type="java.util.Properties"/>
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
<xsd:union memberTypes="xsd:string"/>
</xsd:simpleType>
</xsd:schema>
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns="http://www.springframework.org/schema/mvc"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:tool="http://www.springframework.org/schema/tool"
targetNamespace="http://www.springframework.org/schema/mvc"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xsd:import namespace="http://www.springframework.org/schema/beans" schemaLocation="https://www.springframework.org/schema/beans/spring-beans-3.0.xsd" />
<xsd:import namespace="http://www.springframework.org/schema/tool" schemaLocation="https://www.springframework.org/schema/tool/spring-tool-3.0.xsd" />
<xsd:element name="annotation-driven">
<xsd:annotation>
<xsd:documentation source="java:org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter"><![CDATA[
Configures the annotation-driven Spring MVC Controller programming model.
Note that, with Spring 3.0, this tag works in Servlet MVC only!
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="conversion-service" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="java:org.springframework.core.convert.ConversionService"><![CDATA[
The bean name of the ConversionService that is to be used for type conversion during field binding.
This attribute is not required, and only needs to be specified explicitly if custom converters need to be configured.
If not specified, a default FormattingConversionService is registered that contains converters to/from standard JDK types.
In addition, full support for date/time formatting will be installed if the Joda Time library is present on the classpath.
]]></xsd:documentation>
<xsd:appinfo>
<tool:annotation kind="ref">
<tool:expected-type type="java:org.springframework.core.convert.ConversionService" />
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="validator" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="java:org.springframework.validation.Validator"><![CDATA[
The bean name of the Validator that is to be used to validate Controller model objects.
This attribute is not required, and only needs to be specified explicitly if a custom Validator needs to be configured.
If not specified, JSR-303 validation will be installed if a JSR-303 provider is present on the classpath.
]]></xsd:documentation>
<xsd:appinfo>
<tool:annotation kind="ref">
<tool:expected-type type="java:org.springframework.validation.Validator" />
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="resources">
<xsd:annotation>
<xsd:documentation
source="java:org.springframework.web.servlet.resource.ResourceHttpRequestHandler"><![CDATA[
Configures a handler for serving static resources such as images, js, and, css files with cache headers optimized for efficient
loading in a web browser. Allows resources to be served out of any path that is reachable via Spring's Resource handling.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="mapping" use="required" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The URL mapping pattern, within the current Servlet context, to use for serving resources from this handler, such as "/resources/**"
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="location" use="required" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The resource location from which to serve static content, specified at a Spring Resource pattern.
Each location must point to a valid directory. Multiple locations may be specified as a comma-separated list,
and the locations will be checked for a given resource in the order specified. For example, a value of
"/, classpath:/META-INF/public-web-resources/" will allow resources to be served both from the web app
root and from any JAR on the classpath that contains a /META-INF/public-web-resources/ directory,
with resources in the web app root taking precedence.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="cache-period" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
<![CDATA[
Specifies the cache period for the resources served by this resource handler, in seconds.
The default is to not send any cache headers but rather to rely on last-modified timestamps only.
Set this to 0 in order to send cache headers that prevent caching, or to a positive number of
seconds in order to send cache headers with the given max-age value.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="order" type="xsd:int">
<xsd:annotation>
<xsd:documentation>
<![CDATA[
Specifies the order of the HandlerMapping for the resource handler. The default order is Ordered.LOWEST_PRECEDENCE - 1.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="default-servlet-handler">
<xsd:annotation>
<xsd:documentation
source="java:org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler"><![CDATA[
Configures a handler for serving static resources by forwarding to the Servlet container's default Servlet. Use of this
handler allows using a "/" mapping with the DispatcherServlet while still utilizing the Servlet container to serve static
resources.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="default-servlet-name" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the default Servlet to forward to for static resource requests. The handler will try to auto-detect the container's
default Servlet at startup time using a list of known names. If the default Servlet cannot be detected because of using an unknown
container or because it has been manually configured, the servlet name must be set explicitly.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="interceptors">
<xsd:annotation>
<xsd:documentation><![CDATA[
The ordered set of interceptors that intercept HTTP Servlet Requests handled by Controllers.
Interceptors allow requests to be pre/post processed before/after handling.
Each inteceptor must implement the org.springframework.web.servlet.HandlerInterceptor or
org.springframework.web.context.request.WebRequestInterceptor interface.
The interceptors in this set are automatically configured on each registered HandlerMapping.
The URI paths each interceptor applies to are configurable.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element ref="beans:bean">
<xsd:annotation>
<xsd:documentation source="java:org.springframework.web.servlet.handler.MappedInterceptor"><![CDATA[
Registers an interceptor that intercepts every request regardless of its URI path.
]]></xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="interceptor">
<xsd:annotation>
<xsd:documentation source="java:org.springframework.web.servlet.handler.MappedInterceptor"><![CDATA[
Registers an interceptor that interceptors requests sent to one or more URI paths.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="mapping" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name="path" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
A path into the application intercepted by this interceptor.
Exact path mapping URIs (such as "/myPath") are supported as well as Ant-stype path patterns (such as /myPath/**).
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element ref="beans:bean">
<xsd:annotation>
<xsd:documentation><![CDATA[
The interceptor's bean definition.
]]></xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
<xsd:element name="view-controller">
<xsd:annotation>
<xsd:documentation
source="java:org.springframework.web.servlet.mvc.ParameterizableViewController"><![CDATA[
Defines a simple Controller that selects a view to render the response.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="path" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
The URL path the view is mapped to.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="view-name" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The name of the view to render. Optional.
If not specified, the view name will be determined from the current HttpServletRequest
by the DispatcherServlet's RequestToViewNameTranslator.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xsd:schema xmlns="http://www.springframework.org/schema/tool"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.springframework.org/schema/tool"
elementFormDefault="qualified">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
<xsd:annotation>
<xsd:documentation><![CDATA[
Defines the tool support annotations for Spring's configuration namespaces.
Used in other namespace XSD files; not intended for direct use in config files.
]]></xsd:documentation>
</xsd:annotation>
<xsd:element name="annotation">
<xsd:complexType>
<xsd:sequence minOccurs="0">
<xsd:element name="expected-type" type="typedParameterType" minOccurs="0" maxOccurs="1"/>
<xsd:element name="assignable-to" type="assignableToType" minOccurs="0" maxOccurs="1"/>
<xsd:element name="exports" type="exportsType" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="registers-scope" type="registersScopeType" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="expected-method" type="expectedMethodType" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="kind" default="direct">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ref"/>
<xsd:enumeration value="direct"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="typedParameterType">
<xsd:attribute name="type" type="xsd:string" use="required"/>
</xsd:complexType>
<xsd:complexType name="assignableToType">
<xsd:attribute name="type" type="xsd:string"/>
<xsd:attribute name="restriction" default="both">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="both"/>
<xsd:enumeration value="interface-only"/>
<xsd:enumeration value="class-only"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="expectedMethodType">
<xsd:attribute name="type" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
Defines an XPath query that can be executed against the node annotated with this
type to determine the class for which the this method is valid
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="type-ref" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
Defines an XPath query that can be executed against the node annotated with this
type to determine a referenced bean (by id or alias) for which the given method is valid
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="expression" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
Defines an AspectJ method execution pointcut expressions that matches valid methods
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="exportsType">
<xsd:annotation>
<xsd:documentation><![CDATA[
Indicates that an annotated type exports an application visible component.
]]></xsd:documentation>
</xsd:annotation>
<xsd:attribute name="type" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[
The type of the exported component. May be null if the type is not known until runtime.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="identifier" type="xsd:string" default="@id">
<xsd:annotation>
<xsd:documentation><![CDATA[
Defines an XPath query that can be executed against the node annotated with this
type to determine the identifier of any exported component.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="registersScopeType">
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[
Defines the name of a custom bean scope that the annotated type registers, e.g. "conversation".
Such a scope will be available in addition to the standard "singleton" and "prototype" scopes
(plus "request", "session" and "globalSession" in a web application environment).
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:schema>
annotation.processing.enabled=true
annotation.processing.enabled.in.editor=true
annotation.processing.processors.list=
annotation.processing.run.all.processors=true
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
auxiliary.org-netbeans-modules-whitelist.whitelist-oracle=false
build.classes.dir=${build.web.dir}/WEB-INF/classes
build.classes.excludes=**/*.java,**/*.form
build.dir=build
build.generated.dir=${build.dir}/generated
build.generated.sources.dir=${build.dir}/generated-sources
build.test.classes.dir=${build.dir}/test/classes
build.test.results.dir=${build.dir}/test/results
build.web.dir=${build.dir}/web
build.web.excludes=${build.classes.excludes}
client.urlPart=
compile.jsps=false
conf.dir=conf
debug.classpath=${build.classes.dir}:${javac.classpath}
debug.test.classpath=\
${run.test.classpath}
display.browser=true
dist.dir=dist
dist.ear.war=${dist.dir}/${war.ear.name}
dist.javadoc.dir=${dist.dir}/javadoc
dist.war=${dist.dir}/${war.name}
endorsed.classpath=\
${libs.javaee-endorsed-api-6.0.classpath}
excludes=
file.reference.activation-1.1.jar=lib/activation-1.1.jar
file.reference.commons-beanutils-1.7.0.jar=lib/commons-beanutils-1.7.0.jar
file.reference.commons-chain-1.1.jar=lib/commons-chain-1.1.jar
file.reference.commons-codec-1.6.jar=lib/commons-codec-1.6.jar
file.reference.commons-collections-3.1.jar=lib/commons-collections-3.1.jar
file.reference.commons-configuration-1.6.jar=lib/commons-configuration-1.6.jar
file.reference.commons-dbcp-1.4.jar=lib/commons-dbcp-1.4.jar
file.reference.commons-digester-1.8.jar=lib/commons-digester-1.8.jar
file.reference.commons-discovery-0.2.jar=lib/commons-discovery-0.2.jar
file.reference.commons-fileupload-1.1.1.jar=lib/commons-fileupload-1.1.1.jar
file.reference.commons-httpclient-3.1.jar=lib/commons-httpclient-3.1.jar
file.reference.commons-io-1.1.jar=lib/commons-io-1.1.jar
file.reference.commons-lang-2.3.jar=lib/commons-lang-2.3.jar
file.reference.commons-lang3-3.2.1.jar=lib/commons-lang3-3.2.1.jar
file.reference.commons-logging-1.1.1.jar=lib/commons-logging-1.1.1.jar
file.reference.commons-pool-1.4.jar=lib/commons-pool-1.4.jar
file.reference.commons-validator-1.3.1.jar=lib/commons-validator-1.3.1.jar
file.reference.DDA_CRN_Exhibicion-src=src
file.reference.dom4j-1.6.1.jar=lib/dom4j-1.6.1.jar
file.reference.ezmorph.jar=lib/ezmorph.jar
file.reference.httpclient-4.2.3.jar=lib/httpclient-4.2.3.jar
file.reference.httpcore-4.2.3.jar=lib/httpcore-4.2.3.jar
file.reference.httpcore-nio-4.2.3.jar=lib/httpcore-nio-4.2.3.jar
file.reference.jackson-all-1.9.11.jar=lib/jackson-all-1.9.11.jar
file.reference.javax.ejb-api-3.2.2.jar=lib/javax.ejb-api-3.2.2.jar
file.reference.javax.servlet-3.0.jar=lib/javax.servlet-3.0.jar
file.reference.json-lib-2.2.2-jdk15.jar=lib/json-lib-2.2.2-jdk15.jar
file.reference.lib-lib=lib/lib
file.reference.log4j-1.2.16.jar=lib/log4j-1.2.16.jar
file.reference.mail-1.4.jar=lib/mail-1.4.jar
file.reference.neethi-3.0.2.jar=lib/neethi-3.0.2.jar
file.reference.ojdbc6.jar=lib/ojdbc6.jar
file.reference.org.springframework.aop-3.1.2.RELEASE.jar=lib/org.springframework.aop-3.1.2.RELEASE.jar
file.reference.org.springframework.asm-3.1.2.RELEASE.jar=lib/org.springframework.asm-3.1.2.RELEASE.jar
file.reference.org.springframework.aspects-3.1.2.RELEASE.jar=lib/org.springframework.aspects-3.1.2.RELEASE.jar
file.reference.org.springframework.beans-3.1.2.RELEASE.jar=lib/org.springframework.beans-3.1.2.RELEASE.jar
file.reference.org.springframework.context-3.1.2.RELEASE.jar=lib/org.springframework.context-3.1.2.RELEASE.jar
file.reference.org.springframework.context.support-3.1.2.RELEASE.jar=lib/org.springframework.context.support-3.1.2.RELEASE.jar
file.reference.org.springframework.core-3.1.2.RELEASE.jar=lib/org.springframework.core-3.1.2.RELEASE.jar
file.reference.org.springframework.expression-3.1.2.RELEASE.jar=lib/org.springframework.expression-3.1.2.RELEASE.jar
file.reference.org.springframework.jdbc-3.1.2.RELEASE.jar=lib/org.springframework.jdbc-3.1.2.RELEASE.jar
file.reference.org.springframework.transaction-3.1.2.RELEASE.jar=lib/org.springframework.transaction-3.1.2.RELEASE.jar
file.reference.org.springframework.web-3.1.2.RELEASE.jar=lib/org.springframework.web-3.1.2.RELEASE.jar
file.reference.org.springframework.web.servlet-3.1.2.RELEASE.jar=lib/org.springframework.web.servlet-3.1.2.RELEASE.jar
file.reference.poi-3.9-20121203.jar=lib/poi-3.9-20121203.jar
file.reference.poi-examples-3.9-20121203.jar=lib/poi-examples-3.9-20121203.jar
file.reference.poi-excelant-3.9-20121203.jar=lib/poi-excelant-3.9-20121203.jar
file.reference.poi-ooxml-3.9-20121203.jar=lib/poi-ooxml-3.9-20121203.jar
file.reference.poi-ooxml-schemas-3.9-20121203.jar=lib/poi-ooxml-schemas-3.9-20121203.jar
file.reference.poi-scratchpad-3.9-20121203.jar=lib/poi-scratchpad-3.9-20121203.jar
file.reference.quartz-1.8.5.jar=lib/quartz-1.8.5.jar
file.reference.slf4j-api-1.7.5.jar=lib/slf4j-api-1.7.5.jar
file.reference.spring-ws-1.5.6-all.jar=lib/spring-ws-1.5.6-all.jar
file.reference.spring-ws-core-2.1.2.RELEASE.jar=lib/spring-ws-core-2.1.2.RELEASE.jar
file.reference.spring-xml-1.5.6.jar=lib/spring-xml-1.5.6.jar
file.reference.stax2-api-3.1.1.jar=lib/stax2-api-3.1.1.jar
file.reference.wsdl4j-1.6.3.jar=lib/wsdl4j-1.6.3.jar
file.reference.wss4j-1.6.11.jar=lib/wss4j-1.6.11.jar
file.reference.xercesImpl-2.8.1.jar=lib/xercesImpl-2.8.1.jar
file.reference.xml-apis-1.3.04.jar=lib/xml-apis-1.3.04.jar
file.reference.xmlbeans-2.6.0.jar=lib/xmlbeans-2.6.0.jar
file.reference.xmlschema-core-2.0.3.jar=lib/xmlschema-core-2.0.3.jar
file.reference.xmlsec-1.4.3.jar=lib/xmlsec-1.4.3.jar
file.reference.xom-1.1.jar=lib/xom-1.1.jar
includes=**
j2ee.compile.on.save=true
j2ee.copy.static.files.on.save=true
j2ee.deploy.on.save=true
j2ee.platform=1.6-web
j2ee.platform.classpath=${j2ee.server.home}/lib/activation-1.1.jar:${j2ee.server.home}/lib/annotations-api.jar:${j2ee.server.home}/lib/catalina-ant.jar:${j2ee.server.home}/lib/catalina-ha.jar:${j2ee.server.home}/lib/catalina-tribes.jar:${j2ee.server.home}/lib/catalina.jar:${j2ee.server.home}/lib/ecj-4.4.2.jar:${j2ee.server.home}/lib/el-api.jar:${j2ee.server.home}/lib/jasper-el.jar:${j2ee.server.home}/lib/jasper.jar:${j2ee.server.home}/lib/jsp-api.jar:${j2ee.server.home}/lib/ojdbc6-12.1.0.2.jar:${j2ee.server.home}/lib/servlet-api.jar:${j2ee.server.home}/lib/tomcat-api.jar:${j2ee.server.home}/lib/tomcat-coyote.jar:${j2ee.server.home}/lib/tomcat-dbcp.jar:${j2ee.server.home}/lib/tomcat-i18n-es.jar:${j2ee.server.home}/lib/tomcat-i18n-fr.jar:${j2ee.server.home}/lib/tomcat-i18n-ja.jar:${j2ee.server.home}/lib/tomcat-jdbc.jar:${j2ee.server.home}/lib/tomcat-util.jar:${j2ee.server.home}/lib/tomcat7-websocket.jar:${j2ee.server.home}/lib/websocket-api.jar
j2ee.server.type=Tomcat
jar.compress=false
java.source.based=true
javac.classpath=\
${file.reference.activation-1.1.jar}:\
${file.reference.commons-beanutils-1.7.0.jar}:\
${file.reference.commons-chain-1.1.jar}:\
${file.reference.commons-codec-1.6.jar}:\
${file.reference.commons-collections-3.1.jar}:\
${file.reference.commons-configuration-1.6.jar}:\
${file.reference.commons-dbcp-1.4.jar}:\
${file.reference.commons-digester-1.8.jar}:\
${file.reference.commons-discovery-0.2.jar}:\
${file.reference.commons-fileupload-1.1.1.jar}:\
${file.reference.commons-httpclient-3.1.jar}:\
${file.reference.commons-io-1.1.jar}:\
${file.reference.commons-lang-2.3.jar}:\
${file.reference.commons-lang3-3.2.1.jar}:\
${file.reference.commons-logging-1.1.1.jar}:\
${file.reference.commons-pool-1.4.jar}:\
${file.reference.commons-validator-1.3.1.jar}:\
${file.reference.dom4j-1.6.1.jar}:\
${file.reference.ezmorph.jar}:\
${file.reference.httpclient-4.2.3.jar}:\
${file.reference.httpcore-4.2.3.jar}:\
${file.reference.httpcore-nio-4.2.3.jar}:\
${file.reference.jackson-all-1.9.11.jar}:\
${file.reference.javax.servlet-3.0.jar}:\
${file.reference.json-lib-2.2.2-jdk15.jar}:\
${file.reference.log4j-1.2.16.jar}:\
${file.reference.mail-1.4.jar}:\
${file.reference.neethi-3.0.2.jar}:\
${file.reference.ojdbc6.jar}:\
${file.reference.org.springframework.aop-3.1.2.RELEASE.jar}:\
${file.reference.org.springframework.asm-3.1.2.RELEASE.jar}:\
${file.reference.org.springframework.aspects-3.1.2.RELEASE.jar}:\
${file.reference.org.springframework.beans-3.1.2.RELEASE.jar}:\
${file.reference.org.springframework.context-3.1.2.RELEASE.jar}:\
${file.reference.org.springframework.context.support-3.1.2.RELEASE.jar}:\
${file.reference.org.springframework.core-3.1.2.RELEASE.jar}:\
${file.reference.org.springframework.expression-3.1.2.RELEASE.jar}:\
${file.reference.org.springframework.jdbc-3.1.2.RELEASE.jar}:\
${file.reference.org.springframework.transaction-3.1.2.RELEASE.jar}:\
${file.reference.org.springframework.web-3.1.2.RELEASE.jar}:\
${file.reference.org.springframework.web.servlet-3.1.2.RELEASE.jar}:\
${file.reference.poi-3.9-20121203.jar}:\
${file.reference.poi-examples-3.9-20121203.jar}:\
${file.reference.poi-excelant-3.9-20121203.jar}:\
${file.reference.poi-ooxml-3.9-20121203.jar}:\
${file.reference.poi-ooxml-schemas-3.9-20121203.jar}:\
${file.reference.poi-scratchpad-3.9-20121203.jar}:\
${file.reference.quartz-1.8.5.jar}:\
${file.reference.slf4j-api-1.7.5.jar}:\
${file.reference.spring-ws-1.5.6-all.jar}:\
${file.reference.spring-ws-core-2.1.2.RELEASE.jar}:\
${file.reference.spring-xml-1.5.6.jar}:\
${file.reference.stax2-api-3.1.1.jar}:\
${file.reference.wsdl4j-1.6.3.jar}:\
${file.reference.wss4j-1.6.11.jar}:\
${file.reference.xercesImpl-2.8.1.jar}:\
${file.reference.xml-apis-1.3.04.jar}:\
${file.reference.xmlbeans-2.6.0.jar}:\
${file.reference.xmlschema-core-2.0.3.jar}:\
${file.reference.xmlsec-1.4.3.jar}:\
${file.reference.xom-1.1.jar}:\
${libs.javaee-endorsed-api-6.0.classpath}:\
${file.reference.lib-lib}:\
${file.reference.javax.ejb-api-3.2.2.jar}
# Space-separated list of extra javac options
javac.compilerargs=
javac.debug=true
javac.deprecation=false
javac.processorpath=\
${javac.classpath}
javac.source=1.8
javac.target=1.8
javac.test.classpath=\
${javac.classpath}:\
${build.classes.dir}
javac.test.processorpath=\
${javac.test.classpath}
javadoc.additionalparam=
javadoc.author=false
javadoc.encoding=${source.encoding}
javadoc.noindex=false
javadoc.nonavbar=false
javadoc.notree=false
javadoc.preview=true
javadoc.private=false
javadoc.splitindex=true
javadoc.use=true
javadoc.version=false
javadoc.windowtitle=
lib.dir=WebContent/WEB-INF/lib
persistence.xml.dir=${conf.dir}
platform.active=default_platform
resource.dir=setup
run.test.classpath=\
${javac.test.classpath}:\
${build.test.classes.dir}
# Space-separated list of JVM arguments used when running a class with a main method or a unit test
# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value):
runmain.jvmargs=
source.encoding=ISO-8859-1
source.root=.
src.dir=${file.reference.DDA_CRN_Exhibicion-src}
src.resources.dir=resources
test.src.dir=
war.content.additional=
war.ear.name=${war.name}
war.name=DDA_CRN_CargaTransacVisual.war
web.docbase.dir=WebContent
webinf.dir=WebContent/WEB-INF
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.web.project</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/web-project/3">
<name>DDA_CRN_CargaTransacVisual</name>
<minimum-ant-version>1.6.5</minimum-ant-version>
<web-module-libraries>
<library dirs="200">
<file>${file.reference.activation-1.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.commons-beanutils-1.7.0.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.commons-chain-1.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.commons-codec-1.6.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.commons-collections-3.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.commons-configuration-1.6.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.commons-dbcp-1.4.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.commons-digester-1.8.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.commons-discovery-0.2.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.commons-fileupload-1.1.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.commons-httpclient-3.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.commons-io-1.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.commons-lang-2.3.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.commons-lang3-3.2.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.commons-logging-1.1.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.commons-pool-1.4.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.commons-validator-1.3.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.dom4j-1.6.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.ezmorph.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.httpclient-4.2.3.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.httpcore-4.2.3.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.httpcore-nio-4.2.3.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.jackson-all-1.9.11.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.javax.servlet-3.0.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.json-lib-2.2.2-jdk15.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.log4j-1.2.16.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.mail-1.4.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.neethi-3.0.2.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.ojdbc6.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.org.springframework.aop-3.1.2.RELEASE.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.org.springframework.asm-3.1.2.RELEASE.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.org.springframework.aspects-3.1.2.RELEASE.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.org.springframework.beans-3.1.2.RELEASE.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.org.springframework.context-3.1.2.RELEASE.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.org.springframework.context.support-3.1.2.RELEASE.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.org.springframework.core-3.1.2.RELEASE.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.org.springframework.expression-3.1.2.RELEASE.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.org.springframework.jdbc-3.1.2.RELEASE.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.org.springframework.transaction-3.1.2.RELEASE.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.org.springframework.web-3.1.2.RELEASE.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.org.springframework.web.servlet-3.1.2.RELEASE.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.poi-3.9-20121203.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.poi-examples-3.9-20121203.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.poi-excelant-3.9-20121203.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.poi-ooxml-3.9-20121203.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.poi-ooxml-schemas-3.9-20121203.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.poi-scratchpad-3.9-20121203.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.quartz-1.8.5.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.slf4j-api-1.7.5.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.spring-ws-1.5.6-all.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.spring-ws-core-2.1.2.RELEASE.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.spring-xml-1.5.6.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.stax2-api-3.1.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.wsdl4j-1.6.3.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.wss4j-1.6.11.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.xercesImpl-2.8.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.xml-apis-1.3.04.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.xmlbeans-2.6.0.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.xmlschema-core-2.0.3.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.xmlsec-1.4.3.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.xom-1.1.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${libs.javaee-endorsed-api-6.0.classpath}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.lib-lib}</file>
<path-in-war>WEB-INF/classes</path-in-war>
</library>
<library dirs="200">
<file>${file.reference.javax.ejb-api-3.2.2.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
</web-module-libraries>
<web-module-additional-libraries/>
<source-roots>
<root id="src.resources.dir"/>
<root id="src.dir"/>
</source-roots>
<test-roots/>
</data>
<libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
<definitions>.\lib\nblibraries.properties</definitions>
</libraries>
</configuration>
</project>
<?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:jee="http://www.springframework.org/schema/jee"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/jee
http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<context:component-scan base-package="mx.com.amx.mx.dda.crn"/>
<mvc:annotation-driven/>
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location">
<value>classpath:general.properties</value>
</property>
</bean>
<bean class="org.springframework.web.servlet.view.ContentNegotiatingViewResolver">
<property name="order" value="1" />
<property name="mediaTypes">
<map>
<entry key="json" value="application/json"/>
<entry key="html" value="text/html"/>
</map>
</property>
<property name="defaultViews">
<list>
<bean class="org.springframework.web.servlet.view.json.MappingJacksonJsonView">
<property name="prefixJson" value="true"/>
<property name="contentType" value="application/json;charset=UTF-8"/>
</bean>
</list>
</property>
<property name="ignoreAcceptHeader" value="true" />
</bean>
<bean id="jaxbMarshallerBean" class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
<property name="classesToBeBound">
<list>
<value>com.americamovil.dda._1.f.enviacontenido.DTContenido</value>
<value>com.americamovil.dda._1.f.enviacontenido.DTContenidoRes</value>
<value>com.americamovil.dda._1.f.enviaactivofijo.DTActivoFijo</value>
<value>com.americamovil.dda._1.f.enviaactivofijo.DTActivoFijoRes</value>
<value>com.americamovil.dda._1.f.enviaactivofijo.DTTituloMismoValor</value>
</list>
</property>
<property name="marshallerProperties">
<map>
<entry key="jaxb.encoding">
<value>UTF-8</value>
</entry>
</map>
</property>
</bean>
<bean id="messageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory"/>
<!-- WS Notificacion Activo Fijo SAP -->
<bean id="wsNotificaAFijoSAP" class="org.springframework.ws.client.core.WebServiceTemplate">
<constructor-arg ref="messageFactory"/>
<property name="marshaller" ref="jaxbMarshallerBean" />
<property name="unmarshaller" ref="jaxbMarshallerBean" />
<property name="messageSender">
<bean class="org.springframework.ws.transport.http.CommonsHttpMessageSender">
<property name="credentials">
<bean class="org.apache.commons.httpclient.UsernamePasswordCredentials">
<constructor-arg value="${sap.services.credenciales}"/>
</bean>
</property>
<property name="connectionTimeout" value="300000" />
<property name="readTimeout" value="300000" />
</bean>
</property>
</bean>
<!-- BO -->
<bean id="ddaexhibicionBO" class="mx.com.amx.mx.dda.crn.bo.DDACargaTransacVisualBO">
<property name="dao" ref="ddaexhibicionDAO" />
</bean>
<!--DAO -->
<bean id="ddaexhibicionDAO" class="mx.com.amx.mx.dda.crn.dao.DDACargaTransacVisualDAO">
<property name="jdbcTemplate" ref="jdbcTemplate" />
</bean>
<!-- JNDI -->
<jee:jndi-lookup id="dsDDA" jndi-name="${database.jndi}" cache="true" expected-type="javax.sql.DataSource" />
<bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
<property name="dataSource" ref="dsDDA" />
</bean>
<!-- CRN -->
<bean id="exhibicion_DDA" class="mx.com.amx.mx.dda.crn.DDACargaTransacVisual" >
<property name="bo" ref="ddaexhibicionBO" />
</bean>
<bean id="cronExhibicion_DDA"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"
p:concurrent="false"
p:targetObject-ref="exhibicion_DDA"
p:targetMethod="ejecutaProceso">
</bean>
<bean id="triggerExhibicion_DDA" class="org.springframework.scheduling.quartz.CronTriggerBean"
p:jobDetail-ref="cronExhibicion_DDA"
p:startDelay="1000"
p:cronExpression="0 25 13 * * ? *">
<!--0 15 1 1 * ? 1:15 del dia 1 de cada mes
p:cronExpression="0 5 19 * * ? *">
0 55 15 ? * * * 15:55
p:cronExpression="0 0 4,5,6,7 * * ? *" -->
<!-- Seconds Minutes Hours Day-Month Month Day-Week Year -->
<!-- LOCAL p:cronExpression="0 */2 * * * ? *" > c2min -->
<!-- DEV p:cronExpression="0 15 2 * * ? *" > 2:15am -->
<!-- QA p:cronExpression="0 0 12,14,16,18 * * ? *" > 12pm, 2p, 4pm, 6pm -->
<!-- PRD p:cronExpression="0 30 5 * * ? *" >"0 0 4,5,6,7 * * ? *"> 5am -->
</bean>
<bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"
p:waitForJobsToCompleteOnShutdown="true" >
<property name="triggers">
<list>
<ref bean="triggerExhibicion_DDA" />
</list>
</property>
</bean>
<!-- log4j setting -->
<bean id="log4jInitialization" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetClass" value="org.springframework.util.Log4jConfigurer" />
<property name="targetMethod" value="initLogging" />
<property name="arguments">
<list>
<value>${log4j.properties.location}</value>
</list>
</property>
</bean>
</beans>
#-----------------------------------------------
# Ambiente local/desarrollo/preprod/produccion
#-----------------------------------------------
ambiente=preprod
#-----------------------------------------------
# Variables Generales
#-----------------------------------------------
database.jndi=${${ambiente}.database.jndi}
log4j.properties.location=${${ambiente}.log4j.properties.location}
sap.services.credenciales=${${ambiente}.sap.services.credenciales}
#-----------------------------------------------
# Propiedades Produccion
#-----------------------------------------------
produccion.database.jndi=jdbc/DBDLA
produccion.log4j.properties.location=classpath:log4j.prod.properties
#produccion.servidor.sap.ws =10.94.182.93
produccion.servidor.sap.ws =amcopocipr-1.amxcontenido.local
produccion.puerto.sap.ws =50000
#produccion.sap.services.credenciales=EXDDA001:4Mxdd4&P1
produccion.sap.services.credenciales=ZAMC_DDA:FJ12y$.43
produccion.clientws.interface.i10=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_PRD&receiverParty=&receiverService=&interface=SI_ActivoFijo_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaActivoFijo
produccion.clientws.interface.i12=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_PRD&receiverParty=&receiverService=&interface=SI_Contenido_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaContenido
produccion.centro.costo=0908A05000
#-----------------------------------------------
# Propiedades Preproduccion
#-----------------------------------------------
preprod.database.jndi=jdbc/DBDLA
preprod.log4j.properties.location=classpath:log4j.pre.properties
#preprod.servidor.sap.ws =10.94.182.80
preprod.servidor.sap.ws =amcopociqa-1.amxcontenido.local
preprod.puerto.sap.ws =50000
#preprod.sap.services.credenciales=EXDDA001:4Mxdd4&P1
preprod.sap.services.credenciales=ZAMC_DDA:FJ12y$.43
preprod.clientws.interface.i10=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_QA&receiverParty=&receiverService=&interface=SI_ActivoFijo_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaActivoFijo
preprod.clientws.interface.i12=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_QA&receiverParty=&receiverService=&interface=SI_Contenido_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaContenido
preprod.centro.costo=0908A05000
#-----------------------------------------------
# Propiedades Desarrollo
#-----------------------------------------------
desarrollo.database.jndi=jdbc/DBDLA
desarrollo.log4j.properties.location=classpath:log4j.dev.properties
#desarrollo.servidor.sap.ws =10.94.135.247
desarrollo.servidor.sap.ws =amcoPOCIQA-1.amxcontenido.local
desarrollo.puerto.sap.ws =50000
#desarrollo.sap.services.credenciales=EXDDA001:4Mxdd4&P1
desarrollo.sap.services.credenciales=ZAMC_DDA:FJ12y$.43
desarrollo.clientws.interface.i10=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_DEV&receiverPaty=&receiverService=&interface=SI_ActivoFijo_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaActivoFijo
desarrollo.clientws.interface.i12=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_DEV&receiverParty=&receiverService=&interface=SI_Contenido_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaContenido
desarrollo.centro.costo=0908A05000
#-----------------------------------------------
# Propiedades Local
#-----------------------------------------------
local.database.jndi=jdbc/DBDLA
local.log4j.properties.location=classpath:log4j.local.properties
local.servidor.sap.ws =10.94.135.247
local.puerto.sap.ws =50000
local.sap.services.credenciales=EXDDA001:4Mxdd4&P1
local.clientws.interface.i10=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_DEV&receiverPaty=&receiverService=&interface=SI_ActivoFijo_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaActivoFijo
local.clientws.interface.i12=http://%servidor%:%puerto%/XISOAPAdapter/MessageServlet?senderParty=&senderService=SYS_AM_1_DDA_DEV&receiverPaty=&receiverService=&interface=SI_Contenido_Out&interfaceNamespace=http://americamovil.com/DDA/1/F/EnviaContenido
local.centro.costo=0908A05000
#-----------------------------------------------
# Mensajes de errores
#-----------------------------------------------
error.comunicacion.sap=Error al comunicarse con SAP
error.interno.sap=Error interno de SAP
error.proceso=Error en proceso
error.registro.sap=Error de registro en SAP
error.registro.incompleto=Registro de titulos incompleto en SAP
#-----------------------------------------------
# Parametros
#-----------------------------------------------
valor.referencia=DDA_SAP_DIA_NOTIFICACION
puede.ejecutar=DDA_PUEDE_EJECUTAR
notificacion.iniciado=DDA_NOTIFICACION_INICIADO
modulo=NOTIFICACION
subnumero=0000
#-----------------------------------------------
# Estatus del Contrato
#-----------------------------------------------
estatus.vigente=5
#-- Valores: Alguna fecha dd/mm/yyyy/VACIO
#fecha.test=01/05/2016
fecha.test=VACIO
\ No newline at end of file
log4j.rootCategory=ALL, LOGFILE
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_CRON_TRANSAC.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH:mm:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=30
\ No newline at end of file
#log4j.rootCategory=ALL, CONSOLE, LOGFILE
log4j.rootCategory=DEBUG, CONSOLE, LOGFILE
# CONSOLE is set to be a ConsoleAppender using a PatternLayout.
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
#log4j.appender.CONSOLE.Threshold=debug
log4j.appender.CONSOLE.Threshold=DEBUG
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%-5p %c %x[%L] - %m%n
# LOGFILE is set to be a File appender using a PatternLayout.
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_CRON_TRANSAC.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.Threshold=ALL
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH\:mm\:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=20
\ No newline at end of file
log4j.rootCategory=DEBUG, LOGFILE
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_CRON_TRANSAC.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH:mm:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=30
\ No newline at end of file
log4j.rootCategory=INFO, LOGFILE
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_CRON_TRANSAC.log
#log4j.appender.LOGFILE.File=C:\\logs\\mx\\dda\\ws\\DDA_WS_CRN_E.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH:mm:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=30
\ No newline at end of file
package com.americamovil.dda._1.f.enviaactivofijo;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Estructura de datos para la creacin en ECC de activos fijos
*
* <p>Clase Java para DT_ActivoFijo complex type.
*
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
* <pre>
* &lt;complexType name="DT_ActivoFijo">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="Registro" maxOccurs="unbounded">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="OrdenCompra">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="10"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="Proveedor">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="10"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="Descripcion">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="45"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="CodigoDDA">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="10"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="CentroCoste">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="10"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="ProgramID">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="24"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlRootElement(name="MT_ActivoFijo" , namespace = "http://americamovil.com/DDA/1/F/EnviaActivoFijo" )
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DT_ActivoFijo", propOrder = {
"registro"
})
public class DTActivoFijo {
@XmlElement(name = "Registro", required = true)
protected List<DTActivoFijo.Registro> registro;
/**
* Gets the value of the registro property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the registro property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRegistro().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link DTActivoFijo.Registro }
*
*
*/
public List<DTActivoFijo.Registro> getRegistro() {
if (registro == null) {
registro = new ArrayList<DTActivoFijo.Registro>();
}
return this.registro;
}
/**
* <p>Clase Java para anonymous complex type.
*
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="OrdenCompra">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="10"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="Proveedor">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="10"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="Descripcion">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="45"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="CodigoDDA">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="10"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="CentroCoste">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="10"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="ProgramID">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="24"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"ordenCompra",
"proveedor",
"descripcion",
"codigoDDA",
"centroCoste",
"programID"
})
public static class Registro {
@XmlElement(name = "OrdenCompra", required = true)
protected String ordenCompra;
@XmlElement(name = "Proveedor", required = true)
protected String proveedor;
@XmlElement(name = "Descripcion", required = true)
protected String descripcion;
@XmlElement(name = "CodigoDDA", required = true)
protected String codigoDDA;
@XmlElement(name = "CentroCoste", required = true)
protected String centroCoste;
@XmlElement(name = "ProgramID", required = true)
protected String programID;
/**
* Obtiene el valor de la propiedad ordenCompra.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrdenCompra() {
return ordenCompra;
}
/**
* Define el valor de la propiedad ordenCompra.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOrdenCompra(String value) {
this.ordenCompra = value;
}
/**
* Obtiene el valor de la propiedad proveedor.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProveedor() {
return proveedor;
}
/**
* Define el valor de la propiedad proveedor.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProveedor(String value) {
this.proveedor = value;
}
/**
* Obtiene el valor de la propiedad descripcion.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescripcion() {
return descripcion;
}
/**
* Define el valor de la propiedad descripcion.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescripcion(String value) {
this.descripcion = value;
}
/**
* Obtiene el valor de la propiedad codigoDDA.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCodigoDDA() {
return codigoDDA;
}
/**
* Define el valor de la propiedad codigoDDA.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCodigoDDA(String value) {
this.codigoDDA = value;
}
/**
* Obtiene el valor de la propiedad centroCoste.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCentroCoste() {
return centroCoste;
}
/**
* Define el valor de la propiedad centroCoste.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCentroCoste(String value) {
this.centroCoste = value;
}
/**
* Obtiene el valor de la propiedad programID.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProgramID() {
return programID;
}
/**
* Define el valor de la propiedad programID.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProgramID(String value) {
this.programID = value;
}
}
}
package com.americamovil.dda._1.f.enviaactivofijo;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Estructura de datos para la respuesta de creacin de activo fijo
*
* <p>Clase Java para DT_ActivoFijo_res complex type.
*
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
* <pre>
* &lt;complexType name="DT_ActivoFijo_res">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="Respuesta" maxOccurs="unbounded">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="ID_SAP">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="12"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="ID_DDA">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="10"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="Excepcion" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlRootElement(name="MT_ActivoFijo_res" , namespace = "http://americamovil.com/DDA/1/F/EnviaActivoFijo" )
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DT_ActivoFijo_res", propOrder = {
"respuesta"
})
public class DTActivoFijoRes {
@XmlElement(name = "Respuesta", required = true)
protected List<DTActivoFijoRes.Respuesta> respuesta;
/**
* Gets the value of the respuesta property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the respuesta property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRespuesta().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link DTActivoFijoRes.Respuesta }
*
*
*/
public List<DTActivoFijoRes.Respuesta> getRespuesta() {
if (respuesta == null) {
respuesta = new ArrayList<DTActivoFijoRes.Respuesta>();
}
return this.respuesta;
}
/**
* <p>Clase Java para anonymous complex type.
*
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="ID_SAP">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="12"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="ID_DDA">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="10"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="Excepcion" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"idsap",
"iddda",
"excepcion"
})
public static class Respuesta {
@XmlElement(name = "ID_SAP", required = true)
protected String idsap;
@XmlElement(name = "ID_DDA", required = true)
protected String iddda;
@XmlElement(name = "Excepcion")
protected String excepcion;
/**
* Obtiene el valor de la propiedad idsap.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIDSAP() {
return idsap;
}
/**
* Define el valor de la propiedad idsap.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIDSAP(String value) {
this.idsap = value;
}
/**
* Obtiene el valor de la propiedad iddda.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIDDDA() {
return iddda;
}
/**
* Define el valor de la propiedad iddda.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIDDDA(String value) {
this.iddda = value;
}
/**
* Obtiene el valor de la propiedad excepcion.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExcepcion() {
return excepcion;
}
/**
* Define el valor de la propiedad excepcion.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExcepcion(String value) {
this.excepcion = value;
}
}
}
package com.americamovil.dda._1.f.enviaactivofijo;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Estructura de datos para el traslado de activo fijo - cambio de titulo por mismo valor
*
* <p>Clase Java para DT_TituloMismoValor complex type.
*
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
* <pre>
* &lt;complexType name="DT_TituloMismoValor">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="Registro" maxOccurs="unbounded">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="CodigoSAPAnt">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="12"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="DescActNuevo">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="50"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="CodigoDDANuevo">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="10"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="FechaInicio">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="8"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="FechaContabilizacion">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="8"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="ProgramID">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="24"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlRootElement(name="MT_TituloMismoValor" , namespace = "http://americamovil.com/DDA/1/F/EnviaActivoFijo" )
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DT_TituloMismoValor", propOrder = {
"registro"
})
public class DTTituloMismoValor {
@XmlElement(name = "Registro", required = true)
protected List<DTTituloMismoValor.Registro> registro;
/**
* Gets the value of the registro property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the registro property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRegistro().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link DTTituloMismoValor.Registro }
*
*
*/
public List<DTTituloMismoValor.Registro> getRegistro() {
if (registro == null) {
registro = new ArrayList<DTTituloMismoValor.Registro>();
}
return this.registro;
}
/**
* <p>Clase Java para anonymous complex type.
*
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="CodigoSAPAnt">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="12"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="DescActNuevo">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="50"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="CodigoDDANuevo">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="10"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="FechaInicio">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="8"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="FechaContabilizacion">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="8"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="ProgramID">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="24"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"codigoSAPAnt",
"descActNuevo",
"codigoDDANuevo",
"fechaInicio",
"fechaContabilizacion",
"programID"
})
public static class Registro {
@XmlElement(name = "CodigoSAPAnt", required = true)
protected String codigoSAPAnt;
@XmlElement(name = "DescActNuevo", required = true)
protected String descActNuevo;
@XmlElement(name = "CodigoDDANuevo", required = true)
protected String codigoDDANuevo;
@XmlElement(name = "FechaInicio", required = true)
protected String fechaInicio;
@XmlElement(name = "FechaContabilizacion", required = true)
protected String fechaContabilizacion;
@XmlElement(name = "ProgramID", required = true)
protected String programID;
/**
* Obtiene el valor de la propiedad codigoSAPAnt.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCodigoSAPAnt() {
return codigoSAPAnt;
}
/**
* Define el valor de la propiedad codigoSAPAnt.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCodigoSAPAnt(String value) {
this.codigoSAPAnt = value;
}
/**
* Obtiene el valor de la propiedad descActNuevo.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescActNuevo() {
return descActNuevo;
}
/**
* Define el valor de la propiedad descActNuevo.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescActNuevo(String value) {
this.descActNuevo = value;
}
/**
* Obtiene el valor de la propiedad codigoDDANuevo.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCodigoDDANuevo() {
return codigoDDANuevo;
}
/**
* Define el valor de la propiedad codigoDDANuevo.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCodigoDDANuevo(String value) {
this.codigoDDANuevo = value;
}
/**
* Obtiene el valor de la propiedad fechaInicio.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFechaInicio() {
return fechaInicio;
}
/**
* Define el valor de la propiedad fechaInicio.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFechaInicio(String value) {
this.fechaInicio = value;
}
/**
* Obtiene el valor de la propiedad fechaContabilizacion.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFechaContabilizacion() {
return fechaContabilizacion;
}
/**
* Define el valor de la propiedad fechaContabilizacion.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFechaContabilizacion(String value) {
this.fechaContabilizacion = value;
}
/**
* Obtiene el valor de la propiedad programID.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProgramID() {
return programID;
}
/**
* Define el valor de la propiedad programID.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProgramID(String value) {
this.programID = value;
}
}
}
package com.americamovil.dda._1.f.enviaactivofijo;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the com.americamovil.dda._1.f.enviaactivofijo package.
* <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
private final static QName _MTActivoFijoRes_QNAME = new QName("http://americamovil.com/DDA/1/F/EnviaActivoFijo", "MT_ActivoFijo_res");
private final static QName _MTActivoFijo_QNAME = new QName("http://americamovil.com/DDA/1/F/EnviaActivoFijo", "MT_ActivoFijo");
private final static QName _MTTituloMismoValor_QNAME = new QName("http://americamovil.com/DDA/1/F/EnviaActivoFijo", "MT_TituloMismoValor");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.americamovil.dda._1.f.enviaactivofijo
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link DTActivoFijo }
*
*/
public DTActivoFijo createDTActivoFijo() {
return new DTActivoFijo();
}
/**
* Create an instance of {@link DTActivoFijoRes }
*
*/
public DTActivoFijoRes createDTActivoFijoRes() {
return new DTActivoFijoRes();
}
/**
* Create an instance of {@link DTTituloMismoValor }
*
*/
public DTTituloMismoValor createDTTituloMismoValor() {
return new DTTituloMismoValor();
}
/**
* Create an instance of {@link DTActivoFijo.Registro }
*
*/
public DTActivoFijo.Registro createDTActivoFijoRegistro() {
return new DTActivoFijo.Registro();
}
/**
* Create an instance of {@link DTActivoFijoRes.Respuesta }
*
*/
public DTActivoFijoRes.Respuesta createDTActivoFijoResRespuesta() {
return new DTActivoFijoRes.Respuesta();
}
/**
* Create an instance of {@link DTTituloMismoValor.Registro }
*
*/
public DTTituloMismoValor.Registro createDTTituloMismoValorRegistro() {
return new DTTituloMismoValor.Registro();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link DTActivoFijoRes }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://americamovil.com/DDA/1/F/EnviaActivoFijo", name = "MT_ActivoFijo_res")
public JAXBElement<DTActivoFijoRes> createMTActivoFijoRes(DTActivoFijoRes value) {
return new JAXBElement<DTActivoFijoRes>(_MTActivoFijoRes_QNAME, DTActivoFijoRes.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link DTActivoFijo }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://americamovil.com/DDA/1/F/EnviaActivoFijo", name = "MT_ActivoFijo")
public JAXBElement<DTActivoFijo> createMTActivoFijo(DTActivoFijo value) {
return new JAXBElement<DTActivoFijo>(_MTActivoFijo_QNAME, DTActivoFijo.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link DTTituloMismoValor }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://americamovil.com/DDA/1/F/EnviaActivoFijo", name = "MT_TituloMismoValor")
public JAXBElement<DTTituloMismoValor> createMTTituloMismoValor(DTTituloMismoValor value) {
return new JAXBElement<DTTituloMismoValor>(_MTTituloMismoValor_QNAME, DTTituloMismoValor.class, null, value);
}
}
package com.americamovil.dda._1.f.enviaactivofijo;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 2.7.6
* 2016-07-26T11:53:59.237-05:00
* Generated source version: 2.7.6
*
*/
@WebService(targetNamespace = "http://americamovil.com/DDA/1/F/EnviaActivoFijo", name = "SI_ActivoFijo_Out")
@XmlSeeAlso({ObjectFactory.class})
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
public interface SIActivoFijoOut {
@WebMethod(operationName = "EnviaTrasladoAF", action = "http://sap.com/xi/WebService/soap1.1")
@WebResult(name = "MT_ActivoFijo_res", targetNamespace = "http://americamovil.com/DDA/1/F/EnviaActivoFijo", partName = "MT_ActivoFijo_res")
public DTActivoFijoRes enviaTrasladoAF(
@WebParam(partName = "MT_TituloMismoValor", name = "MT_TituloMismoValor", targetNamespace = "http://americamovil.com/DDA/1/F/EnviaActivoFijo")
DTTituloMismoValor mtTituloMismoValor
);
@WebMethod(operationName = "EnviiaActivoFijo", action = "http://sap.com/xi/WebService/soap1.1")
@WebResult(name = "MT_ActivoFijo_res", targetNamespace = "http://americamovil.com/DDA/1/F/EnviaActivoFijo", partName = "MT_ActivoFijo_res")
public DTActivoFijoRes enviiaActivoFijo(
@WebParam(partName = "MT_ActivoFijo", name = "MT_ActivoFijo", targetNamespace = "http://americamovil.com/DDA/1/F/EnviaActivoFijo")
DTActivoFijo mtActivoFijo
);
}
package com.americamovil.dda._1.f.enviaactivofijo;
/**
* Please modify this class to meet your needs
* This class is not complete
*/
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 2.7.6
* 2016-07-26T11:53:59.231-05:00
* Generated source version: 2.7.6
*
*/
public final class SIActivoFijoOut_HTTPPort_Client {
private static final QName SERVICE_NAME = new QName("http://americamovil.com/DDA/1/F/EnviaActivoFijo", "SYS_AM_1_DDA_DEV_SI_ActivoFijo_Out_x_x");
private SIActivoFijoOut_HTTPPort_Client() {
}
public static void main(String args[]) throws java.lang.Exception {
URL wsdlURL = SYSAM1DDADEVSIActivoFijoOutXX.WSDL_LOCATION;
if (args.length > 0 && args[0] != null && !"".equals(args[0])) {
File wsdlFile = new File(args[0]);
try {
if (wsdlFile.exists()) {
wsdlURL = wsdlFile.toURI().toURL();
} else {
wsdlURL = new URL(args[0]);
}
} catch (MalformedURLException e) {
e.printStackTrace();
}
}
SYSAM1DDADEVSIActivoFijoOutXX ss = new SYSAM1DDADEVSIActivoFijoOutXX(wsdlURL, SERVICE_NAME);
SIActivoFijoOut port = ss.getHTTPPort();
{
System.out.println("Invoking enviaTrasladoAF...");
com.americamovil.dda._1.f.enviaactivofijo.DTTituloMismoValor _enviaTrasladoAF_mtTituloMismoValor = null;
com.americamovil.dda._1.f.enviaactivofijo.DTActivoFijoRes _enviaTrasladoAF__return = port.enviaTrasladoAF(_enviaTrasladoAF_mtTituloMismoValor);
System.out.println("enviaTrasladoAF.result=" + _enviaTrasladoAF__return);
}
{
System.out.println("Invoking enviiaActivoFijo...");
com.americamovil.dda._1.f.enviaactivofijo.DTActivoFijo _enviiaActivoFijo_mtActivoFijo = null;
com.americamovil.dda._1.f.enviaactivofijo.DTActivoFijoRes _enviiaActivoFijo__return = port.enviiaActivoFijo(_enviiaActivoFijo_mtActivoFijo);
System.out.println("enviiaActivoFijo.result=" + _enviiaActivoFijo__return);
}
System.exit(0);
}
}
package com.americamovil.dda._1.f.enviaactivofijo;
/**
* Please modify this class to meet your needs
* This class is not complete
*/
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 2.7.6
* 2016-07-26T11:53:59.199-05:00
* Generated source version: 2.7.6
*
*/
public final class SIActivoFijoOut_HTTPSPort_Client {
private static final QName SERVICE_NAME = new QName("http://americamovil.com/DDA/1/F/EnviaActivoFijo", "SYS_AM_1_DDA_DEV_SI_ActivoFijo_Out_x_x");
private SIActivoFijoOut_HTTPSPort_Client() {
}
public static void main(String args[]) throws java.lang.Exception {
URL wsdlURL = SYSAM1DDADEVSIActivoFijoOutXX.WSDL_LOCATION;
if (args.length > 0 && args[0] != null && !"".equals(args[0])) {
File wsdlFile = new File(args[0]);
try {
if (wsdlFile.exists()) {
wsdlURL = wsdlFile.toURI().toURL();
} else {
wsdlURL = new URL(args[0]);
}
} catch (MalformedURLException e) {
e.printStackTrace();
}
}
SYSAM1DDADEVSIActivoFijoOutXX ss = new SYSAM1DDADEVSIActivoFijoOutXX(wsdlURL, SERVICE_NAME);
SIActivoFijoOut port = ss.getHTTPSPort();
{
System.out.println("Invoking enviaTrasladoAF...");
com.americamovil.dda._1.f.enviaactivofijo.DTTituloMismoValor _enviaTrasladoAF_mtTituloMismoValor = null;
com.americamovil.dda._1.f.enviaactivofijo.DTActivoFijoRes _enviaTrasladoAF__return = port.enviaTrasladoAF(_enviaTrasladoAF_mtTituloMismoValor);
System.out.println("enviaTrasladoAF.result=" + _enviaTrasladoAF__return);
}
{
System.out.println("Invoking enviiaActivoFijo...");
com.americamovil.dda._1.f.enviaactivofijo.DTActivoFijo _enviiaActivoFijo_mtActivoFijo = null;
com.americamovil.dda._1.f.enviaactivofijo.DTActivoFijoRes _enviiaActivoFijo__return = port.enviiaActivoFijo(_enviiaActivoFijo_mtActivoFijo);
System.out.println("enviiaActivoFijo.result=" + _enviiaActivoFijo__return);
}
System.exit(0);
}
}
package com.americamovil.dda._1.f.enviaactivofijo;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;
/**
* This class was generated by Apache CXF 2.7.6
* 2016-07-26T11:53:59.241-05:00
* Generated source version: 2.7.6
*
*/
@WebServiceClient(name = "SYS_AM_1_DDA_DEV_SI_ActivoFijo_Out_x_x",
wsdlLocation = "I-10-25_ActivoFijo_F211E.xml",
targetNamespace = "http://americamovil.com/DDA/1/F/EnviaActivoFijo")
public class SYSAM1DDADEVSIActivoFijoOutXX extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://americamovil.com/DDA/1/F/EnviaActivoFijo", "SYS_AM_1_DDA_DEV_SI_ActivoFijo_Out_x_x");
public final static QName HTTPSPort = new QName("http://americamovil.com/DDA/1/F/EnviaActivoFijo", "HTTPS_Port");
public final static QName HTTPPort = new QName("http://americamovil.com/DDA/1/F/EnviaActivoFijo", "HTTP_Port");
static {
URL url = SYSAM1DDADEVSIActivoFijoOutXX.class.getResource("I-10-25_ActivoFijo_F211E.xml");
if (url == null) {
url = SYSAM1DDADEVSIActivoFijoOutXX.class.getClassLoader().getResource("I-10-25_ActivoFijo_F211E.xml");
}
if (url == null) {
java.util.logging.Logger.getLogger(SYSAM1DDADEVSIActivoFijoOutXX.class.getName())
.log(java.util.logging.Level.INFO,
"Can not initialize the default wsdl from {0}", "I-10-25_ActivoFijo_F211E.xml");
}
WSDL_LOCATION = url;
}
public SYSAM1DDADEVSIActivoFijoOutXX(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public SYSAM1DDADEVSIActivoFijoOutXX(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public SYSAM1DDADEVSIActivoFijoOutXX() {
super(WSDL_LOCATION, SERVICE);
}
/**
*
* @return
* returns SIActivoFijoOut
*/
@WebEndpoint(name = "HTTPS_Port")
public SIActivoFijoOut getHTTPSPort() {
return super.getPort(HTTPSPort, SIActivoFijoOut.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns SIActivoFijoOut
*/
@WebEndpoint(name = "HTTPS_Port")
public SIActivoFijoOut getHTTPSPort(WebServiceFeature... features) {
return super.getPort(HTTPSPort, SIActivoFijoOut.class, features);
}
/**
*
* @return
* returns SIActivoFijoOut
*/
@WebEndpoint(name = "HTTP_Port")
public SIActivoFijoOut getHTTPPort() {
return super.getPort(HTTPPort, SIActivoFijoOut.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns SIActivoFijoOut
*/
@WebEndpoint(name = "HTTP_Port")
public SIActivoFijoOut getHTTPPort(WebServiceFeature... features) {
return super.getPort(HTTPPort, SIActivoFijoOut.class, features);
}
}
@javax.xml.bind.annotation.XmlSchema(namespace = "http://americamovil.com/DDA/1/F/EnviaActivoFijo")
package com.americamovil.dda._1.f.enviaactivofijo;
package com.americamovil.dda._1.f.enviacontenido;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Estructura de datos para la activacin de contenido
*
* <p>Clase Java para DT_Contenido complex type.
*
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
* <pre>
* &lt;complexType name="DT_Contenido">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="Registro" maxOccurs="unbounded">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="CodigoSAP">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="12"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="Valor">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="33"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="FechaInicio">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="8"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="FechaContabilizacion">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="8"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="VUAA">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="2"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="VUMM">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="2"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlRootElement(name="MT_Contenido" , namespace = "http://americamovil.com/DDA/1/F/EnviaContenido" )
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DT_Contenido", propOrder = {
"registro"
})
public class DTContenido {
@XmlElement(name = "Registro", required = true)
protected List<DTContenido.Registro> registro;
/**
* Gets the value of the registro property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the registro property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRegistro().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link DTContenido.Registro }
*
*
*/
public List<DTContenido.Registro> getRegistro() {
if (registro == null) {
registro = new ArrayList<DTContenido.Registro>();
}
return this.registro;
}
/**
* <p>Clase Java para anonymous complex type.
*
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="CodigoSAP">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="12"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="Valor">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="33"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="FechaInicio">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="8"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="FechaContabilizacion">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="8"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="VUAA">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="2"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="VUMM">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="2"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"codigoSAP",
"valor",
"fechaInicio",
"fechaContabilizacion",
"vuaa",
"vumm"
})
public static class Registro {
@XmlElement(name = "CodigoSAP", required = true)
protected String codigoSAP;
@XmlElement(name = "Valor", required = true)
protected String valor;
@XmlElement(name = "FechaInicio", required = true)
protected String fechaInicio;
@XmlElement(name = "FechaContabilizacion", required = true)
protected String fechaContabilizacion;
@XmlElement(name = "VUAA", required = true)
protected String vuaa;
@XmlElement(name = "VUMM", required = true)
protected String vumm;
/**
* Obtiene el valor de la propiedad codigoSAP.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCodigoSAP() {
return codigoSAP;
}
/**
* Define el valor de la propiedad codigoSAP.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCodigoSAP(String value) {
this.codigoSAP = value;
}
/**
* Obtiene el valor de la propiedad valor.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValor() {
return valor;
}
/**
* Define el valor de la propiedad valor.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValor(String value) {
this.valor = value;
}
/**
* Obtiene el valor de la propiedad fechaInicio.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFechaInicio() {
return fechaInicio;
}
/**
* Define el valor de la propiedad fechaInicio.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFechaInicio(String value) {
this.fechaInicio = value;
}
/**
* Obtiene el valor de la propiedad fechaContabilizacion.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFechaContabilizacion() {
return fechaContabilizacion;
}
/**
* Define el valor de la propiedad fechaContabilizacion.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFechaContabilizacion(String value) {
this.fechaContabilizacion = value;
}
/**
* Obtiene el valor de la propiedad vuaa.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVUAA() {
return vuaa;
}
/**
* Define el valor de la propiedad vuaa.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVUAA(String value) {
this.vuaa = value;
}
/**
* Obtiene el valor de la propiedad vumm.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVUMM() {
return vumm;
}
/**
* Define el valor de la propiedad vumm.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVUMM(String value) {
this.vumm = value;
}
}
}
package com.americamovil.dda._1.f.enviacontenido;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Estructura de datos para la respuesta de activacin de contenido
*
* <p>Clase Java para DT_Contenido_res complex type.
*
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
* <pre>
* &lt;complexType name="DT_Contenido_res">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="Respuesta" maxOccurs="unbounded">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="Status" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="CodigoDDA" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="Mensaje" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlRootElement(name="MT_Contenido_res" , namespace = "http://americamovil.com/DDA/1/F/EnviaContenido" )
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DT_Contenido_res", propOrder = {
"respuesta"
})
public class DTContenidoRes {
@XmlElement(name = "Respuesta", required = true)
protected List<DTContenidoRes.Respuesta> respuesta;
/**
* Gets the value of the respuesta property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the respuesta property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRespuesta().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link DTContenidoRes.Respuesta }
*
*
*/
public List<DTContenidoRes.Respuesta> getRespuesta() {
if (respuesta == null) {
respuesta = new ArrayList<DTContenidoRes.Respuesta>();
}
return this.respuesta;
}
/**
* <p>Clase Java para anonymous complex type.
*
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="Status" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="CodigoDDA" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="Mensaje" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"status",
"codigoDDA",
"mensaje"
})
public static class Respuesta {
@XmlElement(name = "Status", required = true)
protected String status;
@XmlElement(name = "CodigoDDA", required = true)
protected String codigoDDA;
@XmlElement(name = "Mensaje")
protected String mensaje;
/**
* Obtiene el valor de la propiedad status.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatus() {
return status;
}
/**
* Define el valor de la propiedad status.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatus(String value) {
this.status = value;
}
/**
* Obtiene el valor de la propiedad codigoDDA.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCodigoDDA() {
return codigoDDA;
}
/**
* Define el valor de la propiedad codigoDDA.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCodigoDDA(String value) {
this.codigoDDA = value;
}
/**
* Obtiene el valor de la propiedad mensaje.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMensaje() {
return mensaje;
}
/**
* Define el valor de la propiedad mensaje.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMensaje(String value) {
this.mensaje = value;
}
}
}
package com.americamovil.dda._1.f.enviacontenido;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the com.americamovil.dda._1.f.enviacontenido package.
* <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
private final static QName _MTContenidoRes_QNAME = new QName("http://americamovil.com/DDA/1/F/EnviaContenido", "MT_Contenido_res");
private final static QName _MTContenido_QNAME = new QName("http://americamovil.com/DDA/1/F/EnviaContenido", "MT_Contenido");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.americamovil.dda._1.f.enviacontenido
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link DTContenido }
*
*/
public DTContenido createDTContenido() {
return new DTContenido();
}
/**
* Create an instance of {@link DTContenidoRes }
*
*/
public DTContenidoRes createDTContenidoRes() {
return new DTContenidoRes();
}
/**
* Create an instance of {@link DTContenido.Registro }
*
*/
public DTContenido.Registro createDTContenidoRegistro() {
return new DTContenido.Registro();
}
/**
* Create an instance of {@link DTContenidoRes.Respuesta }
*
*/
public DTContenidoRes.Respuesta createDTContenidoResRespuesta() {
return new DTContenidoRes.Respuesta();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link DTContenidoRes }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://americamovil.com/DDA/1/F/EnviaContenido", name = "MT_Contenido_res")
public JAXBElement<DTContenidoRes> createMTContenidoRes(DTContenidoRes value) {
return new JAXBElement<DTContenidoRes>(_MTContenidoRes_QNAME, DTContenidoRes.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link DTContenido }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://americamovil.com/DDA/1/F/EnviaContenido", name = "MT_Contenido")
public JAXBElement<DTContenido> createMTContenido(DTContenido value) {
return new JAXBElement<DTContenido>(_MTContenido_QNAME, DTContenido.class, null, value);
}
}
package com.americamovil.dda._1.f.enviacontenido;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 2.7.6
* 2016-08-19T10:55:35.394-05:00
* Generated source version: 2.7.6
*
*/
@WebService(targetNamespace = "http://americamovil.com/DDA/1/F/EnviaContenido", name = "SI_Contenido_Out")
@XmlSeeAlso({ObjectFactory.class})
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
public interface SIContenidoOut {
@WebMethod(operationName = "EnviaContenido", action = "http://sap.com/xi/WebService/soap1.1")
@WebResult(name = "MT_Contenido_res", targetNamespace = "http://americamovil.com/DDA/1/F/EnviaContenido", partName = "MT_Contenido_res")
public DTContenidoRes enviaContenido(
@WebParam(partName = "MT_Contenido", name = "MT_Contenido", targetNamespace = "http://americamovil.com/DDA/1/F/EnviaContenido")
DTContenido mtContenido
);
}
package com.americamovil.dda._1.f.enviacontenido;
/**
* Please modify this class to meet your needs
* This class is not complete
*/
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 2.7.6
* 2016-08-19T10:55:35.388-05:00
* Generated source version: 2.7.6
*
*/
public final class SIContenidoOut_HTTPPort_Client {
private static final QName SERVICE_NAME = new QName("http://americamovil.com/DDA/1/F/EnviaContenido", "SYS_AM_1_DDA_DEV_SI_Contenido_Out_x_x");
private SIContenidoOut_HTTPPort_Client() {
}
public static void main(String args[]) throws java.lang.Exception {
URL wsdlURL = SYSAM1DDADEVSIContenidoOutXX.WSDL_LOCATION;
if (args.length > 0 && args[0] != null && !"".equals(args[0])) {
File wsdlFile = new File(args[0]);
try {
if (wsdlFile.exists()) {
wsdlURL = wsdlFile.toURI().toURL();
} else {
wsdlURL = new URL(args[0]);
}
} catch (MalformedURLException e) {
e.printStackTrace();
}
}
SYSAM1DDADEVSIContenidoOutXX ss = new SYSAM1DDADEVSIContenidoOutXX(wsdlURL, SERVICE_NAME);
SIContenidoOut port = ss.getHTTPPort();
{
System.out.println("Invoking enviaContenido...");
com.americamovil.dda._1.f.enviacontenido.DTContenido _enviaContenido_mtContenido = null;
com.americamovil.dda._1.f.enviacontenido.DTContenidoRes _enviaContenido__return = port.enviaContenido(_enviaContenido_mtContenido);
System.out.println("enviaContenido.result=" + _enviaContenido__return);
}
System.exit(0);
}
}
package com.americamovil.dda._1.f.enviacontenido;
/**
* Please modify this class to meet your needs
* This class is not complete
*/
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 2.7.6
* 2016-08-19T10:55:35.354-05:00
* Generated source version: 2.7.6
*
*/
public final class SIContenidoOut_HTTPSPort_Client {
private static final QName SERVICE_NAME = new QName("http://americamovil.com/DDA/1/F/EnviaContenido", "SYS_AM_1_DDA_DEV_SI_Contenido_Out_x_x");
private SIContenidoOut_HTTPSPort_Client() {
}
public static void main(String args[]) throws java.lang.Exception {
URL wsdlURL = SYSAM1DDADEVSIContenidoOutXX.WSDL_LOCATION;
if (args.length > 0 && args[0] != null && !"".equals(args[0])) {
File wsdlFile = new File(args[0]);
try {
if (wsdlFile.exists()) {
wsdlURL = wsdlFile.toURI().toURL();
} else {
wsdlURL = new URL(args[0]);
}
} catch (MalformedURLException e) {
e.printStackTrace();
}
}
SYSAM1DDADEVSIContenidoOutXX ss = new SYSAM1DDADEVSIContenidoOutXX(wsdlURL, SERVICE_NAME);
SIContenidoOut port = ss.getHTTPSPort();
{
System.out.println("Invoking enviaContenido...");
com.americamovil.dda._1.f.enviacontenido.DTContenido _enviaContenido_mtContenido = null;
com.americamovil.dda._1.f.enviacontenido.DTContenidoRes _enviaContenido__return = port.enviaContenido(_enviaContenido_mtContenido);
System.out.println("enviaContenido.result=" + _enviaContenido__return);
}
System.exit(0);
}
}
package com.americamovil.dda._1.f.enviacontenido;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;
/**
* This class was generated by Apache CXF 2.7.6
* 2016-08-19T10:55:35.398-05:00
* Generated source version: 2.7.6
*
*/
@WebServiceClient(name = "SYS_AM_1_DDA_DEV_SI_Contenido_Out_x_x",
wsdlLocation = "I-12_Contenido_F211F.xml",
targetNamespace = "http://americamovil.com/DDA/1/F/EnviaContenido")
public class SYSAM1DDADEVSIContenidoOutXX extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://americamovil.com/DDA/1/F/EnviaContenido", "SYS_AM_1_DDA_DEV_SI_Contenido_Out_x_x");
public final static QName HTTPSPort = new QName("http://americamovil.com/DDA/1/F/EnviaContenido", "HTTPS_Port");
public final static QName HTTPPort = new QName("http://americamovil.com/DDA/1/F/EnviaContenido", "HTTP_Port");
static {
URL url = SYSAM1DDADEVSIContenidoOutXX.class.getResource("I-12_Contenido_F211F.xml");
if (url == null) {
url = SYSAM1DDADEVSIContenidoOutXX.class.getClassLoader().getResource("I-12_Contenido_F211F.xml");
}
if (url == null) {
java.util.logging.Logger.getLogger(SYSAM1DDADEVSIContenidoOutXX.class.getName())
.log(java.util.logging.Level.INFO,
"Can not initialize the default wsdl from {0}", "I-12_Contenido_F211F.xml");
}
WSDL_LOCATION = url;
}
public SYSAM1DDADEVSIContenidoOutXX(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public SYSAM1DDADEVSIContenidoOutXX(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public SYSAM1DDADEVSIContenidoOutXX() {
super(WSDL_LOCATION, SERVICE);
}
/**
*
* @return
* returns SIContenidoOut
*/
@WebEndpoint(name = "HTTPS_Port")
public SIContenidoOut getHTTPSPort() {
return super.getPort(HTTPSPort, SIContenidoOut.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns SIContenidoOut
*/
@WebEndpoint(name = "HTTPS_Port")
public SIContenidoOut getHTTPSPort(WebServiceFeature... features) {
return super.getPort(HTTPSPort, SIContenidoOut.class, features);
}
/**
*
* @return
* returns SIContenidoOut
*/
@WebEndpoint(name = "HTTP_Port")
public SIContenidoOut getHTTPPort() {
return super.getPort(HTTPPort, SIContenidoOut.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns SIContenidoOut
*/
@WebEndpoint(name = "HTTP_Port")
public SIContenidoOut getHTTPPort(WebServiceFeature... features) {
return super.getPort(HTTPPort, SIContenidoOut.class, features);
}
}
@javax.xml.bind.annotation.XmlSchema(namespace = "http://americamovil.com/DDA/1/F/EnviaContenido")
package com.americamovil.dda._1.f.enviacontenido;
package mx.com.amx.mx.dda.crn;
import java.util.Properties;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import mx.com.amx.mx.dda.crn.bo.DDACargaTransacVisualBO;
import org.apache.log4j.Logger;
public class DDACargaTransacVisual implements ApplicationContextAware {
private ApplicationContext context;
private final String ARCHIVO_PROPIEDADES = "/general.properties";
private final Logger LOG = Logger.getLogger(this.getClass().getSimpleName());
Properties env = new Properties();
private DDACargaTransacVisualBO bo;
public DDACargaTransacVisual() {
super();
try {
env.load(this.getClass().getResourceAsStream(ARCHIVO_PROPIEDADES));
} catch (Exception e) {
LOG.error(">Constructor[" + this.getClass().getSimpleName() + "] Ocurrio un error : " + e.getMessage());
}
}
public void ejecutaProceso() {
LOG.info(" ");
LOG.info("<< :::::::::::::::: Inicia Proceso Carga Add On's DDA :::::::::::::::: >>");
System.out.println("Ejecutando proceso");
try {
//-- 1. Verifica que no se este ejecutando ya un proceso de Notificacion
LOG.info(" [INI]. Paso unico ini.- Ejecucion de SP carga.");
LOG.info("Recuperando Transacciones");
bo.recuperarTransacciones();
LOG.info("Cargando Transacciones");
//bo.cargarTransacciones();
LOG.info("Recuperando Visualizaciones");
bo.recuperarVisualizaciones();
LOG.info("Cargando Visualizaciones");
bo.cargarVisualizaciones();
LOG.info(" [INI]. Paso unico fin.");
} catch (Exception e) {
LOG.error("Ocurrio un error en ejecutaProceso::Carga Add On's: " + e.getMessage());
}
LOG.info("<< :::::::::::::::: Finaliza Proceso Carga Add On's DDA :::::::::::::::: >>");
LOG.info(" ");
}
@Override
public void setApplicationContext(ApplicationContext arg0) throws BeansException {
LOG.info("Entering to the application Context...");
this.context = context;
}
public DDACargaTransacVisualBO getBo() {
return bo;
}
public void setBo(DDACargaTransacVisualBO bo) {
this.bo = bo;
}
}
package mx.com.amx.mx.dda.crn.bo;
import java.io.File;
import java.io.FileOutputStream;
import java.time.LocalDate;
import java.time.Month;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
import java.util.TreeMap;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.ws.client.core.WebServiceTemplate;
import mx.com.amx.mx.dda.crn.dao.DDACargaTransacVisualDAO;
import mx.com.amx.mx.dda.crn.dto.ParamCargaTitulosPNDTO;
import mx.com.amx.mx.dda.crn.dto.ParamCargaTitulosVSDTO;
import mx.com.amx.mx.dda.crn.dto.ResponseCargaTitulosPNDTO;
import mx.com.amx.mx.dda.crn.dto.ResponseCargaTitulosVSDTO;
import mx.com.amx.mx.dda.crn.dto.TransaccionDTO;
import mx.com.amx.mx.dda.crn.dto.VisualizacionDTO;
import mx.com.amx.mx.dda.crn.restClient.DDARestClient;
import org.apache.commons.lang.StringUtils;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.xssf.usermodel.XSSFCell;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
public class DDACargaTransacVisualBO {
private final Logger LOG = Logger.getLogger(this.getClass().getSimpleName());
private final String ARCHIVO_PROPIEDADES = "/general.properties";
Properties env = new Properties();
@Autowired
@Qualifier("wsNotificaAFijoSAP")
private WebServiceTemplate wsNotificaAFijoSAP;
private DDACargaTransacVisualDAO dao;
private String AMBIENTE;
private String fileName;
private String date;
private String dateName;
private String expediente = "soporte";
public DDACargaTransacVisualBO() {
super();
try {
getDate();
env.load(this.getClass().getResourceAsStream(ARCHIVO_PROPIEDADES));
AMBIENTE = env.getProperty("ambiente");
} catch (Exception e) {
LOG.error(">Constructor[" + this.getClass().getSimpleName() + "] Ocurrio un error : " + e.getMessage());
}
}
public void recuperarTransacciones() throws Exception {
LOG.debug(" - [" + this.getClass().getSimpleName() + "::creando Archivo de Excel para carga]");
//Por cada lnea se crea un arreglo de objetos (Object[])
Map<Integer, Object[]> datos = new TreeMap<>();
LOG.info("Recuperando de la base de datos");
List<TransaccionDTO> transacciones = dao.obtenerTransaccionesMes(date);
LOG.info(transacciones.size() + " datos recuperados con fecha " + date);
datos.put(1, new Object[]{"FILIAL", "ID PROGRAM", "TITULO", "MEDIO PAGO", "ABONO", "PRECIO", "CANTIDAD", "FORMATO"});
Integer k = 2;
LOG.info("comenzando a crear archivo");
for (TransaccionDTO transaccion : transacciones) {
datos.put(k, new Object[]{transaccion.getPAIS(), transaccion.getID_PROGRAM(), transaccion.getTITULO(),
transaccion.getMEDIO_PAGO(), transaccion.getABONO(), transaccion.getPRECIO(),
transaccion.getCANTIDAD(), transaccion.getFORMATO()});
k++;
}
LOG.info(transacciones.size() + " datos recuperados");
createFile("Transacciones", datos, date, "/home/scm/server/dda/cargaTitulosPN/excel/", Boolean.FALSE);
}
public void recuperarVisualizaciones() throws Exception {
LOG.debug(" - [" + this.getClass().getSimpleName() + "::creando Archivo de Excel para carga]");
//Por cada lnea se crea un arreglo de objetos (Object[])
Map<Integer, Object[]> datos = new TreeMap<>();
LOG.info("Recuperando de la base de datos");
List<VisualizacionDTO> visualizaciones = dao.obtenerVisualizacionesMes(date);
LOG.info(visualizaciones.size() + " datos recuperados con fecha " + date);
datos.put(1, new Object[]{"Id Broadview", "Titulo", "Visualizaciones", "Mes"});
Integer k = 2;
LOG.info("comenzando a crear archivo");
for (VisualizacionDTO visualizacion : visualizaciones) {
datos.put(k, new Object[]{visualizacion.getID_BV(), visualizacion.getTITULO(),
visualizacion.getVISUALIZACIONES(), visualizacion.getMES_F()});
k++;
}
LOG.info(datos.size() + " datos recuperados");
createFile("Visualizaciones", datos, date, "/home/scm/server/dda/cargaTitulosVS/excel/", Boolean.TRUE);
}
public void getDate() {
LocalDate localDate = LocalDate.now();
int year = localDate.getYear();
int month = localDate.getMonthValue() - 1;
if (localDate.getMonth() == Month.JANUARY) {
--year;
month = 12;
}
date = "01/" + "06" + "/" + year;
dateName = "01/" + "06" + "/" + year;
}
public void createFile(String tituloHoja, Map<Integer, Object[]> datos, String date, String ruta, boolean isVisual) {
//Crear libro de trabajo en blanco
Workbook workbook = new XSSFWorkbook();
//Crea hoja nueva
Sheet sheet = workbook.createSheet(tituloHoja);
//Iterar sobre datos para escribir en la hoja
int numeroRenglon = 0;
for (Integer key : new HashSet<Integer>(datos.keySet())) {
Row row = sheet.createRow(numeroRenglon++);
Object[] arregloObjetos = datos.get(key);
int numeroCelda = 0;
for (Object obj : arregloObjetos) {
Cell cell = null;
if (isVisual && (numeroCelda == 2 || numeroCelda == 3)) {
cell = row.createCell(numeroCelda++);
cell.setCellType(XSSFCell.CELL_TYPE_NUMERIC);
} else {
cell = row.createCell(numeroCelda++);
}
if (obj instanceof String) {
cell.setCellValue((String) obj);
} else if (obj instanceof Integer) {
cell.setCellValue((Integer) obj);
}
}
}
try {
//Se genera el documento
LOG.info("Archivo guardado");
fileName = ruta.concat(dateName.concat(tituloHoja) + ".xlsx");
//FileOutputStream out = new FileOutputStream(new File(fileName));
File d = new File(fileName);
d.setExecutable(true, false);
d.setReadable(true, false);
d.setWritable(true, false);
FileOutputStream out = new FileOutputStream(d);
workbook.write(out);
out.close();
LOG.info("Archivo guardado" + fileName);
fileName = dateName.concat(tituloHoja) + ".xlsx";
} catch (Exception e) {
e.printStackTrace();
}
}
/**
* @return the dao
*/
public DDACargaTransacVisualDAO getDao() {
return dao;
}
/**
* @param dao the dao to set
*/
public void setDao(DDACargaTransacVisualDAO dao) {
this.dao = dao;
}
public void cargarTransacciones() {
DDARestClient client = new DDARestClient("http://localhost:8080/DDA_WSB_Procesos/services/proceso/procesarCargaTitulosPN");
ParamCargaTitulosPNDTO request = new ParamCargaTitulosPNDTO();
LOG.info("Recuperando idCarga");
String idCarga = dao.obtenerSiguienteIdCarga();
LOG.info("Registrando idCarga " + idCarga);
dao.registrarCargaTransaccion(idCarga, date);
request.setNombreArchivo(fileName);
request.setExpediente(expediente);
request.setIdCargaTransacciones(idCarga);
LOG.info("Cargando transacciones ");
LOG.info("Request: " + request);
ResponseCargaTitulosPNDTO response = client.get(request, ResponseCargaTitulosPNDTO.class);
if (response.getMensaje().equals("OK")) {
try {
dao.ejecutarSPAsociarTitTransCntVigentes(idCarga);
dao.ejecutarCalculoOverage(idCarga);
} catch (Exception e) {
LOG.error("Fallo el archivo " + response.getDatosCarga().getARCHIVO_XLSX());
}
LOG.info("Transacciones cargadas " + response.getDatosCarga().getARCHIVO_XLSX());
} else {
LOG.error("Fallo el archivo " + response.getDatosCarga().getARCHIVO_XLSX());
}
}
public void cargarVisualizaciones() {
DDARestClient client = new DDARestClient("http://localhost:8080/DDA_WSB_Procesos/services/proceso/procesarCargaTitulosVS");
ParamCargaTitulosVSDTO request = new ParamCargaTitulosVSDTO();
request.setNombreArchivo(fileName);
request.setExpediente(expediente);
request.setMesCarga(date);
LOG.info("Cargando visualizaciones ");
ResponseCargaTitulosVSDTO response = client.get(request, ResponseCargaTitulosVSDTO.class);
LOG.info("visualizaciones cargadas " + response.getDatosCarga().getARCHIVO_XLSX());
}
}
package mx.com.amx.mx.dda.crn.dao;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import mx.com.amx.mx.dda.crn.dto.ContratoTituloDTO;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Component;
import mx.com.amx.mx.dda.crn.dto.TransaccionDTO;
import mx.com.amx.mx.dda.crn.dto.VisualizacionDTO;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
@Component
@Qualifier("ddaexhibicionDAO")
public class DDACargaTransacVisualDAO implements IDDACargaDAO {
private final Logger LOG = Logger.getLogger(this.getClass().getSimpleName());
private final String ARCHIVO_PROPIEDADES = "/general.properties";
Properties env = new Properties();
private JdbcTemplate jdbcTemplate;
private String AMBIENTE;
public DDACargaTransacVisualDAO() {
super();
try {
env.load(this.getClass().getResourceAsStream(ARCHIVO_PROPIEDADES));
AMBIENTE = env.getProperty("ambiente");
} catch (Exception e) {
LOG.error(">Constructor[" + this.getClass().getSimpleName() + "] Ocurrio un error : " + e.getMessage());
}
}
@Override
public List<TransaccionDTO> obtenerTransaccionesMes(String date) {
List<TransaccionDTO> lobResultado = new ArrayList<>();
StringBuilder sb = new StringBuilder();
List<Object> qryParams = new ArrayList<>();
try {
//--Ejecucion
sb.append("select CASE WHEN PAIS = 'ELSALVADOR' THEN 'EL SALVADOR' ");
sb.append("WHEN PAIS = 'COSTARICA' THEN 'COSTA RICA' ");
sb.append("WHEN PAIS = 'DOMINICANA' THEN 'DOMINICAN REP.' ELSE PAIS END PAIS ");
sb.append(",ID_PROGRAM,TITULO,MEDIO_PAGO,ABONO,PRECIO,CANTIDAD,'HD' AS FORMATO,MES,FECHA_REGISTRO FROM DDA_CV_TRANSACCION WHERE ");
sb.append("to_date(?,'dd/mm/yyyy') = to_date(to_char(MES,'dd/mm/yyyy'),'dd/mm/yyyy')");
final String lstSQL = sb.toString();
qryParams.add(date);
lobResultado = (ArrayList<TransaccionDTO>) jdbcTemplate
.query(lstSQL, qryParams.toArray(), new BeanPropertyRowMapper<TransaccionDTO>(TransaccionDTO.class));
} catch (Exception e) {
LOG.error("Exception[" + this.getClass().getSimpleName() + "::obtenerContratosSuscripcion]: " + e.getMessage());
}
return lobResultado;
}
public JdbcTemplate getJdbcTemplate() {
return jdbcTemplate;
}
public void setJdbcTemplate(JdbcTemplate jdbcTemplate) {
this.jdbcTemplate = jdbcTemplate;
}
@Override
public boolean ejecutarSPAsociarTitTransCntVigentes(String pstIdCargaTrans) throws Exception {
String lstIdCargaTransacciones = (pstIdCargaTrans != null && pstIdCargaTrans.trim().length() > 0) ? pstIdCargaTrans : "";
LOG.debug("lstIdCargaTransacciones:" + lstIdCargaTransacciones);
boolean resultado = false;
StringBuffer sb = new StringBuffer();
StringBuffer sbD = new StringBuffer();
List<Object> qryParams = new ArrayList<Object>();
int lnuRowsUpdate = 0;
try {
//--Debug
sbD.append("call DDA_ASOC_TITTRANS_CNTVIG");
LOG.debug(">Sql_D [ejecutarSPAsociarTitTransCntVigentes]:" + sbD.toString());
//--Ejecucion
sb.append("call DDA_ASOC_TITTRANS_CNTVIG(?)");
final String lstSQL = sb.toString();
qryParams.add(lstIdCargaTransacciones);
lnuRowsUpdate = jdbcTemplate.update(lstSQL, qryParams.toArray());
if (lnuRowsUpdate >= 0) {
resultado = true;
}
} catch (Exception e) {
LOG.error("Exception[" + this.getClass().getSimpleName() + "::ejecutarSPAsociarTitTransCntVigentes]: " + e.getMessage());
throw new Exception(e.getMessage());
}
return resultado;
}
@Override
public boolean ejecutarCalculoOverage(String pstIdCargaTrans) throws Exception {
String lstIdCargaTransacciones = (pstIdCargaTrans != null && pstIdCargaTrans.trim().length() > 0) ? pstIdCargaTrans : "";
LOG.debug("lstIdCargaTransacciones:" + lstIdCargaTransacciones);
boolean resultado = false;
StringBuffer sb = new StringBuffer();
StringBuffer sbD = new StringBuffer();
List<Object> qryParams = new ArrayList<Object>();
int lnuRowsUpdate = 0;
try {
//--Debug
sbD.append("call DDA_CNT_CALCULAR_OVERAGE");
LOG.debug(">Sql_D [ejecutarSPAsociarTitTransCntVigentes]:" + sbD.toString());
//--Ejecucion
sb.append("call DDA_CNT_CALCULAR_OVERAGE(?)");
final String lstSQL = sb.toString();
qryParams.add(lstIdCargaTransacciones);
lnuRowsUpdate = jdbcTemplate.update(lstSQL, qryParams.toArray());
if (lnuRowsUpdate >= 0) {
resultado = true;
}
} catch (Exception e) {
LOG.error("Exception[" + this.getClass().getSimpleName() + "::ejecutarSPAsociarTitTransCntVigentes]: " + e.getMessage());
throw new Exception(e.getMessage());
}
return resultado;
}
@Override
public List<VisualizacionDTO> obtenerVisualizacionesMes(String date) {
List<VisualizacionDTO> lobResultado = new ArrayList<>();
StringBuilder sb = new StringBuilder();
List<Object> qryParams = new ArrayList<>();
try {
//--Ejecucion
sb.append("select ID_BV,TITULO,VISUALIZACIONES,to_char(MES,'dd/mm/yyyy') AS MES_F,FECHA_REGISTRO from DDA_CV_VISUALIZACION where ");
sb.append("to_date(?,'dd/mm/yyyy') = to_date(to_char(MES,'dd/mm/yyyy'),'dd/mm/yyyy')");
final String lstSQL = sb.toString();
qryParams.add(date);
lobResultado = (ArrayList<VisualizacionDTO>) jdbcTemplate
.query(lstSQL, qryParams.toArray(), new BeanPropertyRowMapper<VisualizacionDTO>(VisualizacionDTO.class));
} catch (Exception e) {
LOG.error("Exception[" + this.getClass().getSimpleName() + "::obtenerContratosSuscripcion]: " + e.getMessage());
}
return lobResultado;
}
@Override
public String obtenerSiguienteIdCarga() {
/* Se usa el objeto de ContratoTituloDTO para no tener que crear un DTO para el ID de Carga ya que solo se usaria para este proposito*/
String resultado = "-1";
List<ContratoTituloDTO> lobResultado = new ArrayList<>();
StringBuffer sb = new StringBuffer();
try {
//--Ejecucion
sb.append("select DDA_SQT_CARGA_TRANSACCION.NEXTVAL as ID_LISTA from dual ");
final String lstSQL = sb.toString();
lobResultado = (ArrayList<ContratoTituloDTO>) jdbcTemplate.query(lstSQL, new BeanPropertyRowMapper<>(ContratoTituloDTO.class));
if (lobResultado != null && lobResultado.size() == 1) {
resultado = (String) lobResultado.get(0).getID_LISTA();
}
} catch (Exception e) {
LOG.error("Exception[" + this.getClass().getSimpleName() + "::obtenerSiguienteIdCarga]: " + e.getMessage());
}
return resultado;
}
@Override
public boolean registrarCargaTransaccion(String idCarga, String date) {
boolean resultado = false;
List<Object> qryParams = new ArrayList<>();
StringBuffer sb = new StringBuffer();
try {
//--Ejecucion
sb.append("INSERT INTO DDA_T_CARGA_TRANSACCION (ID_CARGA_TRANS, MES, FECHA_VOBO, ESTATUS_CARGA) ");
sb.append("VALUES (?, TO_DATE(?, 'DD/MM/YYYY'), null, null)");
final String sql = sb.toString();
qryParams.add(idCarga);
qryParams.add(date);
int lnumRowsInsertados = jdbcTemplate.update(sql, qryParams.toArray());
if (lnumRowsInsertados > 0) {
resultado = true;
}
} catch (Exception e) {
LOG.error("Exception[" + this.getClass().getSimpleName() + "::registrarCalculoCostoTituloEscala]: " + e.getMessage());
}
return resultado;
}
}
package mx.com.amx.mx.dda.crn.dao;
import java.util.List;
import mx.com.amx.mx.dda.crn.dto.TransaccionDTO;
import mx.com.amx.mx.dda.crn.dto.VisualizacionDTO;
public interface IDDACargaDAO
{
public List<TransaccionDTO> obtenerTransaccionesMes(String date);
public List<VisualizacionDTO> obtenerVisualizacionesMes(String date);
public String obtenerSiguienteIdCarga();
public boolean registrarCargaTransaccion(String idCarga, String date);
public boolean ejecutarSPAsociarTitTransCntVigentes(String pstIdCargaTrans) throws Exception;
public boolean ejecutarCalculoOverage(String pstIdCargaTrans) throws Exception;
}
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package mx.com.amx.mx.dda.crn.dto;
import java.io.Serializable;
/**
*
* @author jfmj_
*/
public class CargaPrincipalPNDTO implements Serializable
{
private static final long serialVersionUID = 1L;
private String ID_CARGA;
private String FECHA_CARGA;
private String EXPEDIENTE;
private String ARCHIVO_XLSX;
private String TOTAL_REGISTROS;
private String TOTAL_CARGADOS;
private String TOTAL_ERROR;
public String getID_CARGA() {
return ID_CARGA;
}
public void setID_CARGA(String iD_CARGA) {
ID_CARGA = iD_CARGA;
}
public String getFECHA_CARGA() {
return FECHA_CARGA;
}
public void setFECHA_CARGA(String fECHA_CARGA) {
FECHA_CARGA = fECHA_CARGA;
}
public String getEXPEDIENTE() {
return EXPEDIENTE;
}
public void setEXPEDIENTE(String eXPEDIENTE) {
EXPEDIENTE = eXPEDIENTE;
}
public String getARCHIVO_XLSX() {
return ARCHIVO_XLSX;
}
public void setARCHIVO_XLSX(String aRCHIVO_XLSX) {
ARCHIVO_XLSX = aRCHIVO_XLSX;
}
public String getTOTAL_REGISTROS() {
return TOTAL_REGISTROS;
}
public void setTOTAL_REGISTROS(String tOTAL_REGISTROS) {
TOTAL_REGISTROS = tOTAL_REGISTROS;
}
public String getTOTAL_CARGADOS() {
return TOTAL_CARGADOS;
}
public void setTOTAL_CARGADOS(String tOTAL_CARGADOS) {
TOTAL_CARGADOS = tOTAL_CARGADOS;
}
public String getTOTAL_ERROR() {
return TOTAL_ERROR;
}
public void setTOTAL_ERROR(String tOTAL_ERROR) {
TOTAL_ERROR = tOTAL_ERROR;
}
public String toString()
{
StringBuilder result = new StringBuilder();
String NEW_LINE = System.getProperty("line.separator");
result.append(" [Begin of Class] " + NEW_LINE);
result.append(this.getClass().getSimpleName() + " Object {" + NEW_LINE);
result.append(" ID_CARGA: _" + this.getID_CARGA() + "_" + NEW_LINE);
result.append(" FECHA_CARGA: _" + this.getFECHA_CARGA() + "_" + NEW_LINE);
result.append(" EXPEDIENTE: _" + this.getEXPEDIENTE() + "_" + NEW_LINE);
result.append(" ARCHIVO_XLSX: _" + this.getARCHIVO_XLSX() + "_" + NEW_LINE);
result.append(" TOTAL_REGISTROS: _" + this.getTOTAL_REGISTROS() + "_" + NEW_LINE);
result.append(" TOTAL_CARGADOS: _" + this.getTOTAL_CARGADOS() + "_" + NEW_LINE);
result.append(" TOTAL_ERROR: _" + this.getTOTAL_ERROR() + "_" + NEW_LINE);
result.append(" [End of Class] " + NEW_LINE);
result.append("}");
NEW_LINE = null;
return result.toString();
}
}
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package mx.com.amx.mx.dda.crn.dto;
import java.io.Serializable;
/**
*
* @author jfmj_
*/
public class CargaPrincipalVSDTO implements Serializable
{
private static final long serialVersionUID = 1L;
private String ID_CARGA;
private String ARCHIVO_XLSX;
private String EXPEDIENTE;
private String FECHA_CARGA;
private String TOTAL_REGISTROS;
private String TOTAL_CARGADOS;
private String TOTAL_ERROR;
private String MES;
public String getID_CARGA() {
return ID_CARGA;
}
public void setID_CARGA(String iD_CARGA) {
ID_CARGA = iD_CARGA;
}
public String getARCHIVO_XLSX() {
return ARCHIVO_XLSX;
}
public void setARCHIVO_XLSX(String aRCHIVO_XLSX) {
ARCHIVO_XLSX = aRCHIVO_XLSX;
}
public String getEXPEDIENTE() {
return EXPEDIENTE;
}
public void setEXPEDIENTE(String eXPEDIENTE) {
EXPEDIENTE = eXPEDIENTE;
}
public String getFECHA_CARGA() {
return FECHA_CARGA;
}
public void setFECHA_CARGA(String fECHA_CARGA) {
FECHA_CARGA = fECHA_CARGA;
}
public String getTOTAL_REGISTROS() {
return TOTAL_REGISTROS;
}
public void setTOTAL_REGISTROS(String tOTAL_REGISTROS) {
TOTAL_REGISTROS = tOTAL_REGISTROS;
}
public String getTOTAL_CARGADOS() {
return TOTAL_CARGADOS;
}
public void setTOTAL_CARGADOS(String tOTAL_CARGADOS) {
TOTAL_CARGADOS = tOTAL_CARGADOS;
}
public String getTOTAL_ERROR() {
return TOTAL_ERROR;
}
public void setTOTAL_ERROR(String tOTAL_ERROR) {
TOTAL_ERROR = tOTAL_ERROR;
}
public String getMES() {
return MES;
}
public void setMES(String mES) {
MES = mES;
}
public String toString()
{
StringBuilder result = new StringBuilder();
String NEW_LINE = System.getProperty("line.separator");
result.append(" [Begin of Class] " + NEW_LINE);
result.append(this.getClass().getSimpleName() + " Object {" + NEW_LINE);
result.append(" ID_CARGA: _" + this.getID_CARGA() + "_" + NEW_LINE);
result.append(" ARCHIVO_XLSX: _" + this.getARCHIVO_XLSX() + "_" + NEW_LINE);
result.append(" EXPEDIENTE: _" + this.getEXPEDIENTE() + "_" + NEW_LINE);
result.append(" FECHA_CARGA: _" + this.getFECHA_CARGA() + "_" + NEW_LINE);
result.append(" TOTAL_REGISTROS: _" + this.getTOTAL_REGISTROS() + "_" + NEW_LINE);
result.append(" TOTAL_CARGADOS: _" + this.getTOTAL_CARGADOS() + "_" + NEW_LINE);
result.append(" TOTAL_ERROR: _" + this.getTOTAL_ERROR() + "_" + NEW_LINE);
result.append(" MES: _" + this.getMES() + "_" + NEW_LINE);
result.append(" [End of Class] " + NEW_LINE);
result.append("}");
NEW_LINE = null;
return result.toString();
}
}
package mx.com.amx.mx.dda.crn.dto;
import java.io.Serializable;
/**
* Es la representacion de la tabla DDA_T_CONTRATO_TITULO. Se usa para el manejo de las operaciones BD.
*/
public class ContratoTituloDTO implements Serializable
{
private static final long serialVersionUID = 1L;
private String ID_TITULO_CNT;
private String DESC_TITULO;
private String ID_CONTRATO;
private String ID_LISTA;
private String ID_TITULO;
private String ID_CATEGORIA;
private String FECHA_INICIO;
private String FECHA_FIN;
private String BRIEFCASE;
private String DTO;
private String DTR;
private String COSTO;
private String VIDA_UTIL;
private String ID_SAP;
private String ESTATUS;
private String ID_TITULO_CNTNVO;
private String HVRD;
private String ID_TERRITORIO;
private String ID_RELEASE;
private String ID_TITULO_CNTORIG;
private String FECHA_NOTIFSAP;
private String AJUSTO_TITULO;
private String AJUSTO_VALOR;
private String AJUSTO_VU;
private String BAJA_PERDIDA;
private String FECHA_AJUSTOTITULO;
private String FECHA_AJUSTOVALOR;
private String FECHA_AJUSTOVU;
private String FECHA_BAJA;
private String ID_SAP_ANT;
private String ID_TITULO_CNTANT;
private String FECHA_WS;
private String NOTA_CREDITO;
private String FACTURA_CREDITO;
private String TIPO_TITULO;
private String ID_PAGO_CATEG;
private String PRECIO_ANUAL;
private String NOMBRE_UNICO;
private String EPISODIO;
private String ID_BV;
private String ID_CATEGORIA_TIT;
private String TEMPORADA;
private String MESES_VU;
private String PJE_EXCLUSIVO;
private String MESES_EXCLUSIVO;
private String FLGCALCULO_PRECIO;
private String FECHA_CONTABILIZACION;
private String ANIO_CONTRATO;
public String getID_TITULO_CNT() {
return ID_TITULO_CNT;
}
public void setID_TITULO_CNT(String iD_TITULO_CNT) {
ID_TITULO_CNT = iD_TITULO_CNT;
}
public String getDESC_TITULO() {
return DESC_TITULO;
}
public void setDESC_TITULO(String dESC_TITULO) {
DESC_TITULO = dESC_TITULO;
}
public String getID_CONTRATO() {
return ID_CONTRATO;
}
public void setID_CONTRATO(String iD_CONTRATO) {
ID_CONTRATO = iD_CONTRATO;
}
public String getID_LISTA() {
return ID_LISTA;
}
public void setID_LISTA(String iD_LISTA) {
ID_LISTA = iD_LISTA;
}
public String getID_TITULO() {
return ID_TITULO;
}
public void setID_TITULO(String iD_TITULO) {
ID_TITULO = iD_TITULO;
}
public String getID_CATEGORIA() {
return ID_CATEGORIA;
}
public void setID_CATEGORIA(String iD_CATEGORIA) {
ID_CATEGORIA = iD_CATEGORIA;
}
public String getFECHA_INICIO() {
return FECHA_INICIO;
}
public void setFECHA_INICIO(String fECHA_INICIO) {
FECHA_INICIO = fECHA_INICIO;
}
public String getFECHA_FIN() {
return FECHA_FIN;
}
public void setFECHA_FIN(String fECHA_FIN) {
FECHA_FIN = fECHA_FIN;
}
public String getBRIEFCASE() {
return BRIEFCASE;
}
public void setBRIEFCASE(String bRIEFCASE) {
BRIEFCASE = bRIEFCASE;
}
public String getDTO() {
return DTO;
}
public void setDTO(String dTO) {
DTO = dTO;
}
public String getDTR() {
return DTR;
}
public void setDTR(String dTR) {
DTR = dTR;
}
public String getCOSTO() {
return COSTO;
}
public void setCOSTO(String cOSTO) {
COSTO = cOSTO;
}
public String getVIDA_UTIL() {
return VIDA_UTIL;
}
public void setVIDA_UTIL(String vIDA_UTIL) {
VIDA_UTIL = vIDA_UTIL;
}
public String getID_SAP() {
return ID_SAP;
}
public void setID_SAP(String iD_SAP) {
ID_SAP = iD_SAP;
}
public String getESTATUS() {
return ESTATUS;
}
public void setESTATUS(String eSTATUS) {
ESTATUS = eSTATUS;
}
public String getID_TITULO_CNTNVO() {
return ID_TITULO_CNTNVO;
}
public void setID_TITULO_CNTNVO(String iD_TITULO_CNTNVO) {
ID_TITULO_CNTNVO = iD_TITULO_CNTNVO;
}
public String getHVRD() {
return HVRD;
}
public void setHVRD(String hVRD) {
HVRD = hVRD;
}
public String getID_TERRITORIO() {
return ID_TERRITORIO;
}
public void setID_TERRITORIO(String iD_TERRITORIO) {
ID_TERRITORIO = iD_TERRITORIO;
}
public String getID_RELEASE() {
return ID_RELEASE;
}
public void setID_RELEASE(String iD_RELEASE) {
ID_RELEASE = iD_RELEASE;
}
public String getID_TITULO_CNTORIG() {
return ID_TITULO_CNTORIG;
}
public void setID_TITULO_CNTORIG(String iD_TITULO_CNTORIG) {
ID_TITULO_CNTORIG = iD_TITULO_CNTORIG;
}
public String getFECHA_NOTIFSAP() {
return FECHA_NOTIFSAP;
}
public void setFECHA_NOTIFSAP(String fECHA_NOTIFSAP) {
FECHA_NOTIFSAP = fECHA_NOTIFSAP;
}
public String getAJUSTO_TITULO() {
return AJUSTO_TITULO;
}
public void setAJUSTO_TITULO(String aJUSTO_TITULO) {
AJUSTO_TITULO = aJUSTO_TITULO;
}
public String getAJUSTO_VALOR() {
return AJUSTO_VALOR;
}
public void setAJUSTO_VALOR(String aJUSTO_VALOR) {
AJUSTO_VALOR = aJUSTO_VALOR;
}
public String getAJUSTO_VU() {
return AJUSTO_VU;
}
public void setAJUSTO_VU(String aJUSTO_VU) {
AJUSTO_VU = aJUSTO_VU;
}
public String getBAJA_PERDIDA() {
return BAJA_PERDIDA;
}
public void setBAJA_PERDIDA(String bAJA_PERDIDA) {
BAJA_PERDIDA = bAJA_PERDIDA;
}
public String getFECHA_AJUSTOTITULO() {
return FECHA_AJUSTOTITULO;
}
public void setFECHA_AJUSTOTITULO(String fECHA_AJUSTOTITULO) {
FECHA_AJUSTOTITULO = fECHA_AJUSTOTITULO;
}
public String getFECHA_AJUSTOVALOR() {
return FECHA_AJUSTOVALOR;
}
public void setFECHA_AJUSTOVALOR(String fECHA_AJUSTOVALOR) {
FECHA_AJUSTOVALOR = fECHA_AJUSTOVALOR;
}
public String getFECHA_AJUSTOVU() {
return FECHA_AJUSTOVU;
}
public void setFECHA_AJUSTOVU(String fECHA_AJUSTOVU) {
FECHA_AJUSTOVU = fECHA_AJUSTOVU;
}
public String getFECHA_BAJA() {
return FECHA_BAJA;
}
public void setFECHA_BAJA(String fECHA_BAJA) {
FECHA_BAJA = fECHA_BAJA;
}
public String getID_SAP_ANT() {
return ID_SAP_ANT;
}
public void setID_SAP_ANT(String iD_SAP_ANT) {
ID_SAP_ANT = iD_SAP_ANT;
}
public String getID_TITULO_CNTANT() {
return ID_TITULO_CNTANT;
}
public void setID_TITULO_CNTANT(String iD_TITULO_CNTANT) {
ID_TITULO_CNTANT = iD_TITULO_CNTANT;
}
public String getFECHA_WS() {
return FECHA_WS;
}
public void setFECHA_WS(String fECHA_WS) {
FECHA_WS = fECHA_WS;
}
public String getNOTA_CREDITO() {
return NOTA_CREDITO;
}
public void setNOTA_CREDITO(String nOTA_CREDITO) {
NOTA_CREDITO = nOTA_CREDITO;
}
public String getFACTURA_CREDITO() {
return FACTURA_CREDITO;
}
public void setFACTURA_CREDITO(String fACTURA_CREDITO) {
FACTURA_CREDITO = fACTURA_CREDITO;
}
public String getTIPO_TITULO() {
return TIPO_TITULO;
}
public void setTIPO_TITULO(String tIPO_TITULO) {
TIPO_TITULO = tIPO_TITULO;
}
public String getID_PAGO_CATEG() {
return ID_PAGO_CATEG;
}
public void setID_PAGO_CATEG(String iD_PAGO_CATEG) {
ID_PAGO_CATEG = iD_PAGO_CATEG;
}
public String getPRECIO_ANUAL() {
return PRECIO_ANUAL;
}
public void setPRECIO_ANUAL(String pRECIO_ANUAL) {
PRECIO_ANUAL = pRECIO_ANUAL;
}
public String getNOMBRE_UNICO() {
return NOMBRE_UNICO;
}
public void setNOMBRE_UNICO(String nOMBRE_UNICO) {
NOMBRE_UNICO = nOMBRE_UNICO;
}
public String getEPISODIO() {
return EPISODIO;
}
public void setEPISODIO(String ePISODIO) {
EPISODIO = ePISODIO;
}
public String getID_BV() {
return ID_BV;
}
public void setID_BV(String iD_BV) {
ID_BV = iD_BV;
}
public String getID_CATEGORIA_TIT() {
return ID_CATEGORIA_TIT;
}
public void setID_CATEGORIA_TIT(String iD_CATEGORIA_TIT) {
ID_CATEGORIA_TIT = iD_CATEGORIA_TIT;
}
public String getTEMPORADA() {
return TEMPORADA;
}
public void setTEMPORADA(String tEMPORADA) {
TEMPORADA = tEMPORADA;
}
public String getMESES_VU() {
return MESES_VU;
}
public void setMESES_VU(String mESES_VU) {
MESES_VU = mESES_VU;
}
public String getPJE_EXCLUSIVO() {
return PJE_EXCLUSIVO;
}
public void setPJE_EXCLUSIVO(String pJE_EXCLUSIVO) {
PJE_EXCLUSIVO = pJE_EXCLUSIVO;
}
public String getMESES_EXCLUSIVO() {
return MESES_EXCLUSIVO;
}
public void setMESES_EXCLUSIVO(String mESES_EXCLUSIVO) {
MESES_EXCLUSIVO = mESES_EXCLUSIVO;
}
public String getFLGCALCULO_PRECIO() {
return FLGCALCULO_PRECIO;
}
public void setFLGCALCULO_PRECIO(String fLGCALCULO_PRECIO) {
FLGCALCULO_PRECIO = fLGCALCULO_PRECIO;
}
public String getFECHA_CONTABILIZACION() {
return FECHA_CONTABILIZACION;
}
public void setFECHA_CONTABILIZACION(String fECHA_CONTABILIZACION) {
FECHA_CONTABILIZACION = fECHA_CONTABILIZACION;
}
public String getANIO_CONTRATO() {
return ANIO_CONTRATO;
}
public void setANIO_CONTRATO(String aNIO_CONTRATO) {
ANIO_CONTRATO = aNIO_CONTRATO;
}
public String toString()
{
StringBuilder result = new StringBuilder();
String NEW_LINE = System.getProperty("line.separator");
result.append(" [Begin of Class] " + NEW_LINE);
result.append(this.getClass().getSimpleName() + " Object {" + NEW_LINE);
result.append(" ID_TITULO_CNT: _" + this.getID_TITULO_CNT() + "_" + NEW_LINE);
result.append(" DESC_TITULO: _" + this.getDESC_TITULO() + "_" + NEW_LINE);
result.append(" ID_CONTRATO: _" + this.getID_CONTRATO() + "_" + NEW_LINE);
result.append(" ID_LISTA: _" + this.getID_LISTA() + "_" + NEW_LINE);
result.append(" ID_TITULO: _" + this.getID_TITULO_CNT() + "_" + NEW_LINE);
result.append(" ID_CATEGORIA: _" + this.getID_CATEGORIA() + "_" + NEW_LINE);
result.append(" FECHA_INICIO: _" + this.getFECHA_INICIO() + "_" + NEW_LINE);
result.append(" FECHA_FIN: _" + this.getFECHA_FIN() + "_" + NEW_LINE);
result.append(" BRIEFCASE: _" + this.getBRIEFCASE() + "_" + NEW_LINE);
result.append(" DTO: _" + this.getDTO() + "_" + NEW_LINE);
result.append(" DTR: _" + this.getDTR() + "_" + NEW_LINE);
result.append(" COSTO: _" + this.getCOSTO() + "_" + NEW_LINE);
result.append(" VIDA_UTIL: _" + this.getVIDA_UTIL() + "_" + NEW_LINE);
result.append(" ID_SAP: _" + this.getID_SAP() + "_" + NEW_LINE);
result.append(" ESTATUS: _" + this.getESTATUS() + "_" + NEW_LINE);
result.append(" ID_TITULO_CNTNVO: _" + this.getID_TITULO_CNTNVO() + "_" + NEW_LINE);
result.append(" HVRD: _" + this.getHVRD() + "_" + NEW_LINE);
result.append(" ID_TERRITORIO: _" + this.getID_TERRITORIO() + "_" + NEW_LINE);
result.append(" ID_RELEASE: _" + this.getID_RELEASE() + "_" + NEW_LINE);
result.append(" ID_TITULO_CNTORIG: _" + this.getID_TITULO_CNTORIG() + "_" + NEW_LINE);
result.append(" FECHA_NOTIFSAP: _" + this.getFECHA_NOTIFSAP() + "_" + NEW_LINE);
result.append(" AJUSTO_TITULO: _" + this.getVIDA_UTIL() + "_" + NEW_LINE);
result.append(" AJUSTO_VALOR: _" + this.getVIDA_UTIL() + "_" + NEW_LINE);
result.append(" AJUSTO_VU: _" + this.getVIDA_UTIL() + "_" + NEW_LINE);
result.append(" BAJA_PERDIDA: _" + this.getVIDA_UTIL() + "_" + NEW_LINE);
result.append(" FECHA_AJUSTOTITULO: _" + this.getVIDA_UTIL() + "_" + NEW_LINE);
result.append(" FECHA_AJUSTOVALOR: _" + this.getVIDA_UTIL() + "_" + NEW_LINE);
result.append(" FECHA_AJUSTOVU: _" + this.getVIDA_UTIL() + "_" + NEW_LINE);
result.append(" FECHA_BAJA: _" + this.getVIDA_UTIL() + "_" + NEW_LINE);
result.append(" ID_SAP_ANT: _" + this.getID_SAP_ANT() + "_" + NEW_LINE);
result.append(" ID_TITULO_CNTANT: _" + this.getID_TITULO_CNTANT() + "_" + NEW_LINE);
result.append(" FECHA_WS: _" + this.getFECHA_WS() + "_" + NEW_LINE);
result.append(" NOTA_CREDITO: _" + this.getNOTA_CREDITO() + "_" + NEW_LINE);
result.append(" FACTURA_CREDITO: _" + this.getFACTURA_CREDITO() + "_" + NEW_LINE);
result.append(" TIPO_TITULO: _" + this.getTIPO_TITULO() + "_" + NEW_LINE);
result.append(" ID_PAGO_CATEG: _" + this.getID_PAGO_CATEG() + "_" + NEW_LINE);
result.append(" PRECIO_ANUAL: _" + this.getPRECIO_ANUAL() + "_" + NEW_LINE);
result.append(" NOMBRE_UNICO: _" + this.getNOMBRE_UNICO() + "_" + NEW_LINE);
result.append(" EPISODIO: _" + this.getEPISODIO() + "_" + NEW_LINE);
result.append(" ID_BV: _" + this.getID_BV() + "_" + NEW_LINE);
result.append(" ID_CATEGORIA_TIT: _" + this.getID_CATEGORIA_TIT() + "_" + NEW_LINE);
result.append(" TEMPORADA: _" + this.getTEMPORADA() + "_" + NEW_LINE);
result.append(" MESES_VU: _" + this.getMESES_VU() + "_" + NEW_LINE);
result.append(" PJE_EXCLUSIVO: _" + this.getPJE_EXCLUSIVO() + "_" + NEW_LINE);
result.append(" MESES_EXCLUSIVO: _" + this.getMESES_EXCLUSIVO() + "_" + NEW_LINE);
result.append(" FLGCALCULO_PRECIO: _" + this.getFLGCALCULO_PRECIO() + "_" + NEW_LINE);
result.append(" FECHA_CONTABILIZACION: _" + this.getFECHA_CONTABILIZACION() + "_" + NEW_LINE);
result.append(" ANIO_CONTRATO: _" + this.getANIO_CONTRATO() + "_" + NEW_LINE);
result.append(" [End of Class] " + NEW_LINE);
result.append("}");
NEW_LINE = null;
return result.toString();
}
}
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package mx.com.amx.mx.dda.crn.dto;
import java.io.Serializable;
/**
*
* @author jfmj_
*/
public class ParamCargaTitulosPNDTO implements Serializable
{
private static final long serialVersionUID = 1L;
private String nombreArchivo;
private String expediente;
private String idCargaTransacciones;
public String getNombreArchivo() {
return nombreArchivo;
}
public void setNombreArchivo(String nombreArchivo) {
this.nombreArchivo = nombreArchivo;
}
public String getExpediente() {
return expediente;
}
public void setExpediente(String expediente) {
this.expediente = expediente;
}
public String getIdCargaTransacciones() {
return idCargaTransacciones;
}
public void setIdCargaTransacciones(String idCargaTransacciones) {
this.idCargaTransacciones = idCargaTransacciones;
}
public String toString()
{
StringBuilder result = new StringBuilder();
String NEW_LINE = System.getProperty("line.separator");
result.append(" [Begin of Class] " + NEW_LINE);
result.append(this.getClass().getSimpleName() + " Object {" + NEW_LINE);
result.append(" nombreArchivo: _" + this.getNombreArchivo() + "_" + NEW_LINE);
result.append(" expediente: _" + this.getExpediente() + "_" + NEW_LINE);
result.append(" idCargaTransacciones: _" + this.getIdCargaTransacciones() + "_" + NEW_LINE);
result.append(" [End of Class] " + NEW_LINE);
result.append("}");
NEW_LINE = null;
return result.toString();
}
}
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package mx.com.amx.mx.dda.crn.dto;
import java.io.Serializable;
/**
*
* @author jfmj_
*/
public class ParamCargaTitulosVSDTO implements Serializable
{
private static final long serialVersionUID = 1L;
private String nombreArchivo;
private String expediente;
private String mesCarga;
public String getNombreArchivo() {
return nombreArchivo;
}
public void setNombreArchivo(String nombreArchivo) {
this.nombreArchivo = nombreArchivo;
}
public String getExpediente() {
return expediente;
}
public void setExpediente(String expediente) {
this.expediente = expediente;
}
public String getMesCarga() {
return mesCarga;
}
public void setMesCarga(String mesCarga) {
this.mesCarga = mesCarga;
}
public String toString()
{
StringBuilder result = new StringBuilder();
String NEW_LINE = System.getProperty("line.separator");
result.append(" [Begin of Class] " + NEW_LINE);
result.append(this.getClass().getSimpleName() + " Object {" + NEW_LINE);
result.append(" nombreArchivo: _" + this.getNombreArchivo() + "_" + NEW_LINE);
result.append(" expediente: _" + this.getExpediente() + "_" + NEW_LINE);
result.append(" mesCarga: _" + this.getMesCarga() + "_" + NEW_LINE);
result.append(" [End of Class] " + NEW_LINE);
result.append("}");
NEW_LINE = null;
return result.toString();
}
}
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package mx.com.amx.mx.dda.crn.dto;
import java.io.Serializable;
/**
*
* @author jfmj_
*/
public class ResponseCargaTitulosPNDTO implements Serializable
{
private static final long serialVersionUID = 1L;
private String mensaje;
private boolean resultado;
private Long idCarga;
private CargaPrincipalPNDTO datosCarga;
public ResponseCargaTitulosPNDTO()
{
this.datosCarga = new CargaPrincipalPNDTO();
}
public String getMensaje() {
return this.mensaje;
}
public void setMensaje(String mensaje) {
this.mensaje = mensaje;
}
public boolean isResultado() {
return resultado;
}
public void setResultado(boolean resultado) {
this.resultado = resultado;
}
public CargaPrincipalPNDTO getDatosCarga() {
return datosCarga;
}
public void setDatosCarga(CargaPrincipalPNDTO datosCarga) {
this.datosCarga = datosCarga;
}
public String toString()
{
StringBuilder result = new StringBuilder();
String NEW_LINE = System.getProperty("line.separator");
result.append(" [Begin of Class] " + NEW_LINE);
result.append(this.getClass().getSimpleName() + " Object {" + NEW_LINE);
result.append(" idCarga: _" + this.getIdCarga() + "_" + NEW_LINE);
result.append(" mensaje: _" + this.getMensaje() + "_" + NEW_LINE);
result.append(" resultado: _" + this.isResultado() + "_" + NEW_LINE);
result.append(" datosCarga: _" + this.getDatosCarga().toString() + "_" + NEW_LINE);
result.append(" [End of Class] " + NEW_LINE);
result.append("}");
NEW_LINE = null;
return result.toString();
}
public Long getIdCarga() {
return idCarga;
}
public void setIdCarga(Long idCarga) {
this.idCarga = idCarga;
}
}
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package mx.com.amx.mx.dda.crn.dto;
import java.io.Serializable;
/**
*
* @author jfmj_
*/
public class ResponseCargaTitulosVSDTO implements Serializable
{
private static final long serialVersionUID = 1L;
private String mensaje;
private boolean resultado;
private CargaPrincipalVSDTO datosCarga;
public ResponseCargaTitulosVSDTO()
{
this.datosCarga = new CargaPrincipalVSDTO();
}
public String getMensaje() {
return this.mensaje;
}
public void setMensaje(String mensaje) {
this.mensaje = mensaje;
}
public boolean isResultado() {
return resultado;
}
public void setResultado(boolean resultado) {
this.resultado = resultado;
}
public CargaPrincipalVSDTO getDatosCarga() {
return datosCarga;
}
public void setDatosCarga(CargaPrincipalVSDTO datosCarga) {
this.datosCarga = datosCarga;
}
public String toString()
{
StringBuilder result = new StringBuilder();
String NEW_LINE = System.getProperty("line.separator");
result.append(" [Begin of Class] " + NEW_LINE);
result.append(this.getClass().getSimpleName() + " Object {" + NEW_LINE);
result.append(" mensaje: _" + this.getMensaje() + "_" + NEW_LINE);
result.append(" resultado: _" + this.isResultado() + "_" + NEW_LINE);
result.append(" datosCarga: _" + this.getDatosCarga().toString() + "_" + NEW_LINE);
result.append(" [End of Class] " + NEW_LINE);
result.append("}");
NEW_LINE = null;
return result.toString();
}
}
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package mx.com.amx.mx.dda.crn.dto;
import java.io.Serializable;
/**
*
* @author jfmj_
*/
public class TransaccionDTO implements Serializable {
private static final long serialVersionUID = 1L;
private String PAIS;
private String ID_PROGRAM;
private String TITULO;
private String MEDIO_PAGO;
private String ABONO;
private String PRECIO;
private String CANTIDAD;
private String FORMATO;
private String MES;
private String FECHA_REGISTRO;
public String getPAIS() {
return PAIS;
}
public void setPAIS(String PAIS) {
this.PAIS = PAIS;
}
public String getID_PROGRAM() {
return ID_PROGRAM;
}
public void setID_PROGRAM(String ID_PROGRAM) {
this.ID_PROGRAM = ID_PROGRAM;
}
public String getTITULO() {
return TITULO;
}
public void setTITULO(String TITULO) {
this.TITULO = TITULO;
}
public String getMEDIO_PAGO() {
return MEDIO_PAGO;
}
public void setMEDIO_PAGO(String MEDIO_PAGO) {
this.MEDIO_PAGO = MEDIO_PAGO;
}
public String getABONO() {
return ABONO;
}
public void setABONO(String ABONO) {
this.ABONO = ABONO;
}
public String getPRECIO() {
return PRECIO;
}
public void setPRECIO(String PRECIO) {
this.PRECIO = PRECIO;
}
public String getCANTIDAD() {
return CANTIDAD;
}
public void setCANTIDAD(String CANTIDAD) {
this.CANTIDAD = CANTIDAD;
}
public String getFORMATO() {
return FORMATO;
}
public void setFORMATO(String FORMATO) {
this.FORMATO = FORMATO;
}
public String getMES() {
return MES;
}
public void setMES(String MES) {
this.MES = MES;
}
public String getFECHA_REGISTRO() {
return FECHA_REGISTRO;
}
public void setFECHA_REGISTRO(String FECHA_REGISTRO) {
this.FECHA_REGISTRO = FECHA_REGISTRO;
}
}
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package mx.com.amx.mx.dda.crn.dto;
import java.io.Serializable;
/**
*
* @author jfmj_
*/
public class VisualizacionDTO implements Serializable {
private static final long serialVersionUID = 1L;
private String ID_BV;
private String TITULO;
private String VISUALIZACIONES;
private String MES_F;
private String FECHA_REGISTRO;
public String getID_BV() {
return ID_BV;
}
public void setID_BV(String ID_BV) {
this.ID_BV = ID_BV;
}
public String getTITULO() {
return TITULO;
}
public void setTITULO(String TITULO) {
this.TITULO = TITULO;
}
public String getVISUALIZACIONES() {
return VISUALIZACIONES;
}
public void setVISUALIZACIONES(String VISUALIZACIONES) {
this.VISUALIZACIONES = VISUALIZACIONES;
}
public String getMES_F() {
return MES_F;
}
public void setMES_F(String MES_F) {
this.MES_F = MES_F;
}
public String getFECHA_REGISTRO() {
return FECHA_REGISTRO;
}
public void setFECHA_REGISTRO(String FECHA_REGISTRO) {
this.FECHA_REGISTRO = FECHA_REGISTRO;
}
}
package mx.com.amx.mx.dda.crn.restClient;
import org.springframework.http.MediaType;
import org.springframework.http.client.HttpComponentsClientHttpRequestFactory;
import org.springframework.http.converter.StringHttpMessageConverter;
import org.springframework.http.converter.json.MappingJacksonHttpMessageConverter;
import org.springframework.web.client.RestTemplate;
public class DDARestClient {
private RestTemplate template;
private String uri;
public DDARestClient(String uri) {
try {
HttpComponentsClientHttpRequestFactory client = new HttpComponentsClientHttpRequestFactory();
// client.setConnectTimeout(1200000);
client.setReadTimeout(60000 * 10);
client.setConnectTimeout(60000 * 10);
template = new RestTemplate(client);
template.getMessageConverters().add(new MappingJacksonHttpMessageConverter());
template.getMessageConverters().add(new StringHttpMessageConverter());
template.getInterceptors().add(new HeaderRequestInterceptor("Accept", MediaType.APPLICATION_JSON_VALUE));
template.getInterceptors()
.add(new HeaderRequestInterceptor("Content-Type", MediaType.APPLICATION_JSON_VALUE));
this.uri = uri;
} catch (Exception e) {
// TODO: handle exception
System.out.println("error: " + e.getMessage());
}
}
public <T> T get(Class<T> responseType) {
HttpComponentsClientHttpRequestFactory client = new HttpComponentsClientHttpRequestFactory();
client.setReadTimeout(60000 * 10);
client.setConnectTimeout(60000 * 10);
template = new RestTemplate(client);
template.getMessageConverters().add(new MappingJacksonHttpMessageConverter());
template.getMessageConverters().add(new StringHttpMessageConverter());
template.getInterceptors().add(new HeaderRequestInterceptor("Accept", MediaType.APPLICATION_JSON_VALUE));
template.getInterceptors().add(new HeaderRequestInterceptor("Content-Type", MediaType.APPLICATION_JSON_VALUE));
T r = template.postForObject(uri, "", responseType);
client.destroy();
return r;
}
public <T> T get(Object request, Class<T> responseType) {
HttpComponentsClientHttpRequestFactory client = new HttpComponentsClientHttpRequestFactory();
client.setReadTimeout(60000 * 10);
client.setConnectTimeout(60000 * 10);
template = new RestTemplate(client);
template.getMessageConverters().add(new MappingJacksonHttpMessageConverter());
template.getMessageConverters().add(new StringHttpMessageConverter());
template.getInterceptors().add(new HeaderRequestInterceptor("Accept", MediaType.APPLICATION_JSON_VALUE));
template.getInterceptors().add(new HeaderRequestInterceptor("Content-Type", MediaType.APPLICATION_JSON_VALUE));
T r = template.postForObject(uri, request, responseType);
client.destroy();
return r;
}
public <T> T get(String request, Class<T> responseType) {
HttpComponentsClientHttpRequestFactory client = new HttpComponentsClientHttpRequestFactory();
client.setReadTimeout(60000 * 10);
client.setConnectTimeout(60000 * 10);
template = new RestTemplate(client);
template.getMessageConverters().add(new MappingJacksonHttpMessageConverter());
template.getMessageConverters().add(new StringHttpMessageConverter());
template.getInterceptors().add(new HeaderRequestInterceptor("Accept", MediaType.APPLICATION_JSON_VALUE));
//template.getInterceptors().add(new HeaderRequestInterceptor("Content-Type", MediaType.APPLICATION_JSON_VALUE));
System.out.println("URL: " + uri.concat(request));
T r = template.getForObject(uri.concat(request), responseType);
client.destroy();
return r;
}
public void get(Object request) {
HttpComponentsClientHttpRequestFactory client = new HttpComponentsClientHttpRequestFactory();
client.setReadTimeout(60000 * 5);
client.setConnectTimeout(60000 * 5);
template = new RestTemplate(client);
template.getMessageConverters().add(new MappingJacksonHttpMessageConverter());
template.getMessageConverters().add(new StringHttpMessageConverter());
template.getInterceptors().add(new HeaderRequestInterceptor("Accept", MediaType.APPLICATION_JSON_VALUE));
template.getInterceptors().add(new HeaderRequestInterceptor("Content-Type", MediaType.APPLICATION_JSON_VALUE));
template.postForObject(uri, request, Void.class);
client.destroy();
}
public String getUri() {
return uri;
}
}
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package mx.com.amx.mx.dda.crn.restClient;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.PostConstruct;
/**
*
* @author jfmj_
*/
public class DDARestClientFactory {
private Map<String, String> services;
private Map<String, DDARestClient> clients;
@PostConstruct
private void init()
{
clients = new HashMap<String, DDARestClient>();
for(Map.Entry<String, String> entry: services.entrySet())
{
String uri = entry.getValue();
System.out.println("No existe el servicio: " + uri);
DDARestClient rc = new DDARestClient(uri);
clients.put(entry.getKey(), rc);
}
}
public DDARestClient getClient(String service) {
DDARestClient client = clients.get(service);
if (client == null) {
throw new IllegalArgumentException("No existe el servicio: " + service);
}
return client;
}
public void setServices(Map<String, String> services) {
this.services = services;
}
}
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package mx.com.amx.mx.dda.crn.restClient;
import java.io.IOException;
import org.springframework.http.HttpRequest;
import org.springframework.http.client.ClientHttpRequestExecution;
import org.springframework.http.client.ClientHttpRequestInterceptor;
import org.springframework.http.client.ClientHttpResponse;
/**
*
* @author jfmj_
*/
public class HeaderRequestInterceptor implements ClientHttpRequestInterceptor {
private final String headerName;
private final String headerValue;
public HeaderRequestInterceptor(String headerName, String headerValue) {
this.headerName = headerName;
this.headerValue = headerValue;
}
@Override
public ClientHttpResponse intercept(HttpRequest request, byte[] body, ClientHttpRequestExecution execution) throws IOException {
request.getHeaders().set(headerName, headerValue);
ClientHttpResponse response=execution.execute(request, body);
return response;
}
}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package mx.com.mx.dda.msjb;
/**
*
* @author albarranoi
*/
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import mx.com.amx.mx.dda.crn.DDACargaTransacVisual;
public class service extends HttpServlet{
// Add business logic below. (Right-click in editor and choose
// "Insert Code > Add Business Method")
@Override
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException
{
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("<html>");
out.println("<head>");
out.println("<title>Ejecucion Ntificacion SAP</title>");
out.println("</head>");
out.println("<body>");
out.println("<h1>Ejecucion Ntificacion SAP<</h1>");
out.println("</body>");
out.println("</html>");
ejec();
}
public void ejec(){
System.out.print("deeess");
DDACargaTransacVisual e = new DDACargaTransacVisual();
e.ejecutaProceso();
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment