org.apache.hivemind.definition.impl
Class InterceptorDefinitionImpl
java.lang.Object
org.apache.hivemind.definition.impl.ExtensionDefinitionImpl
org.apache.hivemind.definition.impl.InterceptorDefinitionImpl
- All Implemented Interfaces:
- ExtensionDefinition, InterceptorDefinition, Locatable
- Direct Known Subclasses:
- OrderedInterceptorDefinitionImpl
public class InterceptorDefinitionImpl
- extends ExtensionDefinitionImpl
- implements InterceptorDefinition
Default implementation of InterceptorDefinition
.
Implementations of this interface may additionally implement the Orderable
interface if a certain interceptor order is required.
- Author:
- Achim Huegen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterceptorDefinitionImpl
public InterceptorDefinitionImpl(ModuleDefinition module)
InterceptorDefinitionImpl
public InterceptorDefinitionImpl(ModuleDefinition module,
java.lang.String name,
Location location,
InterceptorConstructor interceptorConstructor)
getInterceptorConstructor
public InterceptorConstructor getInterceptorConstructor()
- Specified by:
getInterceptorConstructor
in interface InterceptorDefinition
- Returns:
- the constructor for the creation of a interceptor instance.
- See Also:
InterceptorDefinition.getInterceptorConstructor()
setInterceptorConstructor
public void setInterceptorConstructor(InterceptorConstructor interceptorConstructor)
- Sets the constructor implementation responsible for the creation of interceptor instances.
getName
public java.lang.String getName()
- Specified by:
getName
in interface InterceptorDefinition
- Returns:
- the name of the interceptor. Used for ordering.
- See Also:
InterceptorDefinition.getName()
setName
public void setName(java.lang.String name)
- Sets the name of the interceptor.
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.