From 31d794be59cb2d1bf264df79f471b0c8d5f5a457 Mon Sep 17 00:00:00 2001 From: lresende Date: Sat, 21 Nov 2009 07:40:26 +0000 Subject: Moving to site trunk git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882841 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/introspect/impl/ResourceProcessor.html | 383 +++++++++++++++++++++ 1 file changed, 383 insertions(+) create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ResourceProcessor.html (limited to 'site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ResourceProcessor.html') diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ResourceProcessor.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ResourceProcessor.html new file mode 100644 index 0000000000..27dab90dfd --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ResourceProcessor.html @@ -0,0 +1,383 @@ + + + + + + +ResourceProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.introspect.impl +
+Class ResourceProcessor

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
+      extended by org.apache.tuscany.sca.implementation.java.introspect.impl.ResourceProcessor
+
+
+
All Implemented Interfaces:
JavaClassVisitor
+
+
+
+
public class ResourceProcessor
extends BaseJavaClassVisitor
+ + +

+Processes an @Resource annotation, updating the component type with + corresponding org.apache.tuscany.spi.implementation.java.JavaResourceImpl +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
assemblyFactory
+  + + + + + + + + + + +
+Constructor Summary
ResourceProcessor(AssemblyFactory factory) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ JavaResourceImplcreateResource(java.lang.String name, + JavaElementImpl element) + +
+           
+ voidvisitConstructorParameter(JavaParameterImpl parameter, + JavaImplementation type) + +
+           
+ voidvisitField(java.lang.reflect.Field field, + JavaImplementation type) + +
+          A callback received as the component implementation's public and + protected fields are evaluated
+ voidvisitMethod(java.lang.reflect.Method method, + JavaImplementation type) + +
+          A callback received as the component implementation's public and + protected methods are evaluated
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
visitClass, visitConstructor, visitEnd, visitSuperClass
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ResourceProcessor

+
+public ResourceProcessor(AssemblyFactory factory)
+
+
+ + + + + + + + +
+Method Detail
+ +

+visitMethod

+
+public void visitMethod(java.lang.reflect.Method method,
+                        JavaImplementation type)
+                 throws IntrospectionException
+
+
Description copied from interface: JavaClassVisitor
+
A callback received as the component implementation's public and + protected methods are evaluated +

+

+
Specified by:
visitMethod in interface JavaClassVisitor
Overrides:
visitMethod in class BaseJavaClassVisitor
+
+
+
Parameters:
method - the current public or protected method being evaluated
type - the incomplete component type associated with the + implementation class +
Throws: +
IntrospectionException - if an error is encountered while processing + metadata
+
+
+
+ +

+visitField

+
+public void visitField(java.lang.reflect.Field field,
+                       JavaImplementation type)
+                throws IntrospectionException
+
+
Description copied from interface: JavaClassVisitor
+
A callback received as the component implementation's public and + protected fields are evaluated +

+

+
Specified by:
visitField in interface JavaClassVisitor
Overrides:
visitField in class BaseJavaClassVisitor
+
+
+
Parameters:
field - the current public or protected field being evaluated
type - the incomplete component type associated with the + implementation class +
Throws: +
IntrospectionException - if an error is encountered while processing + metadata
+
+
+
+ +

+createResource

+
+public JavaResourceImpl createResource(java.lang.String name,
+                                       JavaElementImpl element)
+
+
+
+
+
+
+ +

+visitConstructorParameter

+
+public void visitConstructorParameter(JavaParameterImpl parameter,
+                                      JavaImplementation type)
+                               throws IntrospectionException
+
+
+
Specified by:
visitConstructorParameter in interface JavaClassVisitor
Overrides:
visitConstructorParameter in class BaseJavaClassVisitor
+
+
+ +
Throws: +
IntrospectionException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3