blob: 32d71638648bea03db8f8da3196afaec829a04c0 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005 The Apache Software Foundation
Licensed 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.
-->
<!-- $Rev$ $Date$ -->
<module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
<gbean name="EARBuilder" class="org.apache.geronimo.j2ee.deployment.EARConfigBuilder">
<!--domain set to wildcard so datasources may be deployed independently on client. -->
<!--a better solution is to get the domain and server from the parent module -->
<attribute name="transactionContextManagerAbstractName">?name=TransactionContextManager</attribute>
<attribute name="connectionTrackerAbstractName">?name=ConnectionTracker</attribute>
<attribute name="transactionalTimerAbstractName">?name=TransactionalThreadPooledTimer</attribute>
<attribute name="nonTransactionalTimerAbstractName">?name=NonTransactionalThreadPooledTimer</attribute>
<attribute name="corbaGBeanAbstractName">?name=Server</attribute>
<attribute name="serverName">?j2eeType=J2EEServer#org.apache.geronimo.management.geronimo.J2EEServer</attribute>
<reference name="Repositories">
<!--<gbean-name>*:name=Repository,*</gbean-name>-->
</reference>
<reference name="WebConfigBuilder">
<name>WebBuilder</name>
</reference>
<references name="EJBConfigBuilder">
<pattern>
<name>EJBBuilder</name>
</pattern>
<pattern>
<name>UnavailableEJBBuilder</name>
</pattern>
</references>
<reference name="ConnectorConfigBuilder">
<name>ConnectorBuilder</name>
</reference>
<references name="AppClientConfigBuilder">
<pattern>
<name>AppClientBuilder</name>
</pattern>
<pattern>
<name>UnavailableAppClientBuilder</name>
</pattern>
</references>
<reference name="ResourceReferenceBuilder">
<name>ConnectorBuilder</name>
</reference>
<references name="ServiceReferenceBuilder">
<pattern>
<name>WebServiceBuilder</name>
</pattern>
<pattern>
<name>UnavailableWebServiceBuilder</name>
</pattern>
</references>
<references name="EJBReferenceBuilder">
<pattern>
<name>ServerEJBReferenceBuilder</name>
</pattern>
<pattern>
<name>UnavailableServerEJBReferenceBuilder</name>
</pattern>
</references>
<xml-attribute name="defaultEnvironment">
<environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
<dependencies>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>j2ee-server</artifactId>
<!--<version>${pom.currentVersion}</version>-->
<type>car</type>
</dependency>
</dependencies>
</environment>
</xml-attribute>
</gbean>
<!-- web switching builder -->
<gbean name="WebBuilder" class="org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder">
<attribute name="defaultNamespace">http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1</attribute>
<references name="ModuleBuilders">
<pattern>
<name>JettyWebBuilder</name>
</pattern>
<pattern>
<name>TomcatWebBuilder</name>
</pattern>
</references>
</gbean>
<gbean name="ConnectorBuilder" class="org.apache.geronimo.connector.deployment.ConnectorModuleBuilder">
<attribute name="defaultMaxSize">10</attribute>
<attribute name="defaultMinSize">0</attribute>
<attribute name="defaultBlockingTimeoutMilliseconds">5000</attribute>
<attribute name="defaultIdleTimeoutMinutes">15</attribute>
<attribute name="defaultXATransactionCaching">true</attribute>
<attribute name="defaultXAThreadCaching">false</attribute>
<xml-attribute name="defaultEnvironment">
<environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
<dependencies>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>j2ee-server</artifactId>
<!--<version>${pom.currentVersion}</version>-->
<type>car</type>
</dependency>
</dependencies>
</environment>
</xml-attribute>
</gbean>
<gbean name="LoginConfigurationBuilder" class="org.apache.geronimo.security.deployment.LoginConfigBuilder"/>
<gbean name="SecurityService" class="org.apache.geronimo.security.SecurityServiceImpl">
<attribute name="policyConfigurationFactory">
org.apache.geronimo.security.jacc.GeronimoPolicyConfigurationFactory</attribute>
<attribute name="policyProvider">org.apache.geronimo.security.jacc.GeronimoPolicy</attribute>
</gbean>
</module>