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
AServiceBundlerthat 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 AuditServicegetAuditService()Get theAuditServicefor the application.BinaryServicegetBinaryService()Get theBinaryServicefor the application.Iterable<ConstraintService>getConstraintServices()Get the constraint services for this application.EventServicegetEventService()Get theEventServicefor the application.IOServicegetIOService()Get theIOServicefor the application.MementoServicegetMementoService()Get theMementoServicefor the application.ResourceServicegetResourceService()Get theResourceServicefor the application.TimemapGeneratorgetTimemapGenerator()Get the TimemapGenerator for this application.
-
-
-
Method Detail
-
getResourceService
public ResourceService getResourceService()
Description copied from interface:ServiceBundlerGet theResourceServicefor the application.- Specified by:
getResourceServicein interfaceServiceBundler- Returns:
- a service for interacting with resources.
-
getIOService
public IOService getIOService()
Description copied from interface:ServiceBundlerGet theIOServicefor the application.- Specified by:
getIOServicein interfaceServiceBundler- Returns:
- a service for handling RDF serialization and parsing.
-
getBinaryService
public BinaryService getBinaryService()
Description copied from interface:ServiceBundlerGet theBinaryServicefor the application.- Specified by:
getBinaryServicein interfaceServiceBundler- Returns:
- a service for handling binary content.
-
getAuditService
public AuditService getAuditService()
Description copied from interface:ServiceBundlerGet theAuditServicefor the application.- Specified by:
getAuditServicein interfaceServiceBundler- Returns:
- the service for handling audit events.
-
getMementoService
public MementoService getMementoService()
Description copied from interface:ServiceBundlerGet theMementoServicefor the application.- Specified by:
getMementoServicein interfaceServiceBundler- Returns:
- the service for interacting with memento resources.
-
getEventService
public EventService getEventService()
Description copied from interface:ServiceBundlerGet theEventServicefor the application.- Specified by:
getEventServicein interfaceServiceBundler- Returns:
- the service for emiting notifications.
-
getTimemapGenerator
public TimemapGenerator getTimemapGenerator()
Description copied from interface:ServiceBundlerGet the TimemapGenerator for this application.- Specified by:
getTimemapGeneratorin interfaceServiceBundler- Returns:
- the service for generating TimeMaps.
-
getConstraintServices
public Iterable<ConstraintService> getConstraintServices()
Description copied from interface:ServiceBundlerGet the constraint services for this application.- Specified by:
getConstraintServicesin interfaceServiceBundler- Returns:
- an interator of the constraint service(s).
-
-