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

123 lines
3.3 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="configDir" value="@config.dir@" type="java.lang.String"
override="false" />
<!--
GCUBEResources that are not considered temporary, i.e. they are not automatically
destroyed after the 'temporaryResourceLifetimeInMs' period
-->
<environment name="livingResourceTypes" value="GHN,RunningInstance"
type="java.lang.String" override="false" />
<!--
Lifetime for temporary resources, after this period temporary
resources are destroyed
-->
<environment name="temporaryResourceLifetimeInMs" value="480000"
type="java.lang.Long" override="false" />
<environment name="temporaryResourceSweeperIntervalInMs"
value="480000" type="java.lang.Long" override="false" />
<!--
<environment name="startScopes" value="" type="java.lang.String"
override="false" />
-->
</service>
<service name="gcube/informationsystem/registry/Registry">
<environment name="name" value="Registry" type="java.lang.String"
override="false" />
<environment name="RPDName" value="ProfileResourceProperties"
type="java.lang.String" override="false" />
<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>registration.xml</value>
</parameter>
</resourceParams>
</resource>
<resource name="home"
type="org.gcube.informationsystem.registry.impl.state.ProfileResourceHome">
<resourceParams>
<parameter>
<name>factory</name>
<value>org.globus.wsrf.jndi.BeanFactory</value>
</parameter>
<parameter>
<name>resourceClass</name>
<value>org.gcube.informationsystem.registry.impl.state.ProfileResource
</value>
</parameter>
<parameter>
<name>persistenceDelegateClass</name>
<value>org.gcube.informationsystem.registry.impl.persistence.RegistryPersistenceDelegate
</value>
</parameter>
<parameter>
<name>sweeperDelay</name>
<value>10000</value>
</parameter>
</resourceParams>
</resource>
</service>
<service name="gcube/informationsystem/registry/RegistryFactory">
<environment name="name" value="RegistryFactory" type="java.lang.String"
override="false" />
<environment name="RPDName" value="RegistryFactoryResourceProperties"
type="java.lang.String" override="false" />
<resource name="home"
type="org.gcube.informationsystem.registry.impl.state.RegistryFactoryResourceHome">
<resourceParams>
<parameter>
<name>factory</name>
<value>org.globus.wsrf.jndi.BeanFactory</value>
</parameter>
<parameter>
<name>resourceClass</name>
<value>org.gcube.informationsystem.registry.impl.state.RegistryFactoryResource
</value>
</parameter>
<parameter>
<name>persistenceDelegateClass</name>
<value>org.gcube.informationsystem.registry.impl.persistence.RegistryFactoryPersistenceDelegate
</value>
</parameter>
</resourceParams>
</resource>
</service>
</jndiConfig>