Package org.apache.tapestry5.ioc
Interface ServiceResources
- All Superinterfaces:
AnnotationAccess
,ObjectLocator
- All Known Subinterfaces:
ServiceBuilderResources
- All Known Implementing Classes:
ServiceResourcesImpl
Contains resources that may be provided to a service when it initializes, which includes other services defined in
the registry. ServiceResources provides access to other services (it extends
ObjectLocator
).-
Method Summary
Modifier and TypeMethodDescriptionorg.slf4j.Logger
Returns a Logger appropriate for logging messages.Returns the fully qualified id of the service.Returns the service implementation.Returns the service interface implemented by the service.Returns an object that can be used to track operations related to constructing, configuring, decorating and initializing the service.Methods inherited from interface org.apache.tapestry5.ioc.AnnotationAccess
getClassAnnotationProvider, getMethodAnnotationProvider
Methods inherited from interface org.apache.tapestry5.commons.ObjectLocator
autobuild, autobuild, getObject, getService, getService, getService, proxy
-
Method Details
-
getServiceId
Returns the fully qualified id of the service. -
getServiceInterface
Returns the service interface implemented by the service. -
getServiceImplementation
@IncompatibleChange(release="5.4", details="Added method for TAP5-2029") Class getServiceImplementation()Returns the service implementation. -
getLogger
org.slf4j.Logger getLogger()Returns a Logger appropriate for logging messages. This includes debug level messages about the creation and configuration of the underlying service, as well as debug, warning, or error level messages from the service itself. Often service interceptors will make use of the service's logger. -
getTracker
Returns an object that can be used to track operations related to constructing, configuring, decorating and initializing the service.
-