org.openrdf.sail.federation.config
Class FederationFactory

java.lang.Object
  extended by org.openrdf.sail.federation.config.FederationFactory
All Implemented Interfaces:
SailFactory

public class FederationFactory
extends Object
implements SailFactory

Creates a federation based on its configuration.

Author:
James Leigh
See Also:
FederationConfig

Field Summary
static String SAIL_TYPE
          The type of repositories that are created by this factory.
 
Constructor Summary
FederationFactory()
           
 
Method Summary
 SailImplConfig getConfig()
           
 Sail getSail(SailImplConfig config)
           
 String getSailType()
          Returns the Sail's type: openrdf:Federation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SAIL_TYPE

public static final String SAIL_TYPE
The type of repositories that are created by this factory.

See Also:
SailFactory.getSailType(), Constant Field Values
Constructor Detail

FederationFactory

public FederationFactory()
Method Detail

getSailType

public String getSailType()
Returns the Sail's type: openrdf:Federation.

Specified by:
getSailType in interface SailFactory

getConfig

public SailImplConfig getConfig()
Specified by:
getConfig in interface SailFactory

getSail

public Sail getSail(SailImplConfig config)
             throws SailConfigException
Specified by:
getSail in interface SailFactory
Throws:
SailConfigException


Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.