org.jboss.aspects.dbc.condition
Class ConstructorCondition

java.lang.Object
  extended by org.jboss.aspects.dbc.condition.Condition
      extended by org.jboss.aspects.dbc.condition.ExecutableCondition
          extended by org.jboss.aspects.dbc.condition.ConstructorCondition

public class ConstructorCondition
extends ExecutableCondition

Version:
$Revision: 71280 $
Author:
Kabir Khan

Field Summary
 
Fields inherited from class org.jboss.aspects.dbc.condition.Condition
clazz, condExpr, isStatic, originalExpr, parameterLookup, RETURN, TARGET
 
Constructor Summary
ConstructorCondition(Constructor<?> constructor, String condExpr)
           
 
Method Summary
 boolean equals(Object o)
           
protected  Object executableObject()
           
protected  Object getValueForPredefinedToken(Invocation invocation, Object rtn, String token)
           
protected  boolean isPredefinedToken(String token)
           
protected  Class<?>[] parameterTypes()
           
 
Methods inherited from class org.jboss.aspects.dbc.condition.ExecutableCondition
evaluateCondition, getValueForToken, toString
 
Methods inherited from class org.jboss.aspects.dbc.condition.Condition
getTarget, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstructorCondition

public ConstructorCondition(Constructor<?> constructor,
                            String condExpr)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Condition

executableObject

protected Object executableObject()
Specified by:
executableObject in class ExecutableCondition

parameterTypes

protected Class<?>[] parameterTypes()
Specified by:
parameterTypes in class ExecutableCondition

isPredefinedToken

protected boolean isPredefinedToken(String token)
Specified by:
isPredefinedToken in class ExecutableCondition

getValueForPredefinedToken

protected Object getValueForPredefinedToken(Invocation invocation,
                                            Object rtn,
                                            String token)
Specified by:
getValueForPredefinedToken in class ExecutableCondition


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.