Class FederationFactory
- java.lang.Object
-
- org.eclipse.rdf4j.sail.federation.config.FederationFactory
-
- All Implemented Interfaces:
SailFactory
@Deprecated public class FederationFactory extends Object implements SailFactory
Deprecated.since 3.1.0. This module will be replaced by the new FedX federation module.Creates a federation based on its configuration.- Author:
- James Leigh
- See Also:
FederationConfig
-
-
Constructor Summary
Constructors Constructor Description FederationFactory()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SailImplConfig
getConfig()
Deprecated.Sail
getSail(SailImplConfig config)
Deprecated.Returns a Sail instance that has been initialized using the supplied configuration data.String
getSailType()
Deprecated.Returns the Sail's type: openrdf:Federation.
-
-
-
Field Detail
-
SAIL_TYPE
public static final String SAIL_TYPE
Deprecated.The type of repositories that are created by this factory.- See Also:
SailFactory.getSailType()
, Constant Field Values
-
-
Method Detail
-
getSailType
public String getSailType()
Deprecated.Returns the Sail's type: openrdf:Federation.- Specified by:
getSailType
in interfaceSailFactory
-
getConfig
public SailImplConfig getConfig()
Deprecated.- Specified by:
getConfig
in interfaceSailFactory
-
getSail
public Sail getSail(SailImplConfig config) throws SailConfigException
Deprecated.Description copied from interface:SailFactory
Returns a Sail instance that has been initialized using the supplied configuration data.- Specified by:
getSail
in interfaceSailFactory
- Parameters:
config
- TODO- Returns:
- The created (but un-initialized) Sail.
- Throws:
SailConfigException
- If no Sail could be created due to invalid or incomplete configuration data.
-
-