org.fabric3.introspection.impl
Class DefaultIntrospectionHelper
java.lang.Object
org.fabric3.introspection.impl.DefaultIntrospectionHelper
- All Implemented Interfaces:
- org.fabric3.introspection.IntrospectionHelper
public class DefaultIntrospectionHelper
- extends Object
- implements org.fabric3.introspection.IntrospectionHelper
- Version:
- $Rev: 5481 $ $Date: 2008-09-26 02:36:30 -0700 (Fri, 26 Sep 2008) $
|
Method Summary |
Type |
getBaseType(Type type,
org.fabric3.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.scdl.ServiceDefinition> services)
|
String |
getSiteName(Constructor<?> constructor,
int index,
String override)
|
String |
getSiteName(Field field,
String override)
|
String |
getSiteName(Method setter,
String override)
|
org.fabric3.scdl.InjectableAttributeType |
inferType(Type type,
org.fabric3.introspection.TypeMapping typeMapping)
|
boolean |
isAnnotationPresent(Class<?> type,
Class<? extends Annotation> annotationType)
|
boolean |
isManyValued(org.fabric3.introspection.TypeMapping typeMapping,
Type type)
|
Class<?> |
loadClass(String name,
ClassLoader cl)
|
org.fabric3.introspection.TypeMapping |
mapTypeParameters(Class<?> type)
|
| 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.introspection.java.ImplementationNotFoundException
- Specified by:
loadClass in interface org.fabric3.introspection.IntrospectionHelper
- Throws:
org.fabric3.introspection.java.ImplementationNotFoundException
getSiteName
public String getSiteName(Field field,
String override)
- Specified by:
getSiteName in interface org.fabric3.introspection.IntrospectionHelper
getSiteName
public String getSiteName(Method setter,
String override)
- Specified by:
getSiteName in interface org.fabric3.introspection.IntrospectionHelper
getSiteName
public String getSiteName(Constructor<?> constructor,
int index,
String override)
- Specified by:
getSiteName in interface org.fabric3.introspection.IntrospectionHelper
getGenericType
public Type getGenericType(Method setter)
- Specified by:
getGenericType in interface org.fabric3.introspection.IntrospectionHelper
getGenericType
public Type getGenericType(Method method,
int index)
- Specified by:
getGenericType in interface org.fabric3.introspection.IntrospectionHelper
getGenericType
public Type getGenericType(Constructor<?> constructor,
int index)
- Specified by:
getGenericType in interface org.fabric3.introspection.IntrospectionHelper
getBaseType
public Type getBaseType(Type type,
org.fabric3.introspection.TypeMapping typeMapping)
- Specified by:
getBaseType in interface org.fabric3.introspection.IntrospectionHelper
isManyValued
public boolean isManyValued(org.fabric3.introspection.TypeMapping typeMapping,
Type type)
- Specified by:
isManyValued in interface org.fabric3.introspection.IntrospectionHelper
inferType
public org.fabric3.scdl.InjectableAttributeType inferType(Type type,
org.fabric3.introspection.TypeMapping typeMapping)
- Specified by:
inferType in interface org.fabric3.introspection.IntrospectionHelper
isAnnotationPresent
public boolean isAnnotationPresent(Class<?> type,
Class<? extends Annotation> annotationType)
- Specified by:
isAnnotationPresent in interface org.fabric3.introspection.IntrospectionHelper
getImplementedInterfaces
public Set<Class<?>> getImplementedInterfaces(Class<?> type)
- Specified by:
getImplementedInterfaces in interface org.fabric3.introspection.IntrospectionHelper
getInjectionMethods
public Set<Method> getInjectionMethods(Class<?> type,
Collection<org.fabric3.scdl.ServiceDefinition> services)
- Specified by:
getInjectionMethods in interface org.fabric3.introspection.IntrospectionHelper
getInjectionFields
public Set<Field> getInjectionFields(Class<?> type)
- Specified by:
getInjectionFields in interface org.fabric3.introspection.IntrospectionHelper
mapTypeParameters
public org.fabric3.introspection.TypeMapping mapTypeParameters(Class<?> type)
- Specified by:
mapTypeParameters in interface org.fabric3.introspection.IntrospectionHelper
Copyright © 2007-2008 Fabric3 project contributors. All Rights Reserved.
Licensed under the terms of the Apache License 2.0.