org.eclipse.swordfish.plugins.planner.policy
Class AssertionHint<T extends org.apache.neethi.Assertion>

java.lang.Object
  extended by org.eclipse.swordfish.plugins.planner.policy.AssertionHint<T>
All Implemented Interfaces:
Hint<T>

public class AssertionHint<T extends org.apache.neethi.Assertion>
extends java.lang.Object
implements Hint<T>


Constructor Summary
AssertionHint(T assertion)
           
 
Method Summary
 T getInfo()
          Get the information object wrapped by the receiver.
 java.lang.Class<T> getType()
          Indicate the class/interface of the information object wrapped by the receiver.
 boolean supportsInterceptor(Interceptor candidateInterceptor, ReadOnlyRegistry<Interceptor> registry)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssertionHint

public AssertionHint(T assertion)
Method Detail

getInfo

public T getInfo()
Description copied from interface: Hint
Get the information object wrapped by the receiver.

Specified by:
getInfo in interface Hint<T extends org.apache.neethi.Assertion>
Returns:
the information extracted from the message exchange (must not be null).

getType

public java.lang.Class<T> getType()
Description copied from interface: Hint
Indicate the class/interface of the information object wrapped by the receiver.

Specified by:
getType in interface Hint<T extends org.apache.neethi.Assertion>
Returns:
the information object class.

supportsInterceptor

public boolean supportsInterceptor(Interceptor candidateInterceptor,
                                   ReadOnlyRegistry<Interceptor> registry)