1 15 package org.apache.hivemind.definition.impl; 16 17 import org.apache.hivemind.Location; 18 import org.apache.hivemind.definition.InterceptorConstructor; 19 import org.apache.hivemind.definition.InterceptorDefinition; 20 import org.apache.hivemind.definition.ModuleDefinition; 21 22 29 public class InterceptorDefinitionImpl extends ExtensionDefinitionImpl implements InterceptorDefinition 30 { 31 private InterceptorConstructor _interceptorConstructor; 32 private String _name; 33 34 public InterceptorDefinitionImpl(ModuleDefinition module) 35 { 36 super(module); 37 } 38 39 public InterceptorDefinitionImpl(ModuleDefinition module, String name, Location location, 40 InterceptorConstructor interceptorConstructor) 41 { 42 super(module, location); 43 _name = name; 44 _interceptorConstructor = interceptorConstructor; 45 } 46 47 50 public InterceptorConstructor getInterceptorConstructor() 51 { 52 return _interceptorConstructor; 53 } 54 55 58 public void setInterceptorConstructor(InterceptorConstructor interceptorConstructor) 59 { 60 _interceptorConstructor = interceptorConstructor; 61 } 62 63 66 public String getName() 67 { 68 return _name; 69 } 70 71 74 public void setName(String name) 75 { 76 _name = name; 77 } 78 79 } 80 | Popular Tags |