public class RepositoryManagerFederator extends Object
RepositoryManager
.Constructor and Description |
---|
RepositoryManagerFederator(RepositoryManager manager)
Create an instance capable of federating "user repositories" within the
given
RepositoryManager . |
Modifier and Type | Method and Description |
---|---|
void |
addFed(String fedID,
String description,
Collection<String> members,
boolean readonly,
boolean distinct)
Adds a new repository to the
RepositoryManager , which is a
federation of the given repository id's, which must also refer to
repositories already managed by the
RepositoryManager . |
public RepositoryManagerFederator(RepositoryManager manager)
RepositoryManager
.manager
- must manage the repositories to be added to new federations, and
becomes the manager of any created federationspublic void addFed(String fedID, String description, Collection<String> members, boolean readonly, boolean distinct) throws MalformedURLException, OpenRDFException
RepositoryManager
, which is a
federation of the given repository id's, which must also refer to
repositories already managed by the
RepositoryManager
.fedID
- the desired identifier for the new federation repositorydescription
- the desired description for the new federation repositorymembers
- the identifiers of the repositories to federate, which must already
exist and be managed by the
RepositoryManager
readonly
- whether the federation is read-onlydistinct
- whether the federation enforces distinct results from its membersMalformedURLException
- if the RepositoryManager
has a malformed locationOpenRDFException
- if a problem otherwise occurs while creating the federationCopyright © 2001–2016 Aduna. All rights reserved.