|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.aspects.dbc.condition.Condition
org.jboss.aspects.dbc.condition.ExecutableCondition
public abstract class ExecutableCondition
A pre or post consition
Field Summary |
---|
Fields inherited from class org.jboss.aspects.dbc.condition.Condition |
---|
clazz, condExpr, isStatic, originalExpr, parameterLookup, RETURN, TARGET |
Constructor Summary | |
---|---|
ExecutableCondition(String condExpr,
Class clazz,
boolean isStatic)
|
Method Summary | |
---|---|
void |
evaluateCondition(DesignByContractAspect aspect,
org.jboss.aop.joinpoint.Invocation inv,
Object[] args,
Object ret)
|
protected abstract Object |
executableObject()
|
protected abstract Object |
getValueForPredefinedToken(org.jboss.aop.joinpoint.Invocation invocation,
Object rtn,
String token)
|
protected Object |
getValueForToken(org.jboss.aop.joinpoint.Invocation invocation,
Object[] args,
Object rtn,
String token)
|
protected abstract boolean |
isPredefinedToken(String token)
|
protected abstract Class[] |
parameterTypes()
|
String |
toString()
|
Methods inherited from class org.jboss.aspects.dbc.condition.Condition |
---|
equals, getTarget, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExecutableCondition(String condExpr, Class clazz, boolean isStatic)
Method Detail |
---|
public void evaluateCondition(DesignByContractAspect aspect, org.jboss.aop.joinpoint.Invocation inv, Object[] args, Object ret)
public String toString()
toString
in class Condition
protected Object getValueForToken(org.jboss.aop.joinpoint.Invocation invocation, Object[] args, Object rtn, String token)
protected abstract boolean isPredefinedToken(String token)
protected abstract Object getValueForPredefinedToken(org.jboss.aop.joinpoint.Invocation invocation, Object rtn, String token)
protected abstract Object executableObject()
protected abstract Class[] parameterTypes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |