org.jboss.weld.introspector
Interface WeldConstructor<T>

All Superinterfaces:
javax.enterprise.inject.spi.Annotated, javax.enterprise.inject.spi.AnnotatedCallable<T>, javax.enterprise.inject.spi.AnnotatedConstructor<T>, javax.enterprise.inject.spi.AnnotatedMember<T>, WeldAnnotated<T,java.lang.reflect.Constructor<T>>, WeldCallable<T,T,java.lang.reflect.Constructor<T>>, WeldMember<T,T,java.lang.reflect.Constructor<T>>
All Known Implementing Classes:
ConstructorInjectionPoint, ForwardingWeldConstructor, WeldConstructorImpl

public interface WeldConstructor<T>
extends WeldCallable<T,T,java.lang.reflect.Constructor<T>>, javax.enterprise.inject.spi.AnnotatedConstructor<T>

Represents a Class Constructor

Author:
Pete Muir

Field Summary
static java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> MAPPED_PARAMETER_ANNOTATIONS
           
 
Fields inherited from interface org.jboss.weld.introspector.WeldAnnotated
MAPPED_METAANNOTATIONS
 
Method Summary
 ConstructorSignature getSignature()
           
 T newInstance(java.lang.Object... parameters)
          Creates a new instance of the class, using this constructor
 
Methods inherited from interface org.jboss.weld.introspector.WeldCallable
getAnnotatedWBParameters, getWBParameters
 
Methods inherited from interface org.jboss.weld.introspector.WeldMember
getDeclaringType, getJavaMember
 
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.AnnotatedConstructor
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
 

Field Detail

MAPPED_PARAMETER_ANNOTATIONS

static final java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> MAPPED_PARAMETER_ANNOTATIONS
Method Detail

newInstance

T newInstance(java.lang.Object... parameters)
              throws java.lang.IllegalArgumentException,
                     java.lang.InstantiationException,
                     java.lang.IllegalAccessException,
                     java.lang.reflect.InvocationTargetException
Creates a new instance of the class, using this constructor

Returns:
The created instance
Throws:
java.lang.IllegalArgumentException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

getSignature

ConstructorSignature getSignature()


Copyright © 2008-2009 Seam Framework. All Rights Reserved.