org.fabric3.introspection.java
Class DefaultIntrospectionHelper
java.lang.Object
org.fabric3.introspection.java.DefaultIntrospectionHelper
- All Implemented Interfaces:
- org.fabric3.spi.introspection.java.IntrospectionHelper
public class DefaultIntrospectionHelper
- extends Object
- implements org.fabric3.spi.introspection.java.IntrospectionHelper
- Version:
- $Rev: 9763 $ $Date: 2011-01-03 00:48:06 +0000 (Mon, 03 Jan 2011) $
|
Method Summary |
org.fabric3.spi.model.type.java.JavaTypeInfo |
createTypeInfo(Type type,
org.fabric3.spi.introspection.TypeMapping typeMapping)
|
Class<?> |
getBaseType(Type type,
org.fabric3.spi.introspection.TypeMapping typeMapping)
|
Type |
getGenericType(Constructor<?> constructor,
int index)
|
Type |
getGenericType(Method setter)
|
Type |
getGenericType(Method method,
int index)
|
Set<Class<?>> |
getImplementedInterfaces(Class<?> type)
|
Set<Field> |
getInjectionFields(Class<?> type)
|
Set<Method> |
getInjectionMethods(Class<?> type,
Collection<org.fabric3.model.type.component.ServiceDefinition> services)
|
String |
getSiteName(Constructor<?> constructor,
int index,
String override)
|
String |
getSiteName(Field field,
String override)
|
String |
getSiteName(Method setter,
String override)
|
org.fabric3.spi.model.type.java.InjectableType |
inferType(Type type,
org.fabric3.spi.introspection.TypeMapping typeMapping)
|
org.fabric3.spi.introspection.java.MultiplicityType |
introspectMultiplicity(Type type,
org.fabric3.spi.introspection.TypeMapping typeMapping)
|
boolean |
isAnnotationPresent(Class<?> type,
Class<? extends Annotation> annotationType)
|
Class<?> |
loadClass(String name,
ClassLoader cl)
|
void |
processMultiplicity(org.fabric3.model.type.component.ReferenceDefinition definition,
boolean required,
Type type,
org.fabric3.spi.introspection.TypeMapping typeMapping)
|
void |
resolveTypeParameters(Class<?> type,
org.fabric3.spi.introspection.TypeMapping typeMapping)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultIntrospectionHelper
public DefaultIntrospectionHelper()
loadClass
public Class<?> loadClass(String name,
ClassLoader cl)
throws org.fabric3.spi.introspection.ImplementationNotFoundException
- Specified by:
loadClass in interface org.fabric3.spi.introspection.java.IntrospectionHelper
- Throws:
org.fabric3.spi.introspection.ImplementationNotFoundException
getSiteName
public String getSiteName(Field field,
String override)
- Specified by:
getSiteName in interface org.fabric3.spi.introspection.java.IntrospectionHelper
getSiteName
public String getSiteName(Method setter,
String override)
- Specified by:
getSiteName in interface org.fabric3.spi.introspection.java.IntrospectionHelper
getSiteName
public String getSiteName(Constructor<?> constructor,
int index,
String override)
- Specified by:
getSiteName in interface org.fabric3.spi.introspection.java.IntrospectionHelper
getGenericType
public Type getGenericType(Method setter)
- Specified by:
getGenericType in interface org.fabric3.spi.introspection.java.IntrospectionHelper
getGenericType
public Type getGenericType(Method method,
int index)
- Specified by:
getGenericType in interface org.fabric3.spi.introspection.java.IntrospectionHelper
getGenericType
public Type getGenericType(Constructor<?> constructor,
int index)
- Specified by:
getGenericType in interface org.fabric3.spi.introspection.java.IntrospectionHelper
getBaseType
public Class<?> getBaseType(Type type,
org.fabric3.spi.introspection.TypeMapping typeMapping)
- Specified by:
getBaseType in interface org.fabric3.spi.introspection.java.IntrospectionHelper
processMultiplicity
public void processMultiplicity(org.fabric3.model.type.component.ReferenceDefinition definition,
boolean required,
Type type,
org.fabric3.spi.introspection.TypeMapping typeMapping)
- Specified by:
processMultiplicity in interface org.fabric3.spi.introspection.java.IntrospectionHelper
introspectMultiplicity
public org.fabric3.spi.introspection.java.MultiplicityType introspectMultiplicity(Type type,
org.fabric3.spi.introspection.TypeMapping typeMapping)
- Specified by:
introspectMultiplicity in interface org.fabric3.spi.introspection.java.IntrospectionHelper
inferType
public org.fabric3.spi.model.type.java.InjectableType inferType(Type type,
org.fabric3.spi.introspection.TypeMapping typeMapping)
- Specified by:
inferType in interface org.fabric3.spi.introspection.java.IntrospectionHelper
isAnnotationPresent
public boolean isAnnotationPresent(Class<?> type,
Class<? extends Annotation> annotationType)
- Specified by:
isAnnotationPresent in interface org.fabric3.spi.introspection.java.IntrospectionHelper
getImplementedInterfaces
public Set<Class<?>> getImplementedInterfaces(Class<?> type)
- Specified by:
getImplementedInterfaces in interface org.fabric3.spi.introspection.java.IntrospectionHelper
getInjectionMethods
public Set<Method> getInjectionMethods(Class<?> type,
Collection<org.fabric3.model.type.component.ServiceDefinition> services)
- Specified by:
getInjectionMethods in interface org.fabric3.spi.introspection.java.IntrospectionHelper
getInjectionFields
public Set<Field> getInjectionFields(Class<?> type)
- Specified by:
getInjectionFields in interface org.fabric3.spi.introspection.java.IntrospectionHelper
resolveTypeParameters
public void resolveTypeParameters(Class<?> type,
org.fabric3.spi.introspection.TypeMapping typeMapping)
- Specified by:
resolveTypeParameters in interface org.fabric3.spi.introspection.java.IntrospectionHelper
createTypeInfo
public org.fabric3.spi.model.type.java.JavaTypeInfo createTypeInfo(Type type,
org.fabric3.spi.introspection.TypeMapping typeMapping)
- Specified by:
createTypeInfo in interface org.fabric3.spi.introspection.java.IntrospectionHelper
Copyright © 2007-2011 Metaform Systems.