<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar
  PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
	<display-name>Windup Test</display-name>
	<enterprise-beans>
		<session id="WindupExampleService">
			<ejb-name>WindupExampleService</ejb-name>
			<local-home>org.jboss.windup.test.ejb.WindupExampleServiceLocalHome</local-home>
			<local>org.jboss.windup.test.ejb.WindupExampleServiceLocal</local>
			<ejb-class>org.jboss.windup.test.ejb.WindupExampleServiceBean</ejb-class>
			<session-type>Stateless</session-type>
			<transaction-type>Container</transaction-type>
			<ejb-local-ref id="EJBLocalRef_9959629590241">
				<ejb-ref-name>ejb/WindupAnotherExampleService</ejb-ref-name>
				<ejb-ref-type>Session</ejb-ref-type>
				<local-home>org.jboss.windup.test.ejb.WindupAnotherExampleLocalHome</local-home>
				<local>org.jboss.windup.test.ejb.WindupAnotherExampleLocal</local>
				<ejb-link>WindupAnotherExample</ejb-link>
			</ejb-local-ref>
		</session>
			
		<session id="WindupNonClusteredService">
			<ejb-name>WindupNonClusteredService</ejb-name>
			<local-home>org.jboss.windup.test.ejb.WindupNonClusteredServiceLocalHome</local-home>
			<local>org.jboss.windup.test.ejb.WindupNonClusteredServiceLocal</local>
			<ejb-class>org.jboss.windup.test.ejb.WindupNonClusteredServiceBean</ejb-class>
			<session-type>Stateless</session-type>
			<transaction-type>Container</transaction-type>
		</session>
		
		<session id="WindupStatefulClusteredService">
			<ejb-name>WindupStatefulClusteredService</ejb-name>
			<local-home>org.jboss.windup.test.ejb.WindupStatefulClusteredServiceLocalHome</local-home>
			<local>org.jboss.windup.test.ejb.WindupStatefulClusteredServiceLocal</local>
			<ejb-class>org.jboss.windup.test.ejb.WindupStatefulClusteredServiceBean</ejb-class>
			<session-type>Stateful</session-type>
			<transaction-type>Container</transaction-type>
		</session>
		
		<session id="WindupAnotherExampleService">
			<ejb-name>WindupAnotherExampleService</ejb-name>
			<local-home>org.jboss.windup.test.ejb.WindupAnotherExampleServiceLocalHome</local-home>
			<local>org.jboss.windup.test.ejb.WindupAnotherExampleServiceLocal</local>
			<ejb-class>org.jboss.windup.test.ejb.WindupAnotherExampleServiceBean</ejb-class>
			<session-type>Stateless</session-type>
			<transaction-type>Container</transaction-type>
		</session>

		<message-driven id="WindupExampleMDB">
			<description>Windup Test EJB Message Listener</description>
			<display-name>Windup Message Listener</display-name>
			<ejb-name>WindupMLBean</ejb-name>
			<ejb-class>org.jboss.windup.test.WindupMLBean</ejb-class>
			<transaction-type>Bean</transaction-type>
			<acknowledge-mode>Auto-acknowledge</acknowledge-mode>
			<message-driven-destination>
				<destination-type>javax.jms.Queue</destination-type>
				<subscription-durability>Durable</subscription-durability>
			</message-driven-destination>
			<security-identity>
				<run-as>
					<role-name>Windup_APP</role-name>
				</run-as>
			</security-identity>

			<resource-ref id="ResourceRef_8834938869601">
				<res-ref-name>smtp/WindupMail</res-ref-name>
				<res-type>javax.mail.Session</res-type>
				<res-auth>Application</res-auth>
			</resource-ref>

			<resource-ref id="ResourceRef_7447516360331">
				<res-ref-name>jdbc/WindupDataSource</res-ref-name>
				<res-type>javax.sql.DataSource</res-type>
				<res-auth>Application</res-auth>
			</resource-ref>

			<resource-ref id="ResourceRef_1328507683971">
				<res-ref-name>jms/WindupQueueConnectionFactory</res-ref-name>
				<res-type>javax.jms.QueueConnectionFactory</res-type>
				<res-auth>Application</res-auth>
			</resource-ref>

			<resource-ref id="ResourceRef_4262558611901">
				<res-ref-name>jms/WindupTopicConnectionFactory</res-ref-name>
				<res-type>javax.jms.TopicConnectionFactory</res-type>
				<res-auth>Application</res-auth>
			</resource-ref>

			<resource-ref id="ResourceRef_7374249009461">
				<res-ref-name>wm/WindupWorkManager</res-ref-name>
				<res-type>commonj.work.WorkManager</res-type>
				<res-auth>Application</res-auth>
				<res-sharing-scope>Shareable</res-sharing-scope>
			</resource-ref>

			<resource-ref id="ResourceRef_2937098976471">
				<res-ref-name>jms/WindupExampleQueue</res-ref-name>
				<res-type>javax.jms.Queue</res-type>
				<res-auth>Application</res-auth>
			</resource-ref>
			<resource-ref id="ResourceRef_3581597780411">
				<res-ref-name>jms/WindupExampleTopic</res-ref-name>
				<res-type>javax.jms.Topic</res-type>
				<res-auth>Application</res-auth>
			</resource-ref>
			<message-destination-ref id="MessageDestinationRef_6949083997731">
				<description>Example Queue</description>
				<message-destination-ref-name>queue/WindupMLQueue</message-destination-ref-name>
				<message-destination-type>javax.jms.Queue</message-destination-type>
				<message-destination-usage>Consumes</message-destination-usage>
				<message-destination-link>queue/WindupMLQueue</message-destination-link>
			</message-destination-ref>
		</message-driven>
	</enterprise-beans>
</ejb-jar>