org.jboss.wsf.common.injection.finders
Class InjectionMethodFinder

java.lang.Object
  extended by org.jboss.wsf.common.reflection.AccessibleObjectProcessorAdapter<A>
      extended by org.jboss.wsf.common.reflection.AbstractClassProcessor<java.lang.reflect.Method>
          extended by org.jboss.wsf.common.reflection.MethodFinder
              extended by org.jboss.wsf.common.injection.finders.InjectionMethodFinder
All Implemented Interfaces:
AccessibleObjectProcessor<java.lang.reflect.Method>, ClassProcessor<java.lang.reflect.Method>

public final class InjectionMethodFinder
extends MethodFinder

Lookups method that matches descriptor specified injection metadata.

Author:
Richard Opalka

Constructor Summary
InjectionMethodFinder(org.jboss.wsf.spi.metadata.injection.InjectionMetaData injectionMD)
          Constructor.
 
Method Summary
 boolean matches(java.lang.reflect.Method method)
          By default accessible object always matches all criteria.
 void validate(java.util.Collection<java.lang.reflect.Method> methods)
          By default validation of collection of accessible objects passes.
 void validate(java.lang.reflect.Method method)
          By default validation of accessible object passes.
 
Methods inherited from class org.jboss.wsf.common.reflection.MethodFinder
getAccessibleObjects
 
Methods inherited from class org.jboss.wsf.common.reflection.AbstractClassProcessor
process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InjectionMethodFinder

public InjectionMethodFinder(org.jboss.wsf.spi.metadata.injection.InjectionMetaData injectionMD)
Constructor.

Parameters:
injectionMD - descriptor injection metadata
Method Detail

matches

public boolean matches(java.lang.reflect.Method method)
Description copied from class: AccessibleObjectProcessorAdapter
By default accessible object always matches all criteria.

Specified by:
matches in interface AccessibleObjectProcessor<java.lang.reflect.Method>
Overrides:
matches in class AccessibleObjectProcessorAdapter<java.lang.reflect.Method>
Parameters:
method - to check
Returns:
true if accessible object matches the criteria, false otherwise

validate

public void validate(java.util.Collection<java.lang.reflect.Method> methods)
Description copied from class: AccessibleObjectProcessorAdapter
By default validation of collection of accessible objects passes.

Specified by:
validate in interface AccessibleObjectProcessor<java.lang.reflect.Method>
Overrides:
validate in class AccessibleObjectProcessorAdapter<java.lang.reflect.Method>
Parameters:
methods - collection of accessible objects to validate

validate

public void validate(java.lang.reflect.Method method)
Description copied from class: AccessibleObjectProcessorAdapter
By default validation of accessible object passes.

Specified by:
validate in interface AccessibleObjectProcessor<java.lang.reflect.Method>
Overrides:
validate in class AccessibleObjectProcessorAdapter<java.lang.reflect.Method>
Parameters:
method - object to validate


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