org.jboss.weld.introspector
Interface WeldMethod<T,X>
- All Superinterfaces:
- javax.enterprise.inject.spi.Annotated, javax.enterprise.inject.spi.AnnotatedCallable<X>, javax.enterprise.inject.spi.AnnotatedMember<X>, javax.enterprise.inject.spi.AnnotatedMethod<X>, WeldAnnotated<T,java.lang.reflect.Method>, WeldCallable<T,X,java.lang.reflect.Method>, WeldMember<T,X,java.lang.reflect.Method>
- All Known Implementing Classes:
- ForwardingWeldMethod, MethodInjectionPoint, WeldMethodImpl
public interface WeldMethod<T,X>
- extends WeldCallable<T,X,java.lang.reflect.Method>, javax.enterprise.inject.spi.AnnotatedMethod<X>
AnnotatedType provides a uniform access to the annotations on an annotated
class defined either in Java or XML
- Author:
- Pete Muir
| Methods inherited from interface org.jboss.weld.introspector.WeldAnnotated |
getActualTypeArguments, getBindingsAsArray, getDeclaredMetaAnnotations, getInterfaceOnlyFlattenedTypeHierarchy, getJavaClass, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getPackage, getQualifiers, isDeclaredAnnotationPresent, isFinal, isPackagePrivate, isParameterizedType, isPrivate, isProxyable, isPublic, isStatic |
| Methods inherited from interface javax.enterprise.inject.spi.AnnotatedMethod |
getJavaMember |
| Methods inherited from interface javax.enterprise.inject.spi.AnnotatedCallable |
getParameters |
| Methods inherited from interface javax.enterprise.inject.spi.AnnotatedMember |
isStatic |
| Methods inherited from interface javax.enterprise.inject.spi.Annotated |
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent |
MAPPED_PARAMETER_ANNOTATIONS
static final java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> MAPPED_PARAMETER_ANNOTATIONS
getParameterTypesAsArray
java.lang.Class<?>[] getParameterTypesAsArray()
- Get the parameter types as an array
invoke
T invoke(java.lang.Object instance,
java.lang.Object... parameters)
throws java.lang.IllegalArgumentException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
- Invokes the method
- Parameters:
instance - The instance to invokeparameters - The method parameters
- Returns:
- A reference to the instance
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
invokeOnInstance
T invokeOnInstance(java.lang.Object instance,
java.lang.Object... parameters)
throws java.lang.IllegalArgumentException,
java.lang.SecurityException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.NoSuchMethodException
- Invokes the method on the class of the passed instance, not the declaring
class. Useful with proxies
- Parameters:
instance - The instance to invokemanager - The Bean manager
- Returns:
- A reference to the instance
- Throws:
java.lang.IllegalArgumentException
java.lang.SecurityException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
getPropertyName
java.lang.String getPropertyName()
- Gets the property name
- Returns:
- The name
isEquivalent
boolean isEquivalent(java.lang.reflect.Method method)
- Checks if a this is equivalent to a JLR method
- Parameters:
method - The JLR method
- Returns:
- true if equivalent
getAnnotatedMethod
java.lang.reflect.Method getAnnotatedMethod()
getSignature
MethodSignature getSignature()
Copyright © 2008-2009 Seam Framework. All Rights Reserved.