|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImplementationProcessorService
Provides utility methods for Java implementation processing
Method Summary | |
---|---|
void |
addName(List<String> names,
int pos,
String name)
Inserts a name at the specified position, paddiling the list if its size is less than the position |
boolean |
areUnique(Class[] collection)
Determines if all the members of a collection have unique types |
JavaMappedReference |
createReference(String name,
Member member,
Class<?> paramType)
|
JavaMappedService |
createService(Class<?> interfaze)
Introspects the given interface to produce a mapped service |
boolean |
injectionAnnotationsPresent(Annotation[][] annots)
Returns true if @Autowire , @Property , or @Reference are present in the given array |
void |
processCallback(Class<?> interfaze,
ServiceContract<?> contract)
Processes the callback contract for a given interface type |
boolean |
processParam(Class<?> param,
Annotation[] paramAnnotations,
String[] constructorNames,
int pos,
PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type,
List<String> injectionNames)
Processes a constructor parameter by introspecting its annotations |
Method Detail |
---|
JavaMappedService createService(Class<?> interfaze) throws InvalidServiceContractException, InvalidServiceContractException
InvalidServiceContractException
JavaMappedReference createReference(String name, Member member, Class<?> paramType) throws ProcessingException
ProcessingException
void processCallback(Class<?> interfaze, ServiceContract<?> contract) throws InvalidServiceContractException
interfaze
- the interface type to examinecontract
- the service contract the callback is associated wth
InvalidServiceContractException
boolean areUnique(Class[] collection)
collection
- the collection to analyze
void addName(List<String> names, int pos, String name)
boolean processParam(Class<?> param, Annotation[] paramAnnotations, String[] constructorNames, int pos, PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type, List<String> injectionNames) throws ProcessingException
param
- the parameter to processparamAnnotations
- the parameter annotationsconstructorNames
- the array of constructorNames specified bypos
- the declaration position of the constructor parametertype
- the component type associated with implementation being reflectedinjectionNames
- the list of parameter constructorNames specified on parameter annotations
ProcessingException
boolean injectionAnnotationsPresent(Annotation[][] annots)
@Autowire
, @Property
, or @Reference
are present in the given array
|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |