|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.core.config.impl.Java5ComponentTypeIntrospector
public class Java5ComponentTypeIntrospector
Introspects Java annotation-based metata data
Field Summary | |
---|---|
protected String |
name
|
Constructor Summary | |
---|---|
Java5ComponentTypeIntrospector()
|
|
Java5ComponentTypeIntrospector(AssemblyFactory factory)
|
Method Summary | |
---|---|
void |
init()
|
ComponentType |
introspect(Class<?> implClass)
Visits the given implementation type and calls back to ImplementationProcessor s
registered with this introspector to build up a ComponentType |
ComponentType |
introspect(Class<?> implClass,
ComponentType compType)
Completes the given componentType definition by introspecting a Java Class. |
void |
registerProcessor(ImplementationProcessor processor)
Registers an annotation processor |
void |
setFactory(SystemAssemblyFactory factory)
|
void |
unregisterProcessor(ImplementationProcessor processor)
De-registers an annotation processor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String name
Constructor Detail |
---|
public Java5ComponentTypeIntrospector()
public Java5ComponentTypeIntrospector(AssemblyFactory factory)
Method Detail |
---|
public void setFactory(SystemAssemblyFactory factory)
public void init()
public void registerProcessor(ImplementationProcessor processor)
ComponentTypeIntrospector
registerProcessor
in interface ComponentTypeIntrospector
public void unregisterProcessor(ImplementationProcessor processor)
ComponentTypeIntrospector
unregisterProcessor
in interface ComponentTypeIntrospector
public ComponentType introspect(Class<?> implClass) throws ConfigurationLoadException
ImplementationProcessor
s
registered with this introspector to build up a ComponentType
introspect
in interface ComponentTypeIntrospector
implClass
- the class to inspect
ConfigurationLoadException
- if there is an error introspecting the implementation typepublic ComponentType introspect(Class<?> implClass, ComponentType compType) throws ConfigurationLoadException
ComponentTypeIntrospector
introspect
in interface ComponentTypeIntrospector
implClass
- the class to inspect
ConfigurationLoadException
- if the Class does not define a valid component type
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |