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
A specialized
RepositoryEndpoint
where the lifecycle of the Repository
is managed by this endpoint,
i.e. this instance takes care for initialize and shutdown of the repository.- Author:
- Andreas Schwarte
- See Also:
-
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
ConstructorDescriptionManagedRepositoryEndpoint
(RepositoryInformation repoInfo, String endpoint, EndpointClassification endpointClassification, Repository repo) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
ManagedRepositoryEndpoint
public ManagedRepositoryEndpoint(RepositoryInformation repoInfo, String endpoint, EndpointClassification endpointClassification, Repository repo)
-
-
Method Details
-
init
Description copied from interface:Endpoint
Initialize thisEndpoint
- Specified by:
init
in interfaceEndpoint
- Overrides:
init
in classEndpointBase
- Throws:
RepositoryException
-
shutDown
Description copied from interface:Endpoint
Shutdown thisEndpoint
- Specified by:
shutDown
in interfaceEndpoint
- Overrides:
shutDown
in classEndpointBase
- Throws:
RepositoryException
-