Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.core.CoreService

Documentation

The core service provides a way to register session factories. Session factories are used by clients to open sessions on core repositories. Each type of client may implement its factory.

For now there are 2 type of sessions: - local sessions - remote sessions (i.e. EJB remote interfaces)

Implementation

Services

Extension Points

XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.ecm.core.CoreService" version="1.0">
  <documentation>
  The core service provides a way to register session factories.
  Session factories are used by clients to open sessions on core repositories.
  Each type of client may implement its factory.

  For now there are 2 type of sessions:
  - local sessions
  - remote sessions (i.e. EJB remote interfaces)

  @author <a href="mailto:bs@nuxeo.com">Bogdan Stefanescu</a>
  </documentation>

  <implementation class="org.nuxeo.ecm.core.CoreService"/>

  <service>
    <provide interface="org.nuxeo.ecm.core.CoreService" />
  </service>

  <extension-point name="sessionFactory">
    <documentation>
    Used to register new session factories. Contributions for this extension
    point are of the form:
    <code>
      <factory class="..."/>
    </code>
    </documentation>
    <object
      class="org.nuxeo.ecm.core.CoreServiceFactoryDescriptor" />
  </extension-point>

  <extension-point name="versionRemovalPolicy">
    <documentation>
      Used to register the version removal policy, which must implement
      VersionRemovalPolicy.
      <code>
        <policy class="..."/>
      </code>
    </documentation>
    <object
      class="org.nuxeo.ecm.core.CoreServicePolicyDescriptor" />
  </extension-point>

  <extension-point name="orphanVersionRemovalFilter">
    <documentation>
      Used to register filter that are used by the default VersionRemovalPolicy implementation to check asynchronously what versions can really be removed.
      <code>
        <filter class="..."/>
      </code>
    </documentation>
    <object
      class="org.nuxeo.ecm.core.CoreServiceOrphanVersionRemovalFilterDescriptor" />
  </extension-point>

</component>