org.exoplatform.services.jcr.ext.replication
Class ReplicationService

java.lang.Object
  extended by org.exoplatform.services.jcr.ext.replication.ReplicationService
All Implemented Interfaces:
org.exoplatform.management.ManagementAware, org.picocontainer.Startable

public class ReplicationService
extends java.lang.Object
implements org.picocontainer.Startable, org.exoplatform.management.ManagementAware

Created by The eXo Platform SAS.

Version:
$Id: ReplicationService.java 46933 2010-04-29 07:11:37Z rainf0x $
Author:
Alex Reshetnyak

Field Summary
static int FILE_CLEANRE_TIMEOUT
          Definition the timeout to FileCLeaner.
static java.lang.String PRIORITY_DYNAMIC_TYPE
          Definition the dynamic type for priority mechanism.
static java.lang.String PRIORITY_GENERIC_TYPE
          Definition the generic type for priority mechanism.
static java.lang.String PRIORITY_STATIC_TYPE
          Definition the static type for priority mechanism.
 
Constructor Summary
ReplicationService(RepositoryService repoService, org.exoplatform.container.xml.InitParams params)
          ReplicationService constructor.
ReplicationService(RepositoryService repoService, org.exoplatform.container.xml.InitParams params, RegistryService registryService)
          ReplicationService constructor.
 
Method Summary
 boolean isStarted()
          isStarted.
 void setContext(org.exoplatform.management.ManagementContext context)
          
 void start()
          
 void stop()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRIORITY_STATIC_TYPE

public static final java.lang.String PRIORITY_STATIC_TYPE
Definition the static type for priority mechanism.

See Also:
Constant Field Values

PRIORITY_GENERIC_TYPE

public static final java.lang.String PRIORITY_GENERIC_TYPE
Definition the generic type for priority mechanism.

See Also:
Constant Field Values

PRIORITY_DYNAMIC_TYPE

public static final java.lang.String PRIORITY_DYNAMIC_TYPE
Definition the dynamic type for priority mechanism.

See Also:
Constant Field Values

FILE_CLEANRE_TIMEOUT

public static final int FILE_CLEANRE_TIMEOUT
Definition the timeout to FileCLeaner.

See Also:
Constant Field Values
Constructor Detail

ReplicationService

public ReplicationService(RepositoryService repoService,
                          org.exoplatform.container.xml.InitParams params)
                   throws RepositoryConfigurationException
ReplicationService constructor.

Parameters:
repoService - the RepositoryService
params - the configuration parameters
Throws:
RepositoryConfigurationException - will be generated RepositoryConfigurationException

ReplicationService

public ReplicationService(RepositoryService repoService,
                          org.exoplatform.container.xml.InitParams params,
                          RegistryService registryService)
                   throws RepositoryConfigurationException
ReplicationService constructor.

Parameters:
repoService - the RepositoryService
params - the configuration parameters
registryService - the RegistryService
Throws:
RepositoryConfigurationException - will be generated RepositoryConfigurationException
Method Detail

start

public void start()

Specified by:
start in interface org.picocontainer.Startable

stop

public void stop()

Specified by:
stop in interface org.picocontainer.Startable

isStarted

public boolean isStarted()
isStarted.

Returns:
boolean return the isStarted

setContext

public void setContext(org.exoplatform.management.ManagementContext context)

Specified by:
setContext in interface org.exoplatform.management.ManagementAware


Copyright © 2010 eXo Platform SAS. All Rights Reserved.