eXo JCR :: Component :: Extension Service 1.15.0-CR2

org.exoplatform.services.jcr.ext.distribution.impl
Class DataDistributionManagerImpl

java.lang.Object
  extended by org.exoplatform.services.jcr.ext.distribution.impl.DataDistributionManagerImpl
All Implemented Interfaces:
DataDistributionManager

public class DataDistributionManagerImpl
extends Object
implements DataDistributionManager

The default implementation of a DataDistributionManager. It will use a DataDistributionByName when the readable mode is expected and a DataDistributionByHash when the non readable mode is expected

Version:
$Id$
Author:
Nicolas Filotto

Constructor Summary
DataDistributionManagerImpl()
           
DataDistributionManagerImpl(org.exoplatform.container.xml.InitParams params)
           
 
Method Summary
 DataDistributionType getDataDistributionType(DataDistributionMode mode)
          Retrieves the data distribution type corresponding to given mode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataDistributionManagerImpl

public DataDistributionManagerImpl()

DataDistributionManagerImpl

public DataDistributionManagerImpl(org.exoplatform.container.xml.InitParams params)
Method Detail

getDataDistributionType

public DataDistributionType getDataDistributionType(DataDistributionMode mode)
Retrieves the data distribution type corresponding to given mode.

Specified by:
getDataDistributionType in interface DataDistributionManager
Parameters:
mode - the mode of distribution to use
Returns:
the expected mode if it exists null otherwise.

eXo JCR :: Component :: Extension Service 1.15.0-CR2

Copyright © 2012 eXo Platform SAS. All Rights Reserved.