Package org.trellisldp.app
Class BaseServiceBundler
- java.lang.Object
-
- org.trellisldp.app.BaseServiceBundler
-
- All Implemented Interfaces:
ServiceBundler
- Direct Known Subclasses:
TrellisServiceBundler
@ApplicationScoped public class BaseServiceBundler extends Object implements ServiceBundler
AServiceBundler
that supplies components for a Trellis application from its fields.In this class, the fields are expected to be filled by injection, but in subclasses the fields may be filled by any appropriate means.
-
-
Constructor Summary
Constructors Constructor Description BaseServiceBundler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditService
getAuditService()
Get theAuditService
for the application.BinaryService
getBinaryService()
Get theBinaryService
for the application.Iterable<ConstraintService>
getConstraintServices()
Get the constraint services for this application.EventService
getEventService()
Get theEventService
for the application.IOService
getIOService()
Get theIOService
for the application.MementoService
getMementoService()
Get theMementoService
for the application.ResourceService
getResourceService()
Get theResourceService
for the application.TimemapGenerator
getTimemapGenerator()
Get the TimemapGenerator for this application.
-
-
-
Method Detail
-
getResourceService
public ResourceService getResourceService()
Description copied from interface:ServiceBundler
Get theResourceService
for the application.- Specified by:
getResourceService
in interfaceServiceBundler
- Returns:
- a service for interacting with resources.
-
getIOService
public IOService getIOService()
Description copied from interface:ServiceBundler
Get theIOService
for the application.- Specified by:
getIOService
in interfaceServiceBundler
- Returns:
- a service for handling RDF serialization and parsing.
-
getBinaryService
public BinaryService getBinaryService()
Description copied from interface:ServiceBundler
Get theBinaryService
for the application.- Specified by:
getBinaryService
in interfaceServiceBundler
- Returns:
- a service for handling binary content.
-
getAuditService
public AuditService getAuditService()
Description copied from interface:ServiceBundler
Get theAuditService
for the application.- Specified by:
getAuditService
in interfaceServiceBundler
- Returns:
- the service for handling audit events.
-
getMementoService
public MementoService getMementoService()
Description copied from interface:ServiceBundler
Get theMementoService
for the application.- Specified by:
getMementoService
in interfaceServiceBundler
- Returns:
- the service for interacting with memento resources.
-
getEventService
public EventService getEventService()
Description copied from interface:ServiceBundler
Get theEventService
for the application.- Specified by:
getEventService
in interfaceServiceBundler
- Returns:
- the service for emiting notifications.
-
getTimemapGenerator
public TimemapGenerator getTimemapGenerator()
Description copied from interface:ServiceBundler
Get the TimemapGenerator for this application.- Specified by:
getTimemapGenerator
in interfaceServiceBundler
- Returns:
- the service for generating TimeMaps.
-
getConstraintServices
public Iterable<ConstraintService> getConstraintServices()
Description copied from interface:ServiceBundler
Get the constraint services for this application.- Specified by:
getConstraintServices
in interfaceServiceBundler
- Returns:
- an interator of the constraint service(s).
-
-