| 1 |
<?xml version="1.0"?> |
|---|
| 2 |
<component name="org.nuxeo.ecm.platform.api.DefaultPlatform" version="1.0"> |
|---|
| 3 |
<documentation> |
|---|
| 4 |
A default platform layout. All services are available remotely trough a JNDI |
|---|
| 5 |
server on localhost Services not specified here will be retrieved using |
|---|
| 6 |
NXRuntime on the current JVM. |
|---|
| 7 |
<p/> |
|---|
| 8 |
Only one repository is defined: "default" which is managed by a remote service on |
|---|
| 9 |
localhost. |
|---|
| 10 |
<p/> |
|---|
| 11 |
This is the default layout that may be used for simple installations schemes |
|---|
| 12 |
like: |
|---|
| 13 |
<ul> |
|---|
| 14 |
<li>A ECM Web Application deployed on a single JVM</li> |
|---|
| 15 |
<li>A client application like Apogee willing to connect to an ECM Application |
|---|
| 16 |
(possibly without web layer) deployed on the same host (localhost) |
|---|
| 17 |
</li> |
|---|
| 18 |
</ul> |
|---|
| 19 |
|
|---|
| 20 |
@author <a href="mailto:bs@nuxeo.com">Bogdan Stefanescu</a> |
|---|
| 21 |
</documentation> |
|---|
| 22 |
<extension target="org.nuxeo.ecm.platform.api.PlatformService" point="servers"> |
|---|
| 23 |
<documentation>The default platform layout</documentation> |
|---|
| 24 |
<server name="default" host="${org.nuxeo.ecm.instance.host}" port="1099"> |
|---|
| 25 |
<service class="org.nuxeo.ecm.core.api.CoreSession" jndiName="${org.nuxeo.ecm.platform.coresession.facade}" private="true"/> |
|---|
| 26 |
<service class="org.nuxeo.ecm.platform.types.ejb.TypeManager" jndiName="%TypeManagerBean"/> |
|---|
| 27 |
<repository name="default" class="org.nuxeo.ecm.core.api.CoreSession" description="Default Repository"/> |
|---|
| 28 |
</server> |
|---|
| 29 |
</extension> |
|---|
| 30 |
<extension target="org.nuxeo.ecm.core.api.repository.RepositoryManager" point="repositories"> |
|---|
| 31 |
<documentation>The default repository</documentation> |
|---|
| 32 |
<repository name="default" label="Default Repository"/> |
|---|
| 33 |
</extension> |
|---|
| 34 |
<extension target="org.nuxeo.runtime.api.ServiceManagement" point="servers"> |
|---|
| 35 |
<server class="org.nuxeo.runtime.api.JBossServiceLocator"> |
|---|
| 36 |
<group>*</group> |
|---|
| 37 |
<property name="java.naming.factory.initial">org.jnp.interfaces.NamingContextFactory</property> |
|---|
| 38 |
<property name="java.naming.provider.url">jnp://${org.nuxeo.ecm.instance.host}:1099</property> |
|---|
| 39 |
<property name="java.naming.factory.url.pkgs">org.jboss.naming:org.jnp.interfaces</property> |
|---|
| 40 |
</server> |
|---|
| 41 |
<server class="org.nuxeo.runtime.api.JBossServiceLocator"> |
|---|
| 42 |
<group>platform</group> |
|---|
| 43 |
<property name="java.naming.factory.initial">org.jnp.interfaces.NamingContextFactory</property> |
|---|
| 44 |
<property name="java.naming.provider.url">jnp://nxplatformserver:1099</property> |
|---|
| 45 |
<property name="java.naming.factory.url.pkgs">org.jboss.naming:org.jnp.interfaces</property> |
|---|
| 46 |
</server> |
|---|
| 47 |
<server class="org.nuxeo.runtime.api.JBossServiceLocator"> |
|---|
| 48 |
<group>search</group> |
|---|
| 49 |
<group>platform/search</group> |
|---|
| 50 |
<group>platform/transform</group> |
|---|
| 51 |
<property name="java.naming.factory.initial">org.jnp.interfaces.NamingContextFactory</property> |
|---|
| 52 |
<property name="java.naming.provider.url">jnp://nxsearchserver:1099</property> |
|---|
| 53 |
<property name="java.naming.factory.url.pkgs">org.jboss.naming:org.jnp.interfaces</property> |
|---|
| 54 |
</server> |
|---|
| 55 |
</extension> |
|---|
| 56 |
<extension target="org.nuxeo.runtime.api.ServiceManagement" point="services"> |
|---|
| 57 |
<service class="org.nuxeo.ecm.core.api.CoreSession" name="default" group="core"> |
|---|
| 58 |
<!--adapter>org.nuxeo.ecm.core.api.CoreSessionAdapter</adapter--> |
|---|
| 59 |
<locator>%DocumentManagerBean</locator> |
|---|
| 60 |
</service> |
|---|
| 61 |
<!-- temporary deployed here -> this should be moved in events facade --> |
|---|
| 62 |
<service class="org.nuxeo.ecm.platform.events.api.DocumentMessageProducer" group="core"> |
|---|
| 63 |
<locator>%JMSDocumentMessageProducerBean</locator> |
|---|
| 64 |
</service> |
|---|
| 65 |
<service class="org.nuxeo.ecm.core.search.api.client.SearchService" group="search"> |
|---|
| 66 |
<locator>%SearchServiceBean</locator> |
|---|
| 67 |
</service> |
|---|
| 68 |
<service class="org.nuxeo.ecm.platform.usermanager.UserManager" group="platform"> |
|---|
| 69 |
<locator>%UserManagerBean</locator> |
|---|
| 70 |
</service> |
|---|
| 71 |
<service class="org.nuxeo.ecm.platform.workflow.api.client.wfmc.WAPI" group="platform"> |
|---|
| 72 |
<locator>%WAPIBean</locator> |
|---|
| 73 |
</service> |
|---|
| 74 |
<service class="org.nuxeo.ecm.platform.workflow.document.api.lifecycle.WorkflowDocumentLifeCycleManager" group="platform"> |
|---|
| 75 |
<locator>%WorkflowDocumentLifeCycleBean</locator> |
|---|
| 76 |
</service> |
|---|
| 77 |
<service class="org.nuxeo.ecm.platform.workflow.document.api.versioning.WorkflowDocumentVersioningPolicyManager" group="platform"> |
|---|
| 78 |
<locator>%WorkflowDocumentVersioningPolicyBean</locator> |
|---|
| 79 |
</service> |
|---|
| 80 |
<service class="org.nuxeo.ecm.platform.workflow.document.api.relation.WorkflowDocumentRelationManager" group="platform"> |
|---|
| 81 |
<locator>%WorkflowDocumentRelationBean</locator> |
|---|
| 82 |
</service> |
|---|
| 83 |
<service class="org.nuxeo.ecm.platform.workflow.document.api.security.WorkflowDocumentSecurityManager" group="platform"> |
|---|
| 84 |
<locator>%WorkflowDocumentSecurityBean</locator> |
|---|
| 85 |
</service> |
|---|
| 86 |
<service class="org.nuxeo.ecm.platform.workflow.document.api.security.policy.WorkflowDocumentSecurityPolicyManager" group="platform"> |
|---|
| 87 |
<locator>%WorkflowDocumentSecurityPolicyBean</locator> |
|---|
| 88 |
</service> |
|---|
| 89 |
<service class="org.nuxeo.ecm.platform.workflow.document.api.rules.WorkflowRulesManager" group="platform"> |
|---|
| 90 |
<locator>%WorkflowRulesBean</locator> |
|---|
| 91 |
</service> |
|---|
| 92 |
<service class="org.nuxeo.ecm.platform.workflow.document.api.workitem.WorkItemsListsManager" group="platform"> |
|---|
| 93 |
<locator>%WorkItemsListsBean</locator> |
|---|
| 94 |
</service> |
|---|
| 95 |
<service class="org.nuxeo.ecm.platform.transform.interfaces.TransformServiceCommon" group="platform/transform"> |
|---|
| 96 |
<locator>%NXTransformBean</locator> |
|---|
| 97 |
</service> |
|---|
| 98 |
|
|---|
| 99 |
<!--service class="org.nuxeo.ecm.platform.types.ejb.TypeManager" group="platform"/--> |
|---|
| 100 |
</extension> |
|---|
| 101 |
</component> |
|---|
| 102 |
|
|---|
| 103 |
|
|---|