ModeShape Distribution 3.1.0.Final

org.modeshape.jcr
Class RepositoryConfiguration.Federation

java.lang.Object
  extended by org.modeshape.jcr.RepositoryConfiguration.Federation
Enclosing class:
RepositoryConfiguration

@Immutable
public class RepositoryConfiguration.Federation
extends Object

The federation-related configuration information.


Nested Class Summary
 class RepositoryConfiguration.Federation.ProjectionConfiguration
          Object representation of a projection configuration within an external source
 
Constructor Summary
protected RepositoryConfiguration.Federation(Document federation)
           
 
Method Summary
 List<RepositoryConfiguration.Component> getConnectors()
          Get the list of connector configurations.
 Map<String,List<RepositoryConfiguration.Federation.ProjectionConfiguration>> getProjections()
          Returns the [sourceName, list(projections)] configured for each source.
protected  void validateConnectors(Problems problems)
          Validate the list of connector configurations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryConfiguration.Federation

protected RepositoryConfiguration.Federation(Document federation)
Method Detail

getConnectors

public List<RepositoryConfiguration.Component> getConnectors()
Get the list of connector configurations.

Returns:
the immutable list of connectors; never null but possibly empty

getProjections

public Map<String,List<RepositoryConfiguration.Federation.ProjectionConfiguration>> getProjections()
Returns the [sourceName, list(projections)] configured for each source.

Returns:
a Map instance, never null.

validateConnectors

protected void validateConnectors(Problems problems)
Validate the list of connector configurations.

Parameters:
problems - the container for problems reading the configuration information; may not be null

ModeShape Distribution 3.1.0.Final

Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.