org.jboss.aspects.dbc.condition
Class ExecutableCondition
java.lang.Object
org.jboss.aspects.dbc.condition.Condition
org.jboss.aspects.dbc.condition.ExecutableCondition
- Direct Known Subclasses:
- ConstructorCondition, MethodCondition
public abstract class ExecutableCondition
- extends Condition
A pre or post consition
- Version:
- $Revision: 1.1.8.4 $
- Author:
- Kabir Khan
ExecutableCondition
public ExecutableCondition(String condExpr,
Class clazz,
boolean isStatic)
evaluateCondition
public void evaluateCondition(DesignByContractAspect aspect,
org.jboss.aop.joinpoint.Invocation inv,
Object[] args,
Object ret)
toString
public String toString()
- Overrides:
toString
in class Condition
getValueForToken
protected Object getValueForToken(org.jboss.aop.joinpoint.Invocation invocation,
Object[] args,
Object rtn,
String token)
isPredefinedToken
protected abstract boolean isPredefinedToken(String token)
getValueForPredefinedToken
protected abstract Object getValueForPredefinedToken(org.jboss.aop.joinpoint.Invocation invocation,
Object rtn,
String token)
executableObject
protected abstract Object executableObject()
parameterTypes
protected abstract Class[] parameterTypes()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.