Class ManagedRepositoryEndpoint
- java.lang.Object
-
- org.eclipse.rdf4j.federated.endpoint.EndpointBase
-
- org.eclipse.rdf4j.federated.endpoint.RepositoryEndpoint
-
- org.eclipse.rdf4j.federated.endpoint.ManagedRepositoryEndpoint
-
- All Implemented Interfaces:
Endpoint
public class ManagedRepositoryEndpoint extends RepositoryEndpoint
A specializedRepositoryEndpoint
where the lifecycle of theRepository
is managed by this endpoint, i.e. this instance takes care for initialize and shutdown of the repository.- Author:
- Andreas Schwarte
- See Also:
RepositoryEndpoint
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.rdf4j.federated.endpoint.EndpointBase
EndpointBase.ManagedRepositoryConnection
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.federated.endpoint.RepositoryEndpoint
repository
-
Fields inherited from class org.eclipse.rdf4j.federated.endpoint.EndpointBase
endpoint, endpointClassification, endpointConfiguration, initialized, log, repoInfo, tripleSource, writable
-
-
Constructor Summary
Constructors Constructor Description ManagedRepositoryEndpoint(RepositoryInformation repoInfo, String endpoint, EndpointClassification endpointClassification, Repository repo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(FederationContext federationContext)
Initialize thisEndpoint
void
shutDown()
Shutdown thisEndpoint
-
Methods inherited from class org.eclipse.rdf4j.federated.endpoint.RepositoryEndpoint
getRepository
-
Methods inherited from class org.eclipse.rdf4j.federated.endpoint.EndpointBase
equals, getConnection, getEndpoint, getEndpointClassification, getEndpointConfiguration, getFreshConnection, getId, getName, getRepoInfo, getTripleSource, getType, hashCode, isInitialized, isLocal, isWritable, setEndpointClassification, setEndpointConfiguration, setWritable, size, toString, useSingleConnection
-
-
-
-
Constructor Detail
-
ManagedRepositoryEndpoint
public ManagedRepositoryEndpoint(RepositoryInformation repoInfo, String endpoint, EndpointClassification endpointClassification, Repository repo)
-
-
Method Detail
-
init
public void init(FederationContext federationContext) throws RepositoryException
Description copied from interface:Endpoint
Initialize thisEndpoint
- Specified by:
init
in interfaceEndpoint
- Overrides:
init
in classEndpointBase
- Throws:
RepositoryException
-
shutDown
public void shutDown() throws RepositoryException
Description copied from interface:Endpoint
Shutdown thisEndpoint
- Specified by:
shutDown
in interfaceEndpoint
- Overrides:
shutDown
in classEndpointBase
- Throws:
RepositoryException
-
-