org.apache.hivemind.definition
Interface InterceptorDefinition

All Superinterfaces:
ExtensionDefinition, Locatable
All Known Implementing Classes:
InterceptorDefinitionImpl, OrderedInterceptorDefinitionImpl

public interface InterceptorDefinition
extends ExtensionDefinition

Defines an interceptor for the methods of a service point. The interceptor is created by an instance of InterceptorConstructor. Interceptors are applied in a certain order which bases on the interceptor names. If an implementation of this interface wants to effect the order it must implement the Orderable interface too.

Author:
Huegen

Method Summary
 InterceptorConstructor getInterceptorConstructor()
           
 java.lang.String getName()
           
 
Methods inherited from interface org.apache.hivemind.definition.ExtensionDefinition
getModule, getModuleId
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Method Detail

getInterceptorConstructor

InterceptorConstructor getInterceptorConstructor()
Returns:
the constructor for the creation of a interceptor instance.

getName

java.lang.String getName()
Returns:
the name of the interceptor. Used for ordering.


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.