aspoev.primitive
Class ParameterizedBindingPrimitive

java.lang.Object
  extended byaspoev.primitive.StaticPrimitive
      extended byaspoev.primitive.RuntimePrimitive
          extended byaspoev.primitive.ParameterizedBindingPrimitive
All Implemented Interfaces:
aspoev.Executable, MemberElement, pJ.jasmine.PRI, java.io.Serializable

public class ParameterizedBindingPrimitive
extends RuntimePrimitive

See Also:
Serialized Form

Field Summary
protected  BindingArgument[] arguments
           
protected  java.util.Collection generatedRules
           
protected  RuntimePrimitive templateRule
           
 
Fields inherited from class aspoev.primitive.RuntimePrimitive
actionCode, active, AFTER, AROUND, BEFORE, bindings, bindType, thisPrimitive
 
Fields inherited from class aspoev.primitive.StaticPrimitive
action, effectedTypes, typeVariable
 
Fields inherited from interface pJ.jasmine.PRI
DELETECHANGE, MODIFYCHANGE, NOCHANGE
 
Constructor Summary
ParameterizedBindingPrimitive(RuntimePrimitive templateRule, ParameterListElement bindArgs)
           
 
Method Summary
protected  boolean argumentMatch(Binding binding)
           
 java.lang.Object execute()
          Executes this static primitive's execution block once for each associated type.
protected  RuntimePrimitive generateParameterizedRule(Binding binding, BindingArgument[] newArguments)
           
protected  BindingArgument[] getBoundArguments(Binding binding)
           
protected  void matchBindings()
           
protected  void subscribeToBinding(RuntimePrimitive rule, Binding binding)
           
 
Methods inherited from class aspoev.primitive.RuntimePrimitive
declareThisPrimitive, getActionStatement, isActive, registerWithBinding, registerWithBindings, registerWithBindings, setActive, setInactive, toString
 
Methods inherited from class aspoev.primitive.StaticPrimitive
declarePrimitiveVariables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

templateRule

protected RuntimePrimitive templateRule

generatedRules

protected java.util.Collection generatedRules

arguments

protected BindingArgument[] arguments
Constructor Detail

ParameterizedBindingPrimitive

public ParameterizedBindingPrimitive(RuntimePrimitive templateRule,
                                     ParameterListElement bindArgs)
Method Detail

execute

public java.lang.Object execute()
Description copied from class: StaticPrimitive
Executes this static primitive's execution block once for each associated type.

Specified by:
execute in interface aspoev.Executable
Overrides:
execute in class RuntimePrimitive

matchBindings

protected void matchBindings()

argumentMatch

protected boolean argumentMatch(Binding binding)

getBoundArguments

protected BindingArgument[] getBoundArguments(Binding binding)

generateParameterizedRule

protected RuntimePrimitive generateParameterizedRule(Binding binding,
                                                     BindingArgument[] newArguments)

subscribeToBinding

protected void subscribeToBinding(RuntimePrimitive rule,
                                  Binding binding)