Class AbstractServiceInstrumenter
java.lang.Object
org.apache.tapestry5.ioc.internal.AbstractServiceInstrumenter
- Direct Known Subclasses:
AdvisorDefImpl
,DecoratorDefImpl
Abstract base class for implementations of
ServiceDecorator
(i.e., old school) and
ServiceAdvisor
(i.e., new school). "Instrumenter" is a rought approximation of what
these two approaches have in common: instrumenting of method calls of a service.- Since:
- 5.1.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final String[]
protected final IdMatcher
protected final Method
protected final PlasticProxyFactory
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractServiceInstrumenter
(Method method, String[] patterns, String[] constraints, Class serviceInterface, Set<Class> markers, PlasticProxyFactory proxyFactory) -
Method Summary
Modifier and TypeMethodDescriptionString[]
boolean
matches
(ServiceDef serviceDef) Returns true if any provided pattern matches the id of the service.toString()
-
Field Details
-
method
-
idMatcher
-
constraints
-
proxyFactory
-
-
Constructor Details
-
AbstractServiceInstrumenter
public AbstractServiceInstrumenter(Method method, String[] patterns, String[] constraints, Class serviceInterface, Set<Class> markers, PlasticProxyFactory proxyFactory)
-
-
Method Details