org.jboss.aop.introduction
Class InterfaceIntroduction
java.lang.Object
org.jboss.aop.introduction.InterfaceIntroduction
public class InterfaceIntroduction
- extends Object
- Version:
- $Revision: 70842 $
- Author:
- Bill Burke
Constructor Summary |
InterfaceIntroduction()
|
InterfaceIntroduction(String name,
ASTStart ast,
String[] interfaces)
|
InterfaceIntroduction(String name,
ASTStart ast,
String[] interfaces,
String constructorClass,
String constructorMethod)
|
InterfaceIntroduction(String name,
String exp,
String[] interfaces)
|
InterfaceIntroduction(String name,
String exp,
String[] interfaces,
String constructorClass,
String constructorMethod)
|
name
protected String name
advisors
protected ArrayList<WeakReference<Advisor>> advisors
interfaces
protected String[] interfaces
mixins
protected ArrayList<InterfaceIntroduction.Mixin> mixins
classExpr
protected ClassExpression classExpr
ast
protected ASTStart ast
constructorClass
protected String constructorClass
constructorMethod
protected String constructorMethod
InterfaceIntroduction
public InterfaceIntroduction()
InterfaceIntroduction
public InterfaceIntroduction(String name,
String exp,
String[] interfaces)
InterfaceIntroduction
public InterfaceIntroduction(String name,
String exp,
String[] interfaces,
String constructorClass,
String constructorMethod)
InterfaceIntroduction
public InterfaceIntroduction(String name,
ASTStart ast,
String[] interfaces)
InterfaceIntroduction
public InterfaceIntroduction(String name,
ASTStart ast,
String[] interfaces,
String constructorClass,
String constructorMethod)
setClassExpression
public void setClassExpression(String exp)
setTypeExpression
public void setTypeExpression(String exp)
setMixins
public void setMixins(ArrayList<InterfaceIntroduction.Mixin> mixins)
addMixin
public void addMixin(InterfaceIntroduction.Mixin mixin)
setInterfaces
public void setInterfaces(String[] interfaces)
setName
public void setName(String name)
getName
public String getName()
getInterfaces
public String[] getInterfaces()
getMixins
public ArrayList<InterfaceIntroduction.Mixin> getMixins()
getConstructorClass
public String getConstructorClass()
getConstructorMethod
public String getConstructorMethod()
addAdvisor
public void addAdvisor(Advisor advisor)
clearAdvisors
public void clearAdvisors()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getClassExpr
public String getClassExpr()
getAst
public ASTStart getAst()
matches
public boolean matches(Advisor advisor,
javassist.CtClass clazz)
throws Exception
- Throws:
Exception
matches
public boolean matches(Advisor advisor,
Class<?> clazz)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.