is-registry/etc/deploy-jndi-config.xml

160 lines
3.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<jndiConfig xmlns="http://wsrf.globus.org/jndi/config">
<service name="gcube/informationsystem/registry">
<environment
name="profile"
value="@config.dir@/profile.xml"
type="java.lang.String"
override="false" />
</service>
<service name="gcube/informationsystem/registry/Registry">
<environment
name="RPDName"
value="ProfileResourceProperties"
type="java.lang.String"
override="false"/>
<environment
name="lifetime"
value="120"
type="java.lang.Integer"
override="false" />
<resource name="publicationProfile" type="org.gcube.common.core.service.GCUBEPublicationProfile">
<resourceParams>
<parameter>
<name>factory</name>
<value>org.globus.wsrf.jndi.BeanFactory</value>
</parameter>
<parameter>
<name>mode</name>
<value>pull</value>
</parameter>
<parameter>
<name>fileName</name>
<value>@config.dir@/Registration.xml</value>
</parameter>
</resourceParams>
</resource>
<resource name="home" type="org.gcube.informationsystem.registry.impl.core.ProfileResourceHome">
<resourceParams>
<parameter>
<name>factory</name>
<value>org.globus.wsrf.jndi.BeanFactory</value>
</parameter>
<parameter>
<name>resourceClass</name>
<value>org.gcube.informationsystem.registry.impl.core.ProfileResource</value>
</parameter>
<parameter>
<name>persistenceDelegateClass</name>
<value>org.gcube.informationsystem.registry.impl.core.RegistryPersistenceDelegate</value>
</parameter>
<parameter>
<name>sweeperDelay</name>
<value>10000</value>
</parameter>
</resourceParams>
</resource>
</service>
<service name="gcube/informationsystem/registry/RegistryFactory">
<environment
name="RPDName"
value="RegistryFactoryResourceProperties"
type="java.lang.String"
override="false"/>
<resource name="RegistryConfiguration" type="org.gcube.informationsystem.registry.impl.RegistryConfiguration">
<resourceParams>
<parameter>
<name>
factory
</name>
<value>
org.globus.wsrf.jndi.BeanFactory
</value>
</parameter>
<parameter>
<name>registrationRemovalInterval</name>
<value>140</value>
</parameter>
<parameter>
<name>profilesBase</name>
<value>@config.dir@/DILResourceSchemas</value>
</parameter>
<parameter>
<name>propertiesFile</name>
<value>@config.dir@/registration.properties</value>
</parameter>
<parameter>
<name>registrationType</name>
<value>Pull</value>
</parameter>
</resourceParams>
</resource>
<resource name="publicationProfile" type="org.gcube.common.core.state.GCUBEPublicationProfile">
<resourceParams>
<parameter>
<name>factory</name>
<value>org.globus.wsrf.jndi.BeanFactory</value>
</parameter>
<parameter>
<name>mode</name>
<value>pull</value>
</parameter>
<parameter>
<name>fileName</name>
<value>@config.dir@/registrationFactory.xml</value>
</parameter>
</resourceParams>
</resource>
<resource name="home" type="org.gcube.informationsystem.registry.impl.core.RegistryFactoryResourceHome">
<resourceParams>
<parameter>
<name>factory</name>
<value>org.globus.wsrf.jndi.BeanFactory</value>
</parameter>
<parameter>
<name>resourceClass</name>
<value>org.gcube.informationsystem.registry.impl.core.RegistryFactoryResource</value>
</parameter>
<parameter>
<name>persistenceDelegateClass</name>
<value>org.gcube.informationsystem.registry.impl.core.RegistryFactoryPersistenceDelegate</value>
</parameter>
</resourceParams>
</resource>
</service>
</jndiConfig>