org.qi4j.library.rest.server.api
Class InteractionConstraintsConcern.HasInteractionConstraints

java.lang.Object
  extended by org.qi4j.library.rest.server.api.InteractionConstraintsConcern.HasInteractionConstraints
All Implemented Interfaces:
AppliesToFilter
Enclosing class:
InteractionConstraintsConcern

public static class InteractionConstraintsConcern.HasInteractionConstraints
extends java.lang.Object
implements AppliesToFilter


Field Summary
 
Fields inherited from interface org.qi4j.api.common.AppliesToFilter
ALWAYS
 
Constructor Summary
InteractionConstraintsConcern.HasInteractionConstraints()
           
 
Method Summary
 boolean appliesTo(java.lang.reflect.Method method, java.lang.Class<?> mixin, java.lang.Class<?> compositeType, java.lang.Class<?> fragmentClass)
          Check if the Fragment should be applied or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InteractionConstraintsConcern.HasInteractionConstraints

public InteractionConstraintsConcern.HasInteractionConstraints()
Method Detail

appliesTo

public boolean appliesTo(java.lang.reflect.Method method,
                         java.lang.Class<?> mixin,
                         java.lang.Class<?> compositeType,
                         java.lang.Class<?> fragmentClass)
Description copied from interface: AppliesToFilter
Check if the Fragment should be applied or not. Will be call when applied to Mixins, Concerns, SideEffects.

Specified by:
appliesTo in interface AppliesToFilter
Parameters:
method - method that is invoked
mixin - mixin implementation for the method
compositeType - composite type
fragmentClass - fragment that is being applies
Returns:
true if the filter passes, otherwise false