Package org.apache.tapestry5.ioc.def
Interface ServiceDef3
- All Superinterfaces:
AnnotationAccess
,ServiceDef
,ServiceDef2
- All Known Implementing Classes:
ServiceDefImpl
Introduced for Tapestry 5.3, contains new methods to provide access to annotations on the class,
and on methods of the class. In rare cases, the same annotation type will appear on the service interface
and on the class (or method implementation in the class); the implementation annotation always
has precedence over the interface annotation.
- Since:
- 5.3
-
Method Summary
Modifier and TypeMethodDescriptionReturns the service implementation associated with this service.Methods inherited from interface org.apache.tapestry5.ioc.AnnotationAccess
getClassAnnotationProvider, getMethodAnnotationProvider
Methods inherited from interface org.apache.tapestry5.ioc.def.ServiceDef
createServiceCreator, getMarkers, getServiceId, getServiceInterface, getServiceScope, isEagerLoad
Methods inherited from interface org.apache.tapestry5.ioc.def.ServiceDef2
isPreventDecoration
-
Method Details
-
getServiceImplementation
Returns the service implementation associated with this service. When creating the proxies for the service interface, the implementation of the service interface methods will receive the annotations of the corresponding method in the service interface.- Since:
- 5.4
-