org.apache.tuscany.sca.policy.logging.jdk
Class JDKLoggingImplementationPolicyProvider

java.lang.Object
  extended by org.apache.tuscany.sca.policy.logging.jdk.JDKLoggingImplementationPolicyProvider
All Implemented Interfaces:
PolicyProvider

public class JDKLoggingImplementationPolicyProvider
extends java.lang.Object
implements PolicyProvider


Constructor Summary
JDKLoggingImplementationPolicyProvider(RuntimeComponent component, Implementation implementation)
           
 
Method Summary
 Interceptor createInterceptor(Operation operation)
          Create an interceptor for a given operation
 java.lang.String getPhase()
          Get the phase that the interceptor should be added
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDKLoggingImplementationPolicyProvider

public JDKLoggingImplementationPolicyProvider(RuntimeComponent component,
                                              Implementation implementation)
Method Detail

createInterceptor

public Interceptor createInterceptor(Operation operation)
Description copied from interface: PolicyProvider
Create an interceptor for a given operation

Specified by:
createInterceptor in interface PolicyProvider
Returns:
An interceptor that realize the policySet
See Also:
PolicyProvider.createInterceptor(org.apache.tuscany.sca.interfacedef.Operation)

getPhase

public java.lang.String getPhase()
Description copied from interface: PolicyProvider
Get the phase that the interceptor should be added

Specified by:
getPhase in interface PolicyProvider
Returns:
The phase that this interceptor belongs to
See Also:
PolicyProvider.getPhase()