From 8751ca0a45b9343f37161c9f762fb4c485944a5f Mon Sep 17 00:00:00 2001 From: beckerdo Date: Sun, 1 Feb 2009 20:45:55 +0000 Subject: TUSCANY-2485 Add JavaDocs for Tuscany 1.4 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@739833 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/BaseJavaImplementation.html | 323 ++++++ .../java/DefaultJavaImplementationFactory.html | 244 +++++ .../java/IntrospectionException.html | 352 ++++++ .../implementation/java/JavaImplementation.html | 862 +++++++++++++++ .../java/JavaImplementationFactory.html | 329 ++++++ .../java/context/InstanceFactory.html | 223 ++++ .../java/context/InstanceFactoryProvider.html | 255 +++++ .../java/context/ReflectiveInstanceFactory.html | 269 +++++ .../java/context/ReflectiveInstanceWrapper.html | 311 ++++++ .../implementation/java/context/package-frame.html | 47 + .../java/context/package-summary.html | 177 +++ .../implementation/java/context/package-tree.html | 158 +++ .../implementation/java/impl/JSR250Activator.html | 292 +++++ .../java/impl/JavaClassIntrospectorImpl.html | 287 +++++ .../java/impl/JavaConstructorImpl.html | 275 +++++ .../implementation/java/impl/JavaElementImpl.html | 612 +++++++++++ .../java/impl/JavaImplementationActivator.html | 292 +++++ .../java/impl/JavaImplementationFactoryImpl.html | 402 +++++++ .../java/impl/JavaImplementationImpl.html | 1125 ++++++++++++++++++++ .../java/impl/JavaParameterImpl.html | 236 ++++ .../implementation/java/impl/JavaResourceImpl.html | 363 +++++++ .../implementation/java/impl/JavaScopeImpl.html | 464 ++++++++ .../implementation/java/impl/package-frame.html | 50 + .../implementation/java/impl/package-summary.html | 193 ++++ .../sca/implementation/java/impl/package-tree.html | 169 +++ .../injection/ArrayMultiplicityObjectFactory.html | 270 +++++ .../java/injection/ContextInjector.html | 226 ++++ .../injection/ConversationIDObjectFactory.html | 265 +++++ .../java/injection/FieldInjector.html | 271 +++++ .../java/injection/InjectionRuntimeException.html | 290 +++++ .../implementation/java/injection/Injector.html | 219 ++++ .../java/injection/InvalidAccessorException.html | 284 +++++ ...yValueObjectFactory.ArrayObjectFactoryImpl.html | 288 +++++ ...tyValueObjectFactory.ListObjectFactoryImpl.html | 288 +++++ ...opertyValueObjectFactory.ObjectFactoryImpl.html | 288 +++++ ...tyValueObjectFactory.ObjectFactoryImplBase.html | 372 +++++++ .../injection/JavaPropertyValueObjectFactory.html | 364 +++++++ .../injection/ListMultiplicityObjectFactory.html | 268 +++++ .../java/injection/MethodInjector.html | 268 +++++ .../injection/RequestContextObjectFactory.html | 285 +++++ .../java/injection/ResourceHost.html | 254 +++++ .../java/injection/ResourceNotFoundException.html | 288 +++++ .../java/injection/ResourceObjectFactory.html | 302 ++++++ .../injection/ResourceResolutionException.html | 282 +++++ .../java/injection/package-frame.html | 78 ++ .../java/injection/package-summary.html | 236 ++++ .../java/injection/package-tree.html | 180 ++++ .../java/introspect/JavaClassVisitor.html | 435 ++++++++ .../introspect/impl/AbstractPropertyProcessor.html | 436 ++++++++ .../impl/AllowsPassByReferenceProcessor.html | 341 ++++++ .../impl/AmbiguousConstructorException.html | 268 +++++ .../java/introspect/impl/BaseJavaClassVisitor.html | 544 ++++++++++ .../introspect/impl/ComponentNameProcessor.html | 336 ++++++ .../java/introspect/impl/ConstructorProcessor.html | 353 ++++++ .../java/introspect/impl/ContextProcessor.html | 336 ++++++ .../introspect/impl/ConversationIDProcessor.html | 336 ++++++ .../introspect/impl/ConversationProcessor.html | 393 +++++++ .../java/introspect/impl/DestroyProcessor.html | 301 ++++++ .../impl/DuplicateConstructorException.html | 268 +++++ .../impl/DuplicateDestructorException.html | 252 +++++ .../introspect/impl/DuplicateInitException.html | 252 +++++ .../impl/DuplicatePropertyException.html | 252 +++++ .../impl/DuplicateReferenceException.html | 252 +++++ .../impl/DuplicateResourceException.html | 252 +++++ .../java/introspect/impl/EagerInitProcessor.html | 307 ++++++ .../introspect/impl/HeuristicPojoProcessor.html | 424 ++++++++ .../impl/IllegalCallbackReferenceException.html | 268 +++++ .../introspect/impl/IllegalContextException.html | 271 +++++ .../impl/IllegalDestructorException.html | 268 +++++ .../java/introspect/impl/IllegalInitException.html | 268 +++++ .../introspect/impl/IllegalPropertyException.html | 268 +++++ .../introspect/impl/IllegalReferenceException.html | 268 +++++ .../introspect/impl/IllegalResourceException.html | 268 +++++ .../impl/IllegalServiceDefinitionException.html | 252 +++++ .../java/introspect/impl/InitProcessor.html | 301 ++++++ .../impl/InvalidConstructorException.html | 252 +++++ .../impl/InvalidConversationalImplementation.html | 268 +++++ .../introspect/impl/InvalidPropertyException.html | 252 +++++ .../introspect/impl/InvalidReferenceException.html | 282 +++++ .../introspect/impl/InvalidResourceException.html | 268 +++++ .../java/introspect/impl/InvalidServiceType.html | 298 ++++++ .../introspect/impl/JSR250PolicyProcessor.html | 350 ++++++ .../introspect/impl/JavaIntrospectionHelper.html | 757 +++++++++++++ .../introspect/impl/NoConstructorException.html | 266 +++++ .../java/introspect/impl/PolicyProcessor.html | 377 +++++++ .../java/introspect/impl/PropertyProcessor.html | 323 ++++++ .../java/introspect/impl/ReferenceProcessor.html | 364 +++++++ .../java/introspect/impl/Resource.html | 257 +++++ .../java/introspect/impl/ResourceProcessor.html | 383 +++++++ .../java/introspect/impl/ScopeProcessor.html | 307 ++++++ .../java/introspect/impl/ServiceProcessor.html | 401 +++++++ .../impl/ServiceTypeNotFoundException.html | 252 +++++ .../impl/UnknownContextTypeException.html | 253 +++++ .../java/introspect/impl/package-frame.html | 138 +++ .../java/introspect/impl/package-summary.html | 378 +++++++ .../java/introspect/impl/package-tree.html | 171 +++ .../java/introspect/package-frame.html | 32 + .../java/introspect/package-summary.html | 156 +++ .../java/introspect/package-tree.html | 149 +++ .../java/invocation/EventInvocationException.html | 288 +++++ .../java/invocation/EventInvoker.html | 216 ++++ .../InvalidConversationSequenceException.html | 287 +++++ .../JavaCallbackRuntimeWireProcessor.html | 263 +++++ .../invocation/JavaComponentContextFactory.html | 263 +++++ .../invocation/JavaComponentContextProvider.html | 236 ++++ .../java/invocation/JavaComponentNameFactory.html | 263 +++++ .../java/invocation/JavaImplementationInvoker.html | 401 +++++++ .../invocation/JavaImplementationProvider.html | 490 +++++++++ .../JavaImplementationProviderFactory.html | 300 ++++++ .../invocation/JavaInstanceFactoryProvider.html | 341 ++++++ .../JavaPolicyHandlingRuntimeWireProcessor.html | 263 +++++ .../java/invocation/MethodEventInvoker.html | 268 +++++ .../NoConversationalContractException.html | 242 +++++ .../java/invocation/PolicyHandlingInterceptor.html | 318 ++++++ .../java/invocation/package-frame.html | 78 ++ .../java/invocation/package-summary.html | 233 ++++ .../java/invocation/package-tree.html | 177 +++ .../java/module/JavaRuntimeModuleActivator.html | 288 +++++ .../implementation/java/module/package-frame.html | 32 + .../java/module/package-summary.html | 155 +++ .../implementation/java/module/package-tree.html | 152 +++ .../sca/implementation/java/package-frame.html | 58 + .../sca/implementation/java/package-summary.html | 191 ++++ .../sca/implementation/java/package-tree.html | 179 ++++ .../java/xml/JavaImplementationConstants.html | 245 +++++ .../java/xml/JavaImplementationProcessor.html | 401 +++++++ .../sca/implementation/java/xml/package-frame.html | 43 + .../implementation/java/xml/package-summary.html | 169 +++ .../sca/implementation/java/xml/package-tree.html | 157 +++ 129 files changed, 36877 insertions(+) create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/BaseJavaImplementation.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/DefaultJavaImplementationFactory.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/IntrospectionException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/JavaImplementation.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/JavaImplementationFactory.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/InstanceFactory.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/InstanceFactoryProvider.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/ReflectiveInstanceFactory.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/ReflectiveInstanceWrapper.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/package-frame.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/package-summary.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/package-tree.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JSR250Activator.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaClassIntrospectorImpl.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaConstructorImpl.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaElementImpl.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaImplementationActivator.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaImplementationFactoryImpl.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaImplementationImpl.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaParameterImpl.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaResourceImpl.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaScopeImpl.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/package-frame.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/package-summary.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/package-tree.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ArrayMultiplicityObjectFactory.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ContextInjector.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ConversationIDObjectFactory.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/FieldInjector.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/InjectionRuntimeException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/Injector.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/InvalidAccessorException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.ArrayObjectFactoryImpl.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.ListObjectFactoryImpl.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.ObjectFactoryImpl.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.ObjectFactoryImplBase.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ListMultiplicityObjectFactory.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/MethodInjector.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/RequestContextObjectFactory.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ResourceHost.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ResourceNotFoundException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ResourceObjectFactory.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ResourceResolutionException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/package-frame.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/package-summary.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/package-tree.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/JavaClassVisitor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/AbstractPropertyProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/AllowsPassByReferenceProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/AmbiguousConstructorException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/BaseJavaClassVisitor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ComponentNameProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ContextProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ConversationIDProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ConversationProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DestroyProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateConstructorException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateDestructorException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateInitException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicatePropertyException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateReferenceException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateResourceException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/EagerInitProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalCallbackReferenceException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalContextException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalDestructorException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalInitException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalPropertyException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalReferenceException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalResourceException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalServiceDefinitionException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InitProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidConstructorException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidConversationalImplementation.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidPropertyException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidReferenceException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidResourceException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidServiceType.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/JSR250PolicyProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/JavaIntrospectionHelper.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/NoConstructorException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/PolicyProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/PropertyProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ReferenceProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/Resource.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ResourceProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceTypeNotFoundException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/UnknownContextTypeException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/package-frame.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/package-summary.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/package-tree.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/package-frame.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/package-summary.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/package-tree.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/EventInvocationException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/EventInvoker.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/InvalidConversationSequenceException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaCallbackRuntimeWireProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaComponentContextFactory.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaComponentContextProvider.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaComponentNameFactory.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaImplementationInvoker.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaImplementationProvider.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaImplementationProviderFactory.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaInstanceFactoryProvider.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaPolicyHandlingRuntimeWireProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/MethodEventInvoker.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/NoConversationalContractException.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/PolicyHandlingInterceptor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/package-frame.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/package-summary.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/package-tree.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/module/JavaRuntimeModuleActivator.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/module/package-frame.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/module/package-summary.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/module/package-tree.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/package-frame.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/package-summary.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/package-tree.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/JavaImplementationConstants.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/JavaImplementationProcessor.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/package-frame.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/package-summary.html create mode 100644 site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/package-tree.html (limited to 'site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java') diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/BaseJavaImplementation.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/BaseJavaImplementation.html new file mode 100644 index 0000000000..c33e74d4e1 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/BaseJavaImplementation.html @@ -0,0 +1,323 @@ + + + + + + +BaseJavaImplementation + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java +
+Interface BaseJavaImplementation

+
+
All Superinterfaces:
Base, ComponentType, Extensible, Implementation
+
+
+
All Known Subinterfaces:
JavaImplementation
+
+
+
All Known Implementing Classes:
JavaImplementationImpl
+
+
+
+
public interface BaseJavaImplementation
extends Implementation, Extensible
+ + +

+Represents a Java implementation. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.Class<?>getJavaClass() + +
+          Returns the Java implementation class.
+ java.lang.StringgetName() + +
+          Returns the name of the Java implementation class.
+ voidsetJavaClass(java.lang.Class<?> javaClass) + +
+          Sets the Java implementation class.
+ voidsetName(java.lang.String className) + +
+          Sets the name of the Java implementation class.
+ + + + + + + +
Methods inherited from interface org.apache.tuscany.sca.assembly.ComponentType
getConstrainingType, getProperties, getReferences, getServices, getURI, setConstrainingType, setURI
+ + + + + + + +
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
isUnresolved, setUnresolved
+ + + + + + + +
Methods inherited from interface org.apache.tuscany.sca.assembly.Extensible
getExtensions
+  +

+ + + + + + + + +
+Method Detail
+ +

+getName

+
+java.lang.String getName()
+
+
Returns the name of the Java implementation class. +

+

+
+
+
+ +
Returns:
the name of the Java implementation class
+
+
+
+ +

+setName

+
+void setName(java.lang.String className)
+
+
Sets the name of the Java implementation class. +

+

+
+
+
+
Parameters:
className - the name of the Java implementation class
+
+
+
+ +

+getJavaClass

+
+java.lang.Class<?> getJavaClass()
+
+
Returns the Java implementation class. +

+

+
+
+
+ +
Returns:
the Java implementation class
+
+
+
+ +

+setJavaClass

+
+void setJavaClass(java.lang.Class<?> javaClass)
+
+
Sets the Java implementation class. +

+

+
+
+
+
Parameters:
javaClass - the Java implementation class
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/DefaultJavaImplementationFactory.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/DefaultJavaImplementationFactory.html new file mode 100644 index 0000000000..df3a8dc27e --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/DefaultJavaImplementationFactory.html @@ -0,0 +1,244 @@ + + + + + + +DefaultJavaImplementationFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java +
+Class DefaultJavaImplementationFactory

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.impl.JavaImplementationFactoryImpl
+      extended by org.apache.tuscany.sca.implementation.java.DefaultJavaImplementationFactory
+
+
+
All Implemented Interfaces:
JavaImplementationFactory
+
+
+
+
public class DefaultJavaImplementationFactory
extends JavaImplementationFactoryImpl
implements JavaImplementationFactory
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
DefaultJavaImplementationFactory() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.impl.JavaImplementationFactoryImpl
addClassVisitor, createJavaImplementation, createJavaImplementation, createJavaImplementation, getClassVisitors, removeClassVisitor
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.tuscany.sca.implementation.java.JavaImplementationFactory
addClassVisitor, createJavaImplementation, createJavaImplementation, createJavaImplementation, getClassVisitors, removeClassVisitor
+  +

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

+DefaultJavaImplementationFactory

+
+public DefaultJavaImplementationFactory()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/IntrospectionException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/IntrospectionException.html new file mode 100644 index 0000000000..5fbd5c8170 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/IntrospectionException.html @@ -0,0 +1,352 @@ + + + + + + +IntrospectionException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java +
+Class IntrospectionException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
Direct Known Subclasses:
AmbiguousConstructorException, DuplicateConstructorException, DuplicateDestructorException, DuplicateInitException, DuplicatePropertyException, DuplicateReferenceException, DuplicateResourceException, IllegalCallbackReferenceException, IllegalContextException, IllegalDestructorException, IllegalInitException, IllegalPropertyException, IllegalReferenceException, IllegalResourceException, IllegalServiceDefinitionException, InvalidConstructorException, InvalidConversationalImplementation, InvalidPropertyException, InvalidReferenceException, InvalidResourceException, InvalidServiceType, NoConstructorException, ServiceTypeNotFoundException
+
+
+
+
public class IntrospectionException
extends java.lang.Exception
+ + +

+Denotes a problem processing annotations on a POJO implementation +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
IntrospectionException() + +
+           
IntrospectionException(java.lang.String message) + +
+           
IntrospectionException(java.lang.String message, + java.lang.reflect.Member member) + +
+           
IntrospectionException(java.lang.String message, + java.lang.Throwable cause) + +
+           
IntrospectionException(java.lang.Throwable cause) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.reflect.MembergetMember() + +
+           
+ voidsetMember(java.lang.reflect.Member member) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+IntrospectionException

+
+public IntrospectionException()
+
+
+
+ +

+IntrospectionException

+
+public IntrospectionException(java.lang.String message)
+
+
+
+ +

+IntrospectionException

+
+public IntrospectionException(java.lang.String message,
+                              java.lang.reflect.Member member)
+
+
+
+ +

+IntrospectionException

+
+public IntrospectionException(java.lang.String message,
+                              java.lang.Throwable cause)
+
+
+
+ +

+IntrospectionException

+
+public IntrospectionException(java.lang.Throwable cause)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getMember

+
+public java.lang.reflect.Member getMember()
+
+
+
+
+
+
+ +

+setMember

+
+public void setMember(java.lang.reflect.Member member)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/JavaImplementation.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/JavaImplementation.html new file mode 100644 index 0000000000..a13058fdfa --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/JavaImplementation.html @@ -0,0 +1,862 @@ + + + + + + +JavaImplementation + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java +
+Interface JavaImplementation

+
+
All Superinterfaces:
Base, BaseJavaImplementation, ComponentType, Extensible, Implementation
+
+
+
All Known Implementing Classes:
JavaImplementationImpl
+
+
+
+
public interface JavaImplementation
extends BaseJavaImplementation
+ + +

+Represents a Java implementation. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddConversationIDMember(java.lang.reflect.Member conversationIDMember) + +
+          Sets the Java member used to inject a conversation ID.
+ java.util.List<java.lang.reflect.Method>getAllowsPassByReferenceMethods() + +
+           
+ java.util.Map<java.lang.String,java.util.Collection<JavaElementImpl>>getCallbackMembers() + +
+           
+ JavaConstructorImpl<?>getConstructor() + +
+          Returns the constructor used to instantiate implementation instances.
+ java.util.Map<java.lang.reflect.Constructor,JavaConstructorImpl>getConstructors() + +
+           
+ java.util.List<java.lang.reflect.Member>getConversationIDMembers() + +
+          Returns the Java member used to inject a conversation ID.
+ java.lang.reflect.MethodgetDestroyMethod() + +
+          Returns the component destructor method.
+ java.lang.reflect.MethodgetInitMethod() + +
+          Returns the component initializer method.
+ JavaScopeImplgetJavaScope() + +
+           
+ longgetMaxAge() + +
+           
+ longgetMaxIdleTime() + +
+           
+ java.util.List<PolicyHandlerTuple>getPolicyHandlerClassNames() + +
+           
+ java.util.Map<java.lang.String,JavaElementImpl>getPropertyMembers() + +
+           
+ java.util.Map<java.lang.String,JavaElementImpl>getReferenceMembers() + +
+           
+ java.util.Map<java.lang.String,JavaResourceImpl>getResources() + +
+          Returns the resources injected into this implementation.
+ booleanisAllowsPassByReference() + +
+          Returns true if AllowsPassReference is set.
+ booleanisAllowsPassByReference(java.lang.reflect.Method method) + +
+           
+ booleanisEagerInit() + +
+           
+ voidsetAllowsPassByReference(boolean allowsPassByReference) + +
+           
+ voidsetConstructor(JavaConstructorImpl<?> definition) + +
+          Sets the constructor used to instantiate implementation instances
+ voidsetDestroyMethod(java.lang.reflect.Method destroyMethod) + +
+          Sets the component destructor method.
+ voidsetEagerInit(boolean eagerInit) + +
+           
+ voidsetInitMethod(java.lang.reflect.Method initMethod) + +
+          Sets the component initializer method.
+ voidsetJavaScope(JavaScopeImpl scope) + +
+           
+ voidsetMaxAge(long maxAge) + +
+           
+ voidsetMaxIdleTime(long maxIdleTime) + +
+           
+ voidsetPolicyHandlerClassNames(java.util.List<PolicyHandlerTuple> policyHandlerClassNames) + +
+           
+ + + + + + + +
Methods inherited from interface org.apache.tuscany.sca.implementation.java.BaseJavaImplementation
getJavaClass, getName, setJavaClass, setName
+ + + + + + + +
Methods inherited from interface org.apache.tuscany.sca.assembly.ComponentType
getConstrainingType, getProperties, getReferences, getServices, getURI, setConstrainingType, setURI
+ + + + + + + +
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
isUnresolved, setUnresolved
+ + + + + + + +
Methods inherited from interface org.apache.tuscany.sca.assembly.Extensible
getExtensions
+  +

+ + + + + + + + +
+Method Detail
+ +

+getConstructor

+
+JavaConstructorImpl<?> getConstructor()
+
+
Returns the constructor used to instantiate implementation instances. +

+

+
+
+
+ +
Returns:
the constructor used to instantiate implementation instances
+
+
+
+ +

+setConstructor

+
+void setConstructor(JavaConstructorImpl<?> definition)
+
+
Sets the constructor used to instantiate implementation instances +

+

+
+
+
+
Parameters:
definition - the constructor used to instantiate implementation instances
+
+
+
+ +

+getInitMethod

+
+java.lang.reflect.Method getInitMethod()
+
+
Returns the component initializer method. +

+

+
+
+
+ +
Returns:
the component initializer method
+
+
+
+ +

+setInitMethod

+
+void setInitMethod(java.lang.reflect.Method initMethod)
+
+
Sets the component initializer method. +

+

+
+
+
+
Parameters:
initMethod - the component initializer method
+
+
+
+ +

+getDestroyMethod

+
+java.lang.reflect.Method getDestroyMethod()
+
+
Returns the component destructor method. +

+

+
+
+
+ +
Returns:
the component destructor method
+
+
+
+ +

+setDestroyMethod

+
+void setDestroyMethod(java.lang.reflect.Method destroyMethod)
+
+
Sets the component destructor method. +

+

+
+
+
+
Parameters:
destroyMethod - the component destructor method
+
+
+
+ +

+getResources

+
+java.util.Map<java.lang.String,JavaResourceImpl> getResources()
+
+
Returns the resources injected into this implementation. +

+

+
+
+
+ +
Returns:
+
+
+
+ +

+getConversationIDMembers

+
+java.util.List<java.lang.reflect.Member> getConversationIDMembers()
+
+
Returns the Java member used to inject a conversation ID. +

+

+
+
+
+ +
Returns:
+
+
+
+ +

+addConversationIDMember

+
+void addConversationIDMember(java.lang.reflect.Member conversationIDMember)
+
+
Sets the Java member used to inject a conversation ID. +

+

+
+
+
+
Parameters:
conversationIDMember -
+
+
+
+ +

+isAllowsPassByReference

+
+boolean isAllowsPassByReference()
+
+
Returns true if AllowsPassReference is set. +

+

+
+
+
+ +
Returns:
true if AllowsPassByReference is set
+
+
+
+ +

+setAllowsPassByReference

+
+void setAllowsPassByReference(boolean allowsPassByReference)
+
+
+
+
+
+
Parameters:
allowsPassByReference - the allowsPassByReference to set
+
+
+
+ +

+getAllowsPassByReferenceMethods

+
+java.util.List<java.lang.reflect.Method> getAllowsPassByReferenceMethods()
+
+
+
+
+
+ +
Returns:
the allowsPassByReferenceMethods
+
+
+
+ +

+isAllowsPassByReference

+
+boolean isAllowsPassByReference(java.lang.reflect.Method method)
+
+
+
+
+
+
Parameters:
method - +
Returns:
+
+
+
+ +

+getConstructors

+
+java.util.Map<java.lang.reflect.Constructor,JavaConstructorImpl> getConstructors()
+
+
+
+
+
+ +
Returns:
the constructors
+
+
+
+ +

+isEagerInit

+
+boolean isEagerInit()
+
+
+
+
+
+ +
Returns:
the eagerInit
+
+
+
+ +

+setEagerInit

+
+void setEagerInit(boolean eagerInit)
+
+
+
+
+
+
Parameters:
eagerInit - the eagerInit to set
+
+
+
+ +

+getCallbackMembers

+
+java.util.Map<java.lang.String,java.util.Collection<JavaElementImpl>> getCallbackMembers()
+
+
+
+
+
+ +
Returns:
the callbacks
+
+
+
+ +

+getPropertyMembers

+
+java.util.Map<java.lang.String,JavaElementImpl> getPropertyMembers()
+
+
+
+
+
+ +
Returns:
the properties
+
+
+
+ +

+getReferenceMembers

+
+java.util.Map<java.lang.String,JavaElementImpl> getReferenceMembers()
+
+
+
+
+
+ +
Returns:
the references
+
+
+
+ +

+getJavaScope

+
+JavaScopeImpl getJavaScope()
+
+
+
+
+
+ +
Returns:
the scope
+
+
+
+ +

+setJavaScope

+
+void setJavaScope(JavaScopeImpl scope)
+
+
+
+
+
+
Parameters:
scope - the scope to set
+
+
+
+ +

+getMaxAge

+
+long getMaxAge()
+
+
+
+
+
+ +
Returns:
the maxAge
+
+
+
+ +

+setMaxAge

+
+void setMaxAge(long maxAge)
+
+
+
+
+
+
Parameters:
maxAge - the maxAge to set
+
+
+
+ +

+getMaxIdleTime

+
+long getMaxIdleTime()
+
+
+
+
+
+ +
Returns:
the maxIdleTime
+
+
+
+ +

+setMaxIdleTime

+
+void setMaxIdleTime(long maxIdleTime)
+
+
+
+
+
+
Parameters:
maxIdleTime - the maxIdleTime to set
+
+
+
+ +

+getPolicyHandlerClassNames

+
+java.util.List<PolicyHandlerTuple> getPolicyHandlerClassNames()
+
+
+
+
+
+ +
Returns:
the map of a policy handler class names
+
+
+
+ +

+setPolicyHandlerClassNames

+
+void setPolicyHandlerClassNames(java.util.List<PolicyHandlerTuple> policyHandlerClassNames)
+
+
+
+
+
+
Parameters:
policyHandlerClassNames - Map of policyhandler class names
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/JavaImplementationFactory.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/JavaImplementationFactory.html new file mode 100644 index 0000000000..ac1741798e --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/JavaImplementationFactory.html @@ -0,0 +1,329 @@ + + + + + + +JavaImplementationFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java +
+Interface JavaImplementationFactory

+
+
All Known Implementing Classes:
DefaultJavaImplementationFactory, JavaImplementationFactoryImpl
+
+
+
+
public interface JavaImplementationFactory
+ + +

+Factory for the Java model +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddClassVisitor(JavaClassVisitor visitor) + +
+          Registers the given visitor.
+ JavaImplementationcreateJavaImplementation() + +
+          Creates a new Java implementation model.
+ JavaImplementationcreateJavaImplementation(java.lang.Class<?> implementationClass) + +
+          Creates a new Java implementation model from an implementation class.
+ voidcreateJavaImplementation(JavaImplementation javaImplementation, + java.lang.Class<?> implementationClass) + +
+          Creates the contents of a Java implementation model from an implementation class.
+ java.util.List<JavaClassVisitor>getClassVisitors() + +
+          Returns the list of visitors.
+ voidremoveClassVisitor(JavaClassVisitor visitor) + +
+          Deregisters the given visitor.
+  +

+ + + + + + + + +
+Method Detail
+ +

+createJavaImplementation

+
+JavaImplementation createJavaImplementation()
+
+
Creates a new Java implementation model. +

+

+ +
Returns:
+
+
+
+ +

+createJavaImplementation

+
+JavaImplementation createJavaImplementation(java.lang.Class<?> implementationClass)
+                                            throws IntrospectionException
+
+
Creates a new Java implementation model from an implementation class. +

+

+
Parameters:
implementationClass - The implementation class to introspect. +
Returns:
+
Throws: +
IntrospectionException
+
+
+
+ +

+createJavaImplementation

+
+void createJavaImplementation(JavaImplementation javaImplementation,
+                              java.lang.Class<?> implementationClass)
+                              throws IntrospectionException
+
+
Creates the contents of a Java implementation model from an implementation class. +

+

+
Parameters:
implementationClass - The implementation class to introspect. +
Throws: +
IntrospectionException
+
+
+
+ +

+addClassVisitor

+
+void addClassVisitor(JavaClassVisitor visitor)
+
+
Registers the given visitor. +

+

+
Parameters:
visitor -
+
+
+
+ +

+removeClassVisitor

+
+void removeClassVisitor(JavaClassVisitor visitor)
+
+
Deregisters the given visitor. +

+

+
+
+
+
+ +

+getClassVisitors

+
+java.util.List<JavaClassVisitor> getClassVisitors()
+
+
Returns the list of visitors. +

+

+ +
Returns:
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/InstanceFactory.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/InstanceFactory.html new file mode 100644 index 0000000000..c1c2aa4642 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/InstanceFactory.html @@ -0,0 +1,223 @@ + + + + + + +InstanceFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.context +
+Interface InstanceFactory<T>

+
+
Type Parameters:
T - Type of the instance generated by the factory.
+
+
All Known Implementing Classes:
ReflectiveInstanceFactory
+
+
+
+
public interface InstanceFactory<T>
+ + +

+Interface for a factory that returns an injected component instance. + This is used by a Component implementation to create new instances of + application implementation objects as determined by the component scope's + lifecycle. +

+ The implementation of this interface may be supplied by the user, + may be generated during deployment, or may be dynamic. +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ InstanceWrapper<T>newInstance() + +
+          Creates a new instance of the component.
+  +

+ + + + + + + + +
+Method Detail
+ +

+newInstance

+
+InstanceWrapper<T> newInstance()
+
+
Creates a new instance of the component. + All injected values must be set but any @Init methods must not have been invoked. +

+

+ +
Returns:
A wrapper for the created component instance.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/InstanceFactoryProvider.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/InstanceFactoryProvider.html new file mode 100644 index 0000000000..303fec57ce --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/InstanceFactoryProvider.html @@ -0,0 +1,255 @@ + + + + + + +InstanceFactoryProvider + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.context +
+Interface InstanceFactoryProvider<T>

+
+
All Known Implementing Classes:
JavaInstanceFactoryProvider
+
+
+
+
public interface InstanceFactoryProvider<T>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ InstanceFactory<T>createFactory() + +
+          Create an instance factory that can be used to create component instances.
+ java.lang.Class<T>getImplementationClass() + +
+          Return the implementation class.
+ voidsetObjectFactory(JavaElementImpl element, + ObjectFactory<?> objectFactory) + +
+          Sets an object factory for an injection site
+  +

+ + + + + + + + +
+Method Detail
+ +

+getImplementationClass

+
+java.lang.Class<T> getImplementationClass()
+
+
Return the implementation class. +

+

+ +
Returns:
the implementation class.
+
+
+
+ +

+setObjectFactory

+
+void setObjectFactory(JavaElementImpl element,
+                      ObjectFactory<?> objectFactory)
+
+
Sets an object factory for an injection site +

+

+
Parameters:
element - the injection site name
objectFactory - the object factory
+
+
+
+ +

+createFactory

+
+InstanceFactory<T> createFactory()
+
+
Create an instance factory that can be used to create component instances. +

+

+ +
Returns:
a new instance factory
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/ReflectiveInstanceFactory.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/ReflectiveInstanceFactory.html new file mode 100644 index 0000000000..286ebe4945 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/ReflectiveInstanceFactory.html @@ -0,0 +1,269 @@ + + + + + + +ReflectiveInstanceFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.context +
+Class ReflectiveInstanceFactory<T>

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.context.ReflectiveInstanceFactory<T>
+
+
+
All Implemented Interfaces:
InstanceFactory<T>
+
+
+
+
public class ReflectiveInstanceFactory<T>
extends java.lang.Object
implements InstanceFactory<T>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ReflectiveInstanceFactory(java.lang.reflect.Constructor<T> ctr, + ObjectFactory<?>[] ctrArgs, + Injector<T>[] injectors, + EventInvoker<T> initInvoker, + EventInvoker<T> destroyInvoker) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ InstanceWrapper<T>newInstance() + +
+          Creates a new instance of the component.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+ReflectiveInstanceFactory

+
+public ReflectiveInstanceFactory(java.lang.reflect.Constructor<T> ctr,
+                                 ObjectFactory<?>[] ctrArgs,
+                                 Injector<T>[] injectors,
+                                 EventInvoker<T> initInvoker,
+                                 EventInvoker<T> destroyInvoker)
+
+
+ + + + + + + + +
+Method Detail
+ +

+newInstance

+
+public InstanceWrapper<T> newInstance()
+
+
Description copied from interface: InstanceFactory
+
Creates a new instance of the component. + All injected values must be set but any @Init methods must not have been invoked. +

+

+
Specified by:
newInstance in interface InstanceFactory<T>
+
+
+ +
Returns:
A wrapper for the created component instance.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/ReflectiveInstanceWrapper.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/ReflectiveInstanceWrapper.html new file mode 100644 index 0000000000..73a120c3ad --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/ReflectiveInstanceWrapper.html @@ -0,0 +1,311 @@ + + + + + + +ReflectiveInstanceWrapper + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.context +
+Class ReflectiveInstanceWrapper<T>

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.context.ReflectiveInstanceWrapper<T>
+
+
+
All Implemented Interfaces:
InstanceWrapper<T>
+
+
+
+
public class ReflectiveInstanceWrapper<T>
extends java.lang.Object
implements InstanceWrapper<T>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ReflectiveInstanceWrapper(T instance, + EventInvoker<T> initInvoker, + EventInvoker<T> destroyInvoker) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ TgetInstance() + +
+           
+ voidstart() + +
+           
+ voidstop() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+ReflectiveInstanceWrapper

+
+public ReflectiveInstanceWrapper(T instance,
+                                 EventInvoker<T> initInvoker,
+                                 EventInvoker<T> destroyInvoker)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public T getInstance()
+
+
+
Specified by:
getInstance in interface InstanceWrapper<T>
+
+
+ +
Returns:
+
+
+
+ +

+start

+
+public void start()
+           throws TargetInitializationException
+
+
+
Specified by:
start in interface InstanceWrapper<T>
+
+
+ +
Throws: +
TargetInitializationException
+
+
+
+ +

+stop

+
+public void stop()
+          throws TargetDestructionException
+
+
+
Specified by:
stop in interface InstanceWrapper<T>
+
+
+ +
Throws: +
TargetDestructionException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/package-frame.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/package-frame.html new file mode 100644 index 0000000000..ffce0313a9 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/package-frame.html @@ -0,0 +1,47 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.context + + + + + + + + + + + +org.apache.tuscany.sca.implementation.java.context + + + + +
+Interfaces  + +
+InstanceFactory +
+InstanceFactoryProvider
+ + + + + + +
+Classes  + +
+ReflectiveInstanceFactory +
+ReflectiveInstanceWrapper
+ + + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/package-summary.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/package-summary.html new file mode 100644 index 0000000000..5a98cd3346 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/package-summary.html @@ -0,0 +1,177 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.context + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.apache.tuscany.sca.implementation.java.context +

+ + + + + + + + + + + + + +
+Interface Summary
InstanceFactory<T>Interface for a factory that returns an injected component instance.
InstanceFactoryProvider<T> 
+  + +

+ + + + + + + + + + + + + +
+Class Summary
ReflectiveInstanceFactory<T> 
ReflectiveInstanceWrapper<T> 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/package-tree.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/package-tree.html new file mode 100644 index 0000000000..e7123cbe98 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/context/package-tree.html @@ -0,0 +1,158 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.context Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.apache.tuscany.sca.implementation.java.context +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JSR250Activator.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JSR250Activator.html new file mode 100644 index 0000000000..8eacc18268 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JSR250Activator.html @@ -0,0 +1,292 @@ + + + + + + +JSR250Activator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.impl +
+Class JSR250Activator

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.impl.JSR250Activator
+
+
+
All Implemented Interfaces:
ModuleActivator
+
+
+
+
public class JSR250Activator
extends java.lang.Object
implements ModuleActivator
+ + +

+A module activator for the Java implementation model. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
JSR250Activator() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidstart(ExtensionPointRegistry registry) + +
+          This method is invoked when the module is started by the Tuscany system.
+ voidstop(ExtensionPointRegistry registry) + +
+          This method is invoked when the module is stopped by the Tuscany system.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JSR250Activator

+
+public JSR250Activator()
+
+
+ + + + + + + + +
+Method Detail
+ +

+start

+
+public void start(ExtensionPointRegistry registry)
+
+
Description copied from interface: ModuleActivator
+
This method is invoked when the module is started by the Tuscany system. + It can be used by this module to register extensions against extension + points. +

+

+
Specified by:
start in interface ModuleActivator
+
+
+
Parameters:
registry - The extension point registry
+
+
+
+ +

+stop

+
+public void stop(ExtensionPointRegistry registry)
+
+
Description copied from interface: ModuleActivator
+
This method is invoked when the module is stopped by the Tuscany system. + It can be used by this module to unregister extensions against the + extension points. +

+

+
Specified by:
stop in interface ModuleActivator
+
+
+
Parameters:
registry - The extension point registry
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaClassIntrospectorImpl.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaClassIntrospectorImpl.html new file mode 100644 index 0000000000..5a9e780f92 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaClassIntrospectorImpl.html @@ -0,0 +1,287 @@ + + + + + + +JavaClassIntrospectorImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.impl +
+Class JavaClassIntrospectorImpl

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.impl.JavaClassIntrospectorImpl
+
+
+
+
public class JavaClassIntrospectorImpl
extends java.lang.Object
+ + +

+An extensible Java class introspector implementation. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
JavaClassIntrospectorImpl(java.util.List<JavaClassVisitor> visitors) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidintrospectClass(JavaImplementation type, + java.lang.Class<?> clazz) + +
+          JSR-250 PFD recommends the following guidelines for how annotations + interact with inheritance in order to keep the resulting complexity in + control: + + Class-level annotations only affect the class they annotate and + their members, that is, its methods and fields.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaClassIntrospectorImpl

+
+public JavaClassIntrospectorImpl(java.util.List<JavaClassVisitor> visitors)
+
+
+ + + + + + + + +
+Method Detail
+ +

+introspectClass

+
+public void introspectClass(JavaImplementation type,
+                            java.lang.Class<?> clazz)
+                     throws IntrospectionException
+
+
JSR-250 PFD recommends the following guidelines for how annotations + interact with inheritance in order to keep the resulting complexity in + control: +
    +
  1. Class-level annotations only affect the class they annotate and + their members, that is, its methods and fields. They never affect a + member declared by a superclass, even if it is not hidden or overridden + by the class in question. +
  2. In addition to affecting the annotated class, class-level + annotations may act as a shorthand for member-level annotations. If a + member carries a specific member-level annotation, any annotations of the + same type implied by a class-level annotation are ignored. In other + words, explicit member-level annotations have priority over member-level + annotations implied by a class-level annotation. +
  3. The interfaces implemented by a class never contribute annotations + to the class itself or any of its members. +
  4. Members inherited from a superclass and which are not hidden or + overridden maintain the annotations they had in the class that declared + them, including member-level annotations implied by class-level ones. +
  5. Member-level annotations on a hidden or overridden member are always + ignored. +
+

+

+ +
Throws: +
IntrospectionException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaConstructorImpl.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaConstructorImpl.html new file mode 100644 index 0000000000..0516401baa --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaConstructorImpl.html @@ -0,0 +1,275 @@ + + + + + + +JavaConstructorImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.impl +
+Class JavaConstructorImpl<T>

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.impl.JavaConstructorImpl<T>
+
+
+
+
public class JavaConstructorImpl<T>
extends java.lang.Object
+ + +

+Hold injection information for the constructor used to instantiate a + component implementation instance +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
JavaConstructorImpl(java.lang.reflect.Constructor<T> constructor) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.reflect.Constructor<T>getConstructor() + +
+           
+ JavaParameterImpl[]getParameters() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaConstructorImpl

+
+public JavaConstructorImpl(java.lang.reflect.Constructor<T> constructor)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getConstructor

+
+public java.lang.reflect.Constructor<T> getConstructor()
+
+
+
+
+
+
+ +

+getParameters

+
+public JavaParameterImpl[] getParameters()
+
+
+ +
Returns:
the parameters
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaElementImpl.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaElementImpl.html new file mode 100644 index 0000000000..c49606eade --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaElementImpl.html @@ -0,0 +1,612 @@ + + + + + + +JavaElementImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.impl +
+Class JavaElementImpl

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.impl.JavaElementImpl
+
+
+
Direct Known Subclasses:
JavaParameterImpl
+
+
+
+
public class JavaElementImpl
extends java.lang.Object
+ + +

+This class represents a java element such as a Package, Class, Constructor, + Field, Method or Parameter. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
JavaElementImpl(java.lang.Class<?> cls) + +
+           
JavaElementImpl(java.lang.reflect.Constructor<?> constructor, + int index) + +
+           
JavaElementImpl(java.lang.reflect.Field field) + +
+           
JavaElementImpl(java.lang.reflect.Method method, + int index) + +
+           
JavaElementImpl(java.lang.Package pkg) + +
+           
JavaElementImpl(java.lang.String name, + java.lang.Class<?> type, + java.lang.Class<? extends java.lang.annotation.Annotation> classifer) + +
+          For testing purpose
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object obj) + +
+           
+ java.lang.reflect.AnnotatedElementgetAnchor() + +
+           
+ + + + + +
+<T extends java.lang.annotation.Annotation> +
+T
+
getAnnotation(java.lang.Class<T> annotationType) + +
+           
+ java.lang.annotation.Annotation[]getAnnotations() + +
+           
+ java.lang.Class<? extends java.lang.annotation.Annotation>getClassifer() + +
+           
+ java.lang.annotation.ElementTypegetElementType() + +
+           
+ java.lang.reflect.TypegetGenericType() + +
+           
+ intgetIndex() + +
+           
+ java.lang.StringgetName() + +
+           
+ java.lang.Class<?>getType() + +
+           
+ inthashCode() + +
+           
+ voidsetClassifer(java.lang.Class<? extends java.lang.annotation.Annotation> classifer) + +
+           
+ voidsetName(java.lang.String name) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

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

+JavaElementImpl

+
+public JavaElementImpl(java.lang.Package pkg)
+
+
+
+ +

+JavaElementImpl

+
+public JavaElementImpl(java.lang.Class<?> cls)
+
+
+
+ +

+JavaElementImpl

+
+public JavaElementImpl(java.lang.reflect.Field field)
+
+
+
+ +

+JavaElementImpl

+
+public JavaElementImpl(java.lang.reflect.Constructor<?> constructor,
+                       int index)
+
+
+
+ +

+JavaElementImpl

+
+public JavaElementImpl(java.lang.reflect.Method method,
+                       int index)
+
+
+
+ +

+JavaElementImpl

+
+public JavaElementImpl(java.lang.String name,
+                       java.lang.Class<?> type,
+                       java.lang.Class<? extends java.lang.annotation.Annotation> classifer)
+
+
For testing purpose +

+

+
Parameters:
name -
type -
classifer - TODO
elementType -
+
+ + + + + + + + +
+Method Detail
+ +

+getAnchor

+
+public java.lang.reflect.AnnotatedElement getAnchor()
+
+
+ +
Returns:
the anchor
+
+
+
+ +

+getElementType

+
+public java.lang.annotation.ElementType getElementType()
+
+
+ +
Returns:
the elementType
+
+
+
+ +

+getGenericType

+
+public java.lang.reflect.Type getGenericType()
+
+
+ +
Returns:
the genericType
+
+
+
+ +

+getIndex

+
+public int getIndex()
+
+
+ +
Returns:
the index
+
+
+
+ +

+getType

+
+public java.lang.Class<?> getType()
+
+
+ +
Returns:
the type
+
+
+
+ +

+getAnnotations

+
+public java.lang.annotation.Annotation[] getAnnotations()
+
+
+
+
+
+
+ +

+getAnnotation

+
+public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+ +
Returns:
the name
+
+
+
+ +

+setName

+
+public void setName(java.lang.String name)
+
+
+
Parameters:
name - the name to set
+
+
+
+ +

+getClassifer

+
+public java.lang.Class<? extends java.lang.annotation.Annotation> getClassifer()
+
+
+ +
Returns:
the classifier
+
+
+
+ +

+setClassifer

+
+public void setClassifer(java.lang.Class<? extends java.lang.annotation.Annotation> classifer)
+
+
+
Parameters:
classifer - the classifier to set
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaImplementationActivator.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaImplementationActivator.html new file mode 100644 index 0000000000..20580d279b --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaImplementationActivator.html @@ -0,0 +1,292 @@ + + + + + + +JavaImplementationActivator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.impl +
+Class JavaImplementationActivator

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.impl.JavaImplementationActivator
+
+
+
All Implemented Interfaces:
ModuleActivator
+
+
+
+
public class JavaImplementationActivator
extends java.lang.Object
implements ModuleActivator
+ + +

+A module activator for the Java implementation model. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
JavaImplementationActivator() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidstart(ExtensionPointRegistry registry) + +
+          This method is invoked when the module is started by the Tuscany system.
+ voidstop(ExtensionPointRegistry registry) + +
+          This method is invoked when the module is stopped by the Tuscany system.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaImplementationActivator

+
+public JavaImplementationActivator()
+
+
+ + + + + + + + +
+Method Detail
+ +

+start

+
+public void start(ExtensionPointRegistry registry)
+
+
Description copied from interface: ModuleActivator
+
This method is invoked when the module is started by the Tuscany system. + It can be used by this module to register extensions against extension + points. +

+

+
Specified by:
start in interface ModuleActivator
+
+
+
Parameters:
registry - The extension point registry
+
+
+
+ +

+stop

+
+public void stop(ExtensionPointRegistry registry)
+
+
Description copied from interface: ModuleActivator
+
This method is invoked when the module is stopped by the Tuscany system. + It can be used by this module to unregister extensions against the + extension points. +

+

+
Specified by:
stop in interface ModuleActivator
+
+
+
Parameters:
registry - The extension point registry
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaImplementationFactoryImpl.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaImplementationFactoryImpl.html new file mode 100644 index 0000000000..5d937ace03 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaImplementationFactoryImpl.html @@ -0,0 +1,402 @@ + + + + + + +JavaImplementationFactoryImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.impl +
+Class JavaImplementationFactoryImpl

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.impl.JavaImplementationFactoryImpl
+
+
+
All Implemented Interfaces:
JavaImplementationFactory
+
+
+
Direct Known Subclasses:
DefaultJavaImplementationFactory
+
+
+
+
public abstract class JavaImplementationFactoryImpl
extends java.lang.Object
implements JavaImplementationFactory
+ + +

+A factory for the Java model. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
JavaImplementationFactoryImpl() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddClassVisitor(JavaClassVisitor visitor) + +
+          Registers the given visitor.
+ JavaImplementationcreateJavaImplementation() + +
+          Creates a new Java implementation model.
+ JavaImplementationcreateJavaImplementation(java.lang.Class<?> implementationClass) + +
+          Creates a new Java implementation model from an implementation class.
+ voidcreateJavaImplementation(JavaImplementation javaImplementation, + java.lang.Class<?> implementationClass) + +
+          Creates the contents of a Java implementation model from an implementation class.
+ java.util.List<JavaClassVisitor>getClassVisitors() + +
+          Returns the list of visitors.
+ voidremoveClassVisitor(JavaClassVisitor visitor) + +
+          Deregisters the given visitor.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaImplementationFactoryImpl

+
+public JavaImplementationFactoryImpl()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createJavaImplementation

+
+public JavaImplementation createJavaImplementation()
+
+
Description copied from interface: JavaImplementationFactory
+
Creates a new Java implementation model. +

+

+
Specified by:
createJavaImplementation in interface JavaImplementationFactory
+
+
+ +
Returns:
+
+
+
+ +

+createJavaImplementation

+
+public JavaImplementation createJavaImplementation(java.lang.Class<?> implementationClass)
+                                            throws IntrospectionException
+
+
Description copied from interface: JavaImplementationFactory
+
Creates a new Java implementation model from an implementation class. +

+

+
Specified by:
createJavaImplementation in interface JavaImplementationFactory
+
+
+
Parameters:
implementationClass - The implementation class to introspect. +
Returns:
+
Throws: +
IntrospectionException
+
+
+
+ +

+createJavaImplementation

+
+public void createJavaImplementation(JavaImplementation javaImplementation,
+                                     java.lang.Class<?> implementationClass)
+                              throws IntrospectionException
+
+
Description copied from interface: JavaImplementationFactory
+
Creates the contents of a Java implementation model from an implementation class. +

+

+
Specified by:
createJavaImplementation in interface JavaImplementationFactory
+
+
+
implementationClass - The implementation class to introspect. +
Throws: +
IntrospectionException
+
+
+
+ +

+addClassVisitor

+
+public void addClassVisitor(JavaClassVisitor visitor)
+
+
Description copied from interface: JavaImplementationFactory
+
Registers the given visitor. +

+

+
Specified by:
addClassVisitor in interface JavaImplementationFactory
+
+
+
+
+
+
+ +

+removeClassVisitor

+
+public void removeClassVisitor(JavaClassVisitor visitor)
+
+
Description copied from interface: JavaImplementationFactory
+
Deregisters the given visitor. +

+

+
Specified by:
removeClassVisitor in interface JavaImplementationFactory
+
+
+
+
+
+
+ +

+getClassVisitors

+
+public java.util.List<JavaClassVisitor> getClassVisitors()
+
+
Description copied from interface: JavaImplementationFactory
+
Returns the list of visitors. +

+

+
Specified by:
getClassVisitors in interface JavaImplementationFactory
+
+
+ +
Returns:
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaImplementationImpl.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaImplementationImpl.html new file mode 100644 index 0000000000..d5debddff4 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaImplementationImpl.html @@ -0,0 +1,1125 @@ + + + + + + +JavaImplementationImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.impl +
+Class JavaImplementationImpl

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.assembly.impl.BaseImpl
+      extended by org.apache.tuscany.sca.assembly.impl.ExtensibleImpl
+          extended by org.apache.tuscany.sca.assembly.impl.ComponentTypeImpl
+              extended by org.apache.tuscany.sca.assembly.impl.ImplementationImpl
+                  extended by org.apache.tuscany.sca.implementation.java.impl.JavaImplementationImpl
+
+
+
All Implemented Interfaces:
java.lang.Cloneable, Base, ComponentType, Extensible, Implementation, OperationsConfigurator, BaseJavaImplementation, JavaImplementation, IntentAttachPoint, PolicySetAttachPoint
+
+
+
+
public class JavaImplementationImpl
extends ImplementationImpl
implements JavaImplementation
+ + +

+A component type specialization for POJO implementations +

+ +

+


+ +

+ + + + + + + + + + + + +
+Constructor Summary
+protected JavaImplementationImpl() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddConversationIDMember(java.lang.reflect.Member conversationIDMember) + +
+          Sets the Java member used to inject a conversation ID.
+ booleanequals(java.lang.Object obj) + +
+           
+ java.util.List<java.lang.reflect.Method>getAllowsPassByReferenceMethods() + +
+           
+ java.util.Map<java.lang.String,java.util.Collection<JavaElementImpl>>getCallbackMembers() + +
+           
+ JavaConstructorImpl<?>getConstructor() + +
+          Returns the constructor used to instantiate implementation instances.
+ java.util.Map<java.lang.reflect.Constructor,JavaConstructorImpl>getConstructors() + +
+           
+ java.util.List<java.lang.reflect.Member>getConversationIDMembers() + +
+          Returns the Java member used to inject a conversation ID.
+ java.lang.reflect.MethodgetDestroyMethod() + +
+          Returns the component destructor method.
+ java.lang.reflect.MethodgetInitMethod() + +
+          Returns the component initializer method.
+ java.lang.Class<?>getJavaClass() + +
+          Returns the Java implementation class.
+ JavaScopeImplgetJavaScope() + +
+           
+ longgetMaxAge() + +
+           
+ longgetMaxIdleTime() + +
+           
+ java.lang.StringgetName() + +
+          Returns the name of the Java implementation class.
+ java.util.List<PolicyHandlerTuple>getPolicyHandlerClassNames() + +
+           
+ java.util.Map<java.lang.String,JavaElementImpl>getPropertyMembers() + +
+           
+ java.util.Map<java.lang.String,JavaElementImpl>getReferenceMembers() + +
+           
+ java.util.Map<java.lang.String,JavaResourceImpl>getResources() + +
+          Returns the resources injected into this implementation.
+ inthashCode() + +
+           
+ booleanisAllowsPassByReference() + +
+          Returns true if AllowsPassReference is set.
+ booleanisAllowsPassByReference(java.lang.reflect.Method method) + +
+           
+ booleanisEagerInit() + +
+           
+ voidsetAllowsPassByReference(boolean allowsPassByReference) + +
+           
+ voidsetConstructor(JavaConstructorImpl<?> definition) + +
+          Sets the constructor used to instantiate implementation instances
+ voidsetDestroyMethod(java.lang.reflect.Method destroyMethod) + +
+          Sets the component destructor method.
+ voidsetEagerInit(boolean eagerInit) + +
+           
+ voidsetInitMethod(java.lang.reflect.Method initMethod) + +
+          Sets the component initializer method.
+ voidsetJavaClass(java.lang.Class<?> javaClass) + +
+          Sets the Java implementation class.
+ voidsetJavaScope(JavaScopeImpl scope) + +
+           
+ voidsetMaxAge(long maxAge) + +
+           
+ voidsetMaxIdleTime(long maxIdleTime) + +
+           
+ voidsetName(java.lang.String className) + +
+          Sets the name of the Java implementation class.
+ voidsetPolicyHandlerClassNames(java.util.List<PolicyHandlerTuple> policyHandlerClassNames) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.assembly.impl.ImplementationImpl
getApplicablePolicySets, getConfiguredOperations, getPolicySets, getRequiredIntents, getType, setType
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.assembly.impl.ComponentTypeImpl
clone, getConstrainingType, getProperties, getReferences, getServices, getURI, setConstrainingType, setURI
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.assembly.impl.ExtensibleImpl
getExtensions
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.assembly.impl.BaseImpl
isUnresolved, setUnresolved
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.tuscany.sca.implementation.java.BaseJavaImplementation
getJavaClass, getName, setJavaClass, setName
+ + + + + + + +
Methods inherited from interface org.apache.tuscany.sca.assembly.ComponentType
getConstrainingType, getProperties, getReferences, getServices, getURI, setConstrainingType, setURI
+ + + + + + + +
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
isUnresolved, setUnresolved
+ + + + + + + +
Methods inherited from interface org.apache.tuscany.sca.assembly.Extensible
getExtensions
+  +

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

+JavaImplementationImpl

+
+protected JavaImplementationImpl()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getConstructor

+
+public JavaConstructorImpl<?> getConstructor()
+
+
Description copied from interface: JavaImplementation
+
Returns the constructor used to instantiate implementation instances. +

+

+
Specified by:
getConstructor in interface JavaImplementation
+
+
+ +
Returns:
the constructor used to instantiate implementation instances
+
+
+
+ +

+setConstructor

+
+public void setConstructor(JavaConstructorImpl<?> definition)
+
+
Description copied from interface: JavaImplementation
+
Sets the constructor used to instantiate implementation instances +

+

+
Specified by:
setConstructor in interface JavaImplementation
+
+
+
Parameters:
definition - the constructor used to instantiate implementation instances
+
+
+
+ +

+getInitMethod

+
+public java.lang.reflect.Method getInitMethod()
+
+
Description copied from interface: JavaImplementation
+
Returns the component initializer method. +

+

+
Specified by:
getInitMethod in interface JavaImplementation
+
+
+ +
Returns:
the component initializer method
+
+
+
+ +

+setInitMethod

+
+public void setInitMethod(java.lang.reflect.Method initMethod)
+
+
Description copied from interface: JavaImplementation
+
Sets the component initializer method. +

+

+
Specified by:
setInitMethod in interface JavaImplementation
+
+
+
Parameters:
initMethod - the component initializer method
+
+
+
+ +

+getDestroyMethod

+
+public java.lang.reflect.Method getDestroyMethod()
+
+
Description copied from interface: JavaImplementation
+
Returns the component destructor method. +

+

+
Specified by:
getDestroyMethod in interface JavaImplementation
+
+
+ +
Returns:
the component destructor method
+
+
+
+ +

+setDestroyMethod

+
+public void setDestroyMethod(java.lang.reflect.Method destroyMethod)
+
+
Description copied from interface: JavaImplementation
+
Sets the component destructor method. +

+

+
Specified by:
setDestroyMethod in interface JavaImplementation
+
+
+
Parameters:
destroyMethod - the component destructor method
+
+
+
+ +

+getResources

+
+public java.util.Map<java.lang.String,JavaResourceImpl> getResources()
+
+
Description copied from interface: JavaImplementation
+
Returns the resources injected into this implementation. +

+

+
Specified by:
getResources in interface JavaImplementation
+
+
+ +
Returns:
+
+
+
+ +

+getConversationIDMembers

+
+public java.util.List<java.lang.reflect.Member> getConversationIDMembers()
+
+
Description copied from interface: JavaImplementation
+
Returns the Java member used to inject a conversation ID. +

+

+
Specified by:
getConversationIDMembers in interface JavaImplementation
+
+
+ +
Returns:
+
+
+
+ +

+addConversationIDMember

+
+public void addConversationIDMember(java.lang.reflect.Member conversationIDMember)
+
+
Description copied from interface: JavaImplementation
+
Sets the Java member used to inject a conversation ID. +

+

+
Specified by:
addConversationIDMember in interface JavaImplementation
+
+
+
+
+
+
+ +

+isAllowsPassByReference

+
+public boolean isAllowsPassByReference()
+
+
Description copied from interface: JavaImplementation
+
Returns true if AllowsPassReference is set. +

+

+
Specified by:
isAllowsPassByReference in interface JavaImplementation
+
+
+ +
Returns:
true if AllowsPassByReference is set
+
+
+
+ +

+setAllowsPassByReference

+
+public void setAllowsPassByReference(boolean allowsPassByReference)
+
+
+
Specified by:
setAllowsPassByReference in interface JavaImplementation
+
+
+
Parameters:
allowsPassByReference - the allowsPassByReference to set
+
+
+
+ +

+getAllowsPassByReferenceMethods

+
+public java.util.List<java.lang.reflect.Method> getAllowsPassByReferenceMethods()
+
+
+
Specified by:
getAllowsPassByReferenceMethods in interface JavaImplementation
+
+
+ +
Returns:
the allowsPassByReferenceMethods
+
+
+
+ +

+isAllowsPassByReference

+
+public boolean isAllowsPassByReference(java.lang.reflect.Method method)
+
+
+
Specified by:
isAllowsPassByReference in interface JavaImplementation
+
+
+ +
Returns:
+
+
+
+ +

+getConstructors

+
+public java.util.Map<java.lang.reflect.Constructor,JavaConstructorImpl> getConstructors()
+
+
+
Specified by:
getConstructors in interface JavaImplementation
+
+
+ +
Returns:
the constructors
+
+
+
+ +

+isEagerInit

+
+public boolean isEagerInit()
+
+
+
Specified by:
isEagerInit in interface JavaImplementation
+
+
+ +
Returns:
the eagerInit
+
+
+
+ +

+setEagerInit

+
+public void setEagerInit(boolean eagerInit)
+
+
+
Specified by:
setEagerInit in interface JavaImplementation
+
+
+
Parameters:
eagerInit - the eagerInit to set
+
+
+
+ +

+getCallbackMembers

+
+public java.util.Map<java.lang.String,java.util.Collection<JavaElementImpl>> getCallbackMembers()
+
+
+
Specified by:
getCallbackMembers in interface JavaImplementation
+
+
+ +
Returns:
the callbacks
+
+
+
+ +

+getPropertyMembers

+
+public java.util.Map<java.lang.String,JavaElementImpl> getPropertyMembers()
+
+
+
Specified by:
getPropertyMembers in interface JavaImplementation
+
+
+ +
Returns:
the properties
+
+
+
+ +

+getReferenceMembers

+
+public java.util.Map<java.lang.String,JavaElementImpl> getReferenceMembers()
+
+
+
Specified by:
getReferenceMembers in interface JavaImplementation
+
+
+ +
Returns:
the references
+
+
+
+ +

+getJavaScope

+
+public JavaScopeImpl getJavaScope()
+
+
+
Specified by:
getJavaScope in interface JavaImplementation
+
+
+ +
Returns:
the scope
+
+
+
+ +

+setJavaScope

+
+public void setJavaScope(JavaScopeImpl scope)
+
+
+
Specified by:
setJavaScope in interface JavaImplementation
+
+
+
Parameters:
scope - the scope to set
+
+
+
+ +

+getMaxAge

+
+public long getMaxAge()
+
+
+
Specified by:
getMaxAge in interface JavaImplementation
+
+
+ +
Returns:
the maxAge
+
+
+
+ +

+setMaxAge

+
+public void setMaxAge(long maxAge)
+
+
+
Specified by:
setMaxAge in interface JavaImplementation
+
+
+
Parameters:
maxAge - the maxAge to set
+
+
+
+ +

+getMaxIdleTime

+
+public long getMaxIdleTime()
+
+
+
Specified by:
getMaxIdleTime in interface JavaImplementation
+
+
+ +
Returns:
the maxIdleTime
+
+
+
+ +

+setMaxIdleTime

+
+public void setMaxIdleTime(long maxIdleTime)
+
+
+
Specified by:
setMaxIdleTime in interface JavaImplementation
+
+
+
Parameters:
maxIdleTime - the maxIdleTime to set
+
+
+
+ +

+getPolicyHandlerClassNames

+
+public java.util.List<PolicyHandlerTuple> getPolicyHandlerClassNames()
+
+
+
Specified by:
getPolicyHandlerClassNames in interface JavaImplementation
+
+
+ +
Returns:
the map of a policy handler class names
+
+
+
+ +

+setPolicyHandlerClassNames

+
+public void setPolicyHandlerClassNames(java.util.List<PolicyHandlerTuple> policyHandlerClassNames)
+
+
+
Specified by:
setPolicyHandlerClassNames in interface JavaImplementation
+
+
+
Parameters:
policyHandlerClassNames - Map of policyhandler class names
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
Description copied from interface: BaseJavaImplementation
+
Returns the name of the Java implementation class. +

+

+
Specified by:
getName in interface BaseJavaImplementation
+
+
+ +
Returns:
the name of the Java implementation class
+
+
+
+ +

+setName

+
+public void setName(java.lang.String className)
+
+
Description copied from interface: BaseJavaImplementation
+
Sets the name of the Java implementation class. +

+

+
Specified by:
setName in interface BaseJavaImplementation
+
+
+
Parameters:
className - the name of the Java implementation class
+
+
+
+ +

+getJavaClass

+
+public java.lang.Class<?> getJavaClass()
+
+
Description copied from interface: BaseJavaImplementation
+
Returns the Java implementation class. +

+

+
Specified by:
getJavaClass in interface BaseJavaImplementation
+
+
+ +
Returns:
the Java implementation class
+
+
+
+ +

+setJavaClass

+
+public void setJavaClass(java.lang.Class<?> javaClass)
+
+
Description copied from interface: BaseJavaImplementation
+
Sets the Java implementation class. +

+

+
Specified by:
setJavaClass in interface BaseJavaImplementation
+
+
+
Parameters:
javaClass - the Java implementation class
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class ComponentTypeImpl
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class ComponentTypeImpl
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaParameterImpl.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaParameterImpl.html new file mode 100644 index 0000000000..c17eadfa85 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaParameterImpl.html @@ -0,0 +1,236 @@ + + + + + + +JavaParameterImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.impl +
+Class JavaParameterImpl

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.impl.JavaElementImpl
+      extended by org.apache.tuscany.sca.implementation.java.impl.JavaParameterImpl
+
+
+
+
public class JavaParameterImpl
extends JavaElementImpl
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
JavaParameterImpl(java.lang.reflect.Constructor<?> constructor, + int index) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.impl.JavaElementImpl
equals, getAnchor, getAnnotation, getAnnotations, getClassifer, getElementType, getGenericType, getIndex, getName, getType, hashCode, setClassifer, setName, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

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

+JavaParameterImpl

+
+public JavaParameterImpl(java.lang.reflect.Constructor<?> constructor,
+                         int index)
+
+
+
Parameters:
constructor -
index -
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaResourceImpl.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaResourceImpl.html new file mode 100644 index 0000000000..5f10e686ca --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaResourceImpl.html @@ -0,0 +1,363 @@ + + + + + + +JavaResourceImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.impl +
+Class JavaResourceImpl

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.impl.JavaResourceImpl
+
+
+
+
public class JavaResourceImpl
extends java.lang.Object
+ + +

+A resource dependency declared by a Java component implementation +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
JavaResourceImpl(JavaElementImpl element) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ JavaElementImplgetElement() + +
+           
+ java.lang.StringgetMappedName() + +
+          Returns the URI of the resource
+ java.lang.StringgetName() + +
+          The name of the resource
+ booleanisOptional() + +
+          If true, the resource is optional
+ voidsetMappedName(java.lang.String mappedName) + +
+          Sets the resource URI
+ voidsetOptional(boolean optional) + +
+          Sets whether the resource is optional
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaResourceImpl

+
+public JavaResourceImpl(JavaElementImpl element)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getName

+
+public java.lang.String getName()
+
+
The name of the resource +

+

+ +
Returns:
the name of the resource
+
+
+
+ +

+getMappedName

+
+public java.lang.String getMappedName()
+
+
Returns the URI of the resource +

+

+ +
Returns:
the URI of the resource
+
+
+
+ +

+setMappedName

+
+public void setMappedName(java.lang.String mappedName)
+
+
Sets the resource URI +

+

+
+
+
+
+ +

+isOptional

+
+public boolean isOptional()
+
+
If true, the resource is optional +

+

+ +
Returns:
true if the resource is optional
+
+
+
+ +

+setOptional

+
+public void setOptional(boolean optional)
+
+
Sets whether the resource is optional +

+

+
+
+
+
+ +

+getElement

+
+public JavaElementImpl getElement()
+
+
+ +
Returns:
the element
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaScopeImpl.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaScopeImpl.html new file mode 100644 index 0000000000..6af5dc0d04 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/JavaScopeImpl.html @@ -0,0 +1,464 @@ + + + + + + +JavaScopeImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.impl +
+Class JavaScopeImpl

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.impl.JavaScopeImpl
+
+
+
+
public class JavaScopeImpl
extends java.lang.Object
+ + +

+The default implementation scopes supported by assemblies. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static JavaScopeImplCOMPOSITE + +
+           
+static JavaScopeImplCONVERSATION + +
+           
+static JavaScopeImplREQUEST + +
+           
+static JavaScopeImplSESSION + +
+           
+static JavaScopeImplSTATELESS + +
+           
+static JavaScopeImplSYSTEM + +
+           
+static JavaScopeImplUNDEFINED + +
+           
+  + + + + + + + + + + +
+Constructor Summary
JavaScopeImpl(java.lang.String scope) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object o) + +
+           
+ java.lang.StringgetScope() + +
+           
+ inthashCode() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+STATELESS

+
+public static final JavaScopeImpl STATELESS
+
+
+
+
+
+ +

+REQUEST

+
+public static final JavaScopeImpl REQUEST
+
+
+
+
+
+ +

+SESSION

+
+public static final JavaScopeImpl SESSION
+
+
+
+
+
+ +

+CONVERSATION

+
+public static final JavaScopeImpl CONVERSATION
+
+
+
+
+
+ +

+COMPOSITE

+
+public static final JavaScopeImpl COMPOSITE
+
+
+
+
+
+ +

+SYSTEM

+
+public static final JavaScopeImpl SYSTEM
+
+
+
+
+
+ +

+UNDEFINED

+
+public static final JavaScopeImpl UNDEFINED
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+JavaScopeImpl

+
+public JavaScopeImpl(java.lang.String scope)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getScope

+
+public java.lang.String getScope()
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object o)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/package-frame.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/package-frame.html new file mode 100644 index 0000000000..c66a045349 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/package-frame.html @@ -0,0 +1,50 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.impl + + + + + + + + + + + +org.apache.tuscany.sca.implementation.java.impl + + + + +
+Classes  + +
+JavaClassIntrospectorImpl +
+JavaConstructorImpl +
+JavaElementImpl +
+JavaImplementationActivator +
+JavaImplementationFactoryImpl +
+JavaImplementationImpl +
+JavaParameterImpl +
+JavaResourceImpl +
+JavaScopeImpl +
+JSR250Activator
+ + + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/package-summary.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/package-summary.html new file mode 100644 index 0000000000..916acc2120 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/package-summary.html @@ -0,0 +1,193 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.impl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.apache.tuscany.sca.implementation.java.impl +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
JavaClassIntrospectorImplAn extensible Java class introspector implementation.
JavaConstructorImpl<T>Hold injection information for the constructor used to instantiate a + component implementation instance
JavaElementImplThis class represents a java element such as a Package, Class, Constructor, + Field, Method or Parameter.
JavaImplementationActivatorA module activator for the Java implementation model.
JavaImplementationFactoryImplA factory for the Java model.
JavaImplementationImplA component type specialization for POJO implementations
JavaParameterImpl 
JavaResourceImplA resource dependency declared by a Java component implementation
JavaScopeImplThe default implementation scopes supported by assemblies.
JSR250ActivatorA module activator for the Java implementation model.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/package-tree.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/package-tree.html new file mode 100644 index 0000000000..2bc1ff987b --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/impl/package-tree.html @@ -0,0 +1,169 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.impl Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.apache.tuscany.sca.implementation.java.impl +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ArrayMultiplicityObjectFactory.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ArrayMultiplicityObjectFactory.html new file mode 100644 index 0000000000..2c54f66748 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ArrayMultiplicityObjectFactory.html @@ -0,0 +1,270 @@ + + + + + + +ArrayMultiplicityObjectFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Class ArrayMultiplicityObjectFactory

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.injection.ArrayMultiplicityObjectFactory
+
+
+
All Implemented Interfaces:
ObjectFactory<java.lang.Object>
+
+
+
+
public class ArrayMultiplicityObjectFactory
extends java.lang.Object
implements ObjectFactory<java.lang.Object>
+ + +

+Resolves targets configured in a multiplicity by delegating to object factories and returning an Array + containing object instances +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ArrayMultiplicityObjectFactory(java.lang.Class interfaceType, + java.util.List<ObjectFactory<?>> factories) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.ObjectgetInstance() + +
+          Return a instance of the type that this factory creates.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+ArrayMultiplicityObjectFactory

+
+public ArrayMultiplicityObjectFactory(java.lang.Class interfaceType,
+                                      java.util.List<ObjectFactory<?>> factories)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public java.lang.Object getInstance()
+                             throws ObjectCreationException
+
+
Description copied from interface: ObjectFactory
+
Return a instance of the type that this factory creates. +

+

+
Specified by:
getInstance in interface ObjectFactory<java.lang.Object>
+
+
+ +
Returns:
a instance from this factory +
Throws: +
ObjectCreationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ContextInjector.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ContextInjector.html new file mode 100644 index 0000000000..63d7041bfd --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ContextInjector.html @@ -0,0 +1,226 @@ + + + + + + +ContextInjector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Interface ContextInjector<S,T>

+
+
All Superinterfaces:
Injector<T>
+
+
+
+
public interface ContextInjector<S,T>
extends Injector<T>
+ + +

+Implementations inject a pre-configured context type (interface) on an instance. +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidsetContext(S context) + +
+           
+ + + + + + + +
Methods inherited from interface org.apache.tuscany.sca.implementation.java.injection.Injector
inject
+  +

+ + + + + + + + +
+Method Detail
+ +

+setContext

+
+void setContext(S context)
+                throws ObjectCreationException
+
+
+
+
+
+ +
Throws: +
ObjectCreationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ConversationIDObjectFactory.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ConversationIDObjectFactory.html new file mode 100644 index 0000000000..71a2b2b21d --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ConversationIDObjectFactory.html @@ -0,0 +1,265 @@ + + + + + + +ConversationIDObjectFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Class ConversationIDObjectFactory

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.injection.ConversationIDObjectFactory
+
+
+
All Implemented Interfaces:
ObjectFactory
+
+
+
+
public class ConversationIDObjectFactory
extends java.lang.Object
implements ObjectFactory
+ + +

+Object Factory that is used to retrieve the ConversationID from the + Message on the ThreadMessageContext. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ConversationIDObjectFactory() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.ObjectgetInstance() + +
+          Return a instance of the type that this factory creates.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+ConversationIDObjectFactory

+
+public ConversationIDObjectFactory()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public java.lang.Object getInstance()
+
+
Description copied from interface: ObjectFactory
+
Return a instance of the type that this factory creates. +

+

+
Specified by:
getInstance in interface ObjectFactory
+
+
+ +
Returns:
a instance from this factory
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/FieldInjector.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/FieldInjector.html new file mode 100644 index 0000000000..3cd3817830 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/FieldInjector.html @@ -0,0 +1,271 @@ + + + + + + +FieldInjector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Class FieldInjector<T>

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.injection.FieldInjector<T>
+
+
+
All Implemented Interfaces:
Injector<T>
+
+
+
+
public class FieldInjector<T>
extends java.lang.Object
implements Injector<T>
+ + +

+Injects a value created by an ObjectFactory on a given field +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
FieldInjector(java.lang.reflect.Field pField, + ObjectFactory<?> objectFactory) + +
+          Create an injector and have it use the given ObjectFactory to inject a value on the instance using + the reflected Field
+  + + + + + + + + + + + +
+Method Summary
+ voidinject(T instance) + +
+          Inject a new value on the given instance
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+FieldInjector

+
+public FieldInjector(java.lang.reflect.Field pField,
+                     ObjectFactory<?> objectFactory)
+
+
Create an injector and have it use the given ObjectFactory to inject a value on the instance using + the reflected Field +

+

+ + + + + + + + +
+Method Detail
+ +

+inject

+
+public void inject(T instance)
+            throws ObjectCreationException
+
+
Inject a new value on the given instance +

+

+
Specified by:
inject in interface Injector<T>
+
+
+ +
Throws: +
ObjectCreationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/InjectionRuntimeException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/InjectionRuntimeException.html new file mode 100644 index 0000000000..b29b40732f --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/InjectionRuntimeException.html @@ -0,0 +1,290 @@ + + + + + + +InjectionRuntimeException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Class InjectionRuntimeException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by java.lang.RuntimeException
+              extended by org.apache.tuscany.sca.implementation.java.injection.InjectionRuntimeException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
Direct Known Subclasses:
EventInvocationException, InvalidAccessorException
+
+
+
+
public abstract class InjectionRuntimeException
extends java.lang.RuntimeException
+ + +

+Root unchecked exception for the injection package +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
InjectionRuntimeException() + +
+           
InjectionRuntimeException(java.lang.String message) + +
+           
InjectionRuntimeException(java.lang.String message, + java.lang.Throwable cause) + +
+           
InjectionRuntimeException(java.lang.Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+InjectionRuntimeException

+
+public InjectionRuntimeException()
+
+
+
+ +

+InjectionRuntimeException

+
+public InjectionRuntimeException(java.lang.String message,
+                                 java.lang.Throwable cause)
+
+
+
+ +

+InjectionRuntimeException

+
+public InjectionRuntimeException(java.lang.String message)
+
+
+
+ +

+InjectionRuntimeException

+
+public InjectionRuntimeException(java.lang.Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/Injector.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/Injector.html new file mode 100644 index 0000000000..dd822fa4cf --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/Injector.html @@ -0,0 +1,219 @@ + + + + + + +Injector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Interface Injector<T>

+
+
All Known Subinterfaces:
ContextInjector<S,T>
+
+
+
All Known Implementing Classes:
FieldInjector, MethodInjector
+
+
+
+
public interface Injector<T>
+ + +

+Implementations inject a pre-configured value on an instance +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidinject(T instance) + +
+          Inject a value on the given instance
+  +

+ + + + + + + + +
+Method Detail
+ +

+inject

+
+void inject(T instance)
+            throws ObjectCreationException
+
+
Inject a value on the given instance +

+

+ +
Throws: +
ObjectCreationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/InvalidAccessorException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/InvalidAccessorException.html new file mode 100644 index 0000000000..5641542826 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/InvalidAccessorException.html @@ -0,0 +1,284 @@ + + + + + + +InvalidAccessorException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Class InvalidAccessorException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by java.lang.RuntimeException
+              extended by org.apache.tuscany.sca.implementation.java.injection.InjectionRuntimeException
+                  extended by org.apache.tuscany.sca.implementation.java.injection.InvalidAccessorException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class InvalidAccessorException
extends InjectionRuntimeException
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
InvalidAccessorException() + +
+           
InvalidAccessorException(java.lang.String message) + +
+           
InvalidAccessorException(java.lang.String message, + java.lang.Throwable cause) + +
+           
InvalidAccessorException(java.lang.Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+InvalidAccessorException

+
+public InvalidAccessorException()
+
+
+
+ +

+InvalidAccessorException

+
+public InvalidAccessorException(java.lang.String message,
+                                java.lang.Throwable cause)
+
+
+
+ +

+InvalidAccessorException

+
+public InvalidAccessorException(java.lang.String message)
+
+
+
+ +

+InvalidAccessorException

+
+public InvalidAccessorException(java.lang.Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.ArrayObjectFactoryImpl.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.ArrayObjectFactoryImpl.html new file mode 100644 index 0000000000..8615c57ae5 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.ArrayObjectFactoryImpl.html @@ -0,0 +1,288 @@ + + + + + + +JavaPropertyValueObjectFactory.ArrayObjectFactoryImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Class JavaPropertyValueObjectFactory.ArrayObjectFactoryImpl

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.injection.JavaPropertyValueObjectFactory.ObjectFactoryImplBase
+      extended by org.apache.tuscany.sca.implementation.java.injection.JavaPropertyValueObjectFactory.ArrayObjectFactoryImpl
+
+
+
All Implemented Interfaces:
ObjectFactory
+
+
+
Enclosing class:
JavaPropertyValueObjectFactory
+
+
+
+
public class JavaPropertyValueObjectFactory.ArrayObjectFactoryImpl
extends JavaPropertyValueObjectFactory.ObjectFactoryImplBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.injection.JavaPropertyValueObjectFactory.ObjectFactoryImplBase
javaType, property, propertyValue, simpleTypeMapper, sourceDataType, targetDataType
+  + + + + + + + + + + +
+Constructor Summary
JavaPropertyValueObjectFactory.ArrayObjectFactoryImpl(Property property, + java.util.List<?> propertyValues, + boolean isSimpleType, + java.lang.Class javaType) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.ObjectgetInstance() + +
+          Return a instance of the type that this factory creates.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaPropertyValueObjectFactory.ArrayObjectFactoryImpl

+
+public JavaPropertyValueObjectFactory.ArrayObjectFactoryImpl(Property property,
+                                                             java.util.List<?> propertyValues,
+                                                             boolean isSimpleType,
+                                                             java.lang.Class javaType)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public java.lang.Object getInstance()
+                             throws ObjectCreationException
+
+
Description copied from interface: ObjectFactory
+
Return a instance of the type that this factory creates. +

+

+ +
Returns:
a instance from this factory +
Throws: +
ObjectCreationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.ListObjectFactoryImpl.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.ListObjectFactoryImpl.html new file mode 100644 index 0000000000..5a9e585777 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.ListObjectFactoryImpl.html @@ -0,0 +1,288 @@ + + + + + + +JavaPropertyValueObjectFactory.ListObjectFactoryImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Class JavaPropertyValueObjectFactory.ListObjectFactoryImpl

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.injection.JavaPropertyValueObjectFactory.ObjectFactoryImplBase
+      extended by org.apache.tuscany.sca.implementation.java.injection.JavaPropertyValueObjectFactory.ListObjectFactoryImpl
+
+
+
All Implemented Interfaces:
ObjectFactory
+
+
+
Enclosing class:
JavaPropertyValueObjectFactory
+
+
+
+
public class JavaPropertyValueObjectFactory.ListObjectFactoryImpl
extends JavaPropertyValueObjectFactory.ObjectFactoryImplBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.injection.JavaPropertyValueObjectFactory.ObjectFactoryImplBase
javaType, property, propertyValue, simpleTypeMapper, sourceDataType, targetDataType
+  + + + + + + + + + + +
+Constructor Summary
JavaPropertyValueObjectFactory.ListObjectFactoryImpl(Property property, + java.util.List<?> propertyValues, + boolean isSimpleType, + java.lang.Class javaType) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.util.List<?>getInstance() + +
+          Return a instance of the type that this factory creates.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaPropertyValueObjectFactory.ListObjectFactoryImpl

+
+public JavaPropertyValueObjectFactory.ListObjectFactoryImpl(Property property,
+                                                            java.util.List<?> propertyValues,
+                                                            boolean isSimpleType,
+                                                            java.lang.Class javaType)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public java.util.List<?> getInstance()
+                              throws ObjectCreationException
+
+
Description copied from interface: ObjectFactory
+
Return a instance of the type that this factory creates. +

+

+ +
Returns:
a instance from this factory +
Throws: +
ObjectCreationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.ObjectFactoryImpl.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.ObjectFactoryImpl.html new file mode 100644 index 0000000000..8b4c250a23 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.ObjectFactoryImpl.html @@ -0,0 +1,288 @@ + + + + + + +JavaPropertyValueObjectFactory.ObjectFactoryImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Class JavaPropertyValueObjectFactory.ObjectFactoryImpl

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.injection.JavaPropertyValueObjectFactory.ObjectFactoryImplBase
+      extended by org.apache.tuscany.sca.implementation.java.injection.JavaPropertyValueObjectFactory.ObjectFactoryImpl
+
+
+
All Implemented Interfaces:
ObjectFactory
+
+
+
Enclosing class:
JavaPropertyValueObjectFactory
+
+
+
+
public class JavaPropertyValueObjectFactory.ObjectFactoryImpl
extends JavaPropertyValueObjectFactory.ObjectFactoryImplBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.injection.JavaPropertyValueObjectFactory.ObjectFactoryImplBase
javaType, property, propertyValue, simpleTypeMapper, sourceDataType, targetDataType
+  + + + + + + + + + + +
+Constructor Summary
JavaPropertyValueObjectFactory.ObjectFactoryImpl(Property property, + java.lang.Object propertyValue, + boolean isSimpleType, + java.lang.Class javaType) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.ObjectgetInstance() + +
+          Return a instance of the type that this factory creates.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaPropertyValueObjectFactory.ObjectFactoryImpl

+
+public JavaPropertyValueObjectFactory.ObjectFactoryImpl(Property property,
+                                                        java.lang.Object propertyValue,
+                                                        boolean isSimpleType,
+                                                        java.lang.Class javaType)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public java.lang.Object getInstance()
+                             throws ObjectCreationException
+
+
Description copied from interface: ObjectFactory
+
Return a instance of the type that this factory creates. +

+

+ +
Returns:
a instance from this factory +
Throws: +
ObjectCreationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.ObjectFactoryImplBase.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.ObjectFactoryImplBase.html new file mode 100644 index 0000000000..b4102a8d62 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.ObjectFactoryImplBase.html @@ -0,0 +1,372 @@ + + + + + + +JavaPropertyValueObjectFactory.ObjectFactoryImplBase + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Class JavaPropertyValueObjectFactory.ObjectFactoryImplBase

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.injection.JavaPropertyValueObjectFactory.ObjectFactoryImplBase
+
+
+
All Implemented Interfaces:
ObjectFactory
+
+
+
Direct Known Subclasses:
JavaPropertyValueObjectFactory.ArrayObjectFactoryImpl, JavaPropertyValueObjectFactory.ListObjectFactoryImpl, JavaPropertyValueObjectFactory.ObjectFactoryImpl
+
+
+
Enclosing class:
JavaPropertyValueObjectFactory
+
+
+
+
public abstract class JavaPropertyValueObjectFactory.ObjectFactoryImplBase
extends java.lang.Object
implements ObjectFactory
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  java.lang.ClassjavaType + +
+           
+protected  Propertyproperty + +
+           
+protected  java.lang.ObjectpropertyValue + +
+           
+protected  SimpleTypeMappersimpleTypeMapper + +
+           
+protected  DataType<XMLType>sourceDataType + +
+           
+protected  DataType<?>targetDataType + +
+           
+  + + + + + + + + + + +
+Constructor Summary
JavaPropertyValueObjectFactory.ObjectFactoryImplBase(Property property, + java.lang.Object propertyValue, + boolean isSimpleType, + java.lang.Class javaType) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.tuscany.sca.core.factory.ObjectFactory
getInstance
+  +

+ + + + + + + + +
+Field Detail
+ +

+simpleTypeMapper

+
+protected SimpleTypeMapper simpleTypeMapper
+
+
+
+
+
+ +

+property

+
+protected Property property
+
+
+
+
+
+ +

+propertyValue

+
+protected java.lang.Object propertyValue
+
+
+
+
+
+ +

+javaType

+
+protected java.lang.Class javaType
+
+
+
+
+
+ +

+sourceDataType

+
+protected DataType<XMLType> sourceDataType
+
+
+
+
+
+ +

+targetDataType

+
+protected DataType<?> targetDataType
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+JavaPropertyValueObjectFactory.ObjectFactoryImplBase

+
+public JavaPropertyValueObjectFactory.ObjectFactoryImplBase(Property property,
+                                                            java.lang.Object propertyValue,
+                                                            boolean isSimpleType,
+                                                            java.lang.Class javaType)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.html new file mode 100644 index 0000000000..3fccefb364 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/JavaPropertyValueObjectFactory.html @@ -0,0 +1,364 @@ + + + + + + +JavaPropertyValueObjectFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Class JavaPropertyValueObjectFactory

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.injection.JavaPropertyValueObjectFactory
+
+
+
All Implemented Interfaces:
PropertyValueFactory
+
+
+
Direct Known Subclasses:
SpringPropertyValueObjectFactory
+
+
+
+
public class JavaPropertyValueObjectFactory
extends java.lang.Object
implements PropertyValueFactory
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Nested Class Summary
+ classJavaPropertyValueObjectFactory.ArrayObjectFactoryImpl + +
+           
+ classJavaPropertyValueObjectFactory.ListObjectFactoryImpl + +
+           
+ classJavaPropertyValueObjectFactory.ObjectFactoryImpl + +
+           
+ classJavaPropertyValueObjectFactory.ObjectFactoryImplBase + +
+           
+  + + + + + + + + + + +
+Constructor Summary
JavaPropertyValueObjectFactory(Mediator mediator) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ + + + + +
+<B> B
+
createPropertyValue(ComponentProperty property, + java.lang.Class<B> type) + +
+          This method will create an instance of the value for the specified Property.
+ ObjectFactorycreateValueFactory(Property property, + java.lang.Object propertyValue, + java.lang.Class javaType) + +
+           
+ ObjectFactorycreateValueFactory(Property property, + java.lang.Object propertyValue, + JavaElementImpl javaElement) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaPropertyValueObjectFactory

+
+public JavaPropertyValueObjectFactory(Mediator mediator)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createValueFactory

+
+public ObjectFactory createValueFactory(Property property,
+                                        java.lang.Object propertyValue,
+                                        JavaElementImpl javaElement)
+
+
+
+
+
+
+
+
+
+ +

+createValueFactory

+
+public ObjectFactory createValueFactory(Property property,
+                                        java.lang.Object propertyValue,
+                                        java.lang.Class javaType)
+
+
+
+
+
+
+
+
+
+ +

+createPropertyValue

+
+public <B> B createPropertyValue(ComponentProperty property,
+                                 java.lang.Class<B> type)
+
+
This method will create an instance of the value for the specified Property. +

+

+
Specified by:
createPropertyValue in interface PropertyValueFactory
+
+
+
Type Parameters:
B - Type type of the property value being looked up
Parameters:
property - The Property from which to retrieve the property value
type - The type of the property value being retrieved from the Property +
Returns:
the value for the Property
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ListMultiplicityObjectFactory.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ListMultiplicityObjectFactory.html new file mode 100644 index 0000000000..36d5cf1a73 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ListMultiplicityObjectFactory.html @@ -0,0 +1,268 @@ + + + + + + +ListMultiplicityObjectFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Class ListMultiplicityObjectFactory

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.injection.ListMultiplicityObjectFactory
+
+
+
All Implemented Interfaces:
ObjectFactory<java.util.List>
+
+
+
+
public class ListMultiplicityObjectFactory
extends java.lang.Object
implements ObjectFactory<java.util.List>
+ + +

+Resolves targets configured in a multiplicity by delegating to object factories and returning an List + containing object instances +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ListMultiplicityObjectFactory(java.util.List<ObjectFactory<?>> factories) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.util.ListgetInstance() + +
+          Return a instance of the type that this factory creates.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+ListMultiplicityObjectFactory

+
+public ListMultiplicityObjectFactory(java.util.List<ObjectFactory<?>> factories)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public java.util.List getInstance()
+                           throws ObjectCreationException
+
+
Description copied from interface: ObjectFactory
+
Return a instance of the type that this factory creates. +

+

+
Specified by:
getInstance in interface ObjectFactory<java.util.List>
+
+
+ +
Returns:
a instance from this factory +
Throws: +
ObjectCreationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/MethodInjector.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/MethodInjector.html new file mode 100644 index 0000000000..14043b8075 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/MethodInjector.html @@ -0,0 +1,268 @@ + + + + + + +MethodInjector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Class MethodInjector<T>

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.injection.MethodInjector<T>
+
+
+
All Implemented Interfaces:
Injector<T>
+
+
+
+
public class MethodInjector<T>
extends java.lang.Object
implements Injector<T>
+ + +

+Injects a value created by an ObjectFactory using a given method +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
MethodInjector(java.lang.reflect.Method aMethod, + ObjectFactory<?> objectFactory) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidinject(T instance) + +
+          Inject a value on the given instance
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+MethodInjector

+
+public MethodInjector(java.lang.reflect.Method aMethod,
+                      ObjectFactory<?> objectFactory)
+
+
+ + + + + + + + +
+Method Detail
+ +

+inject

+
+public void inject(T instance)
+            throws ObjectCreationException
+
+
Description copied from interface: Injector
+
Inject a value on the given instance +

+

+
Specified by:
inject in interface Injector<T>
+
+
+ +
Throws: +
ObjectCreationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/RequestContextObjectFactory.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/RequestContextObjectFactory.html new file mode 100644 index 0000000000..ab07799aef --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/RequestContextObjectFactory.html @@ -0,0 +1,285 @@ + + + + + + +RequestContextObjectFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Class RequestContextObjectFactory

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.injection.RequestContextObjectFactory
+
+
+
All Implemented Interfaces:
ObjectFactory<org.osoa.sca.RequestContext>
+
+
+
+
public class RequestContextObjectFactory
extends java.lang.Object
implements ObjectFactory<org.osoa.sca.RequestContext>
+ + +

+Creates instances of + RequestContextImpl for + injection on component implementation instances +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
RequestContextObjectFactory(RequestContextFactory factory) + +
+           
RequestContextObjectFactory(RequestContextFactory factory, + ProxyFactory proxyFactory) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ org.osoa.sca.RequestContextgetInstance() + +
+          Return a instance of the type that this factory creates.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+RequestContextObjectFactory

+
+public RequestContextObjectFactory(RequestContextFactory factory)
+
+
+
+ +

+RequestContextObjectFactory

+
+public RequestContextObjectFactory(RequestContextFactory factory,
+                                   ProxyFactory proxyFactory)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public org.osoa.sca.RequestContext getInstance()
+                                        throws ObjectCreationException
+
+
Description copied from interface: ObjectFactory
+
Return a instance of the type that this factory creates. +

+

+
Specified by:
getInstance in interface ObjectFactory<org.osoa.sca.RequestContext>
+
+
+ +
Returns:
a instance from this factory +
Throws: +
ObjectCreationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ResourceHost.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ResourceHost.html new file mode 100644 index 0000000000..f45c345a96 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ResourceHost.html @@ -0,0 +1,254 @@ + + + + + + +ResourceHost + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Interface ResourceHost

+
+
+
public interface ResourceHost
+ + +

+Interface implemented by host environments that allow for resolution of component implementation resources, e.g. + items bound in a JNDI tree. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ + + + + +
+<T> T
+
resolveResource(java.lang.Class<T> type) + +
+          Resolve a resource matching the given type
+ + + + + +
+<T> T
+
resolveResource(java.lang.Class<T> type, + java.lang.String mappedName) + +
+          Resolve a resource matching the given type and name
+  +

+ + + + + + + + +
+Method Detail
+ +

+resolveResource

+
+<T> T resolveResource(java.lang.Class<T> type)
+                  throws ResourceResolutionException
+
+
Resolve a resource matching the given type +

+

+
Parameters:
type - the type of the resources +
Throws: +
ResourceResolutionException - if an error is encountered during resolution
+
+
+
+ +

+resolveResource

+
+<T> T resolveResource(java.lang.Class<T> type,
+                      java.lang.String mappedName)
+                  throws ResourceResolutionException
+
+
Resolve a resource matching the given type and name +

+

+
Parameters:
type - the type of the resources
mappedName - the mapped name of the resource +
Throws: +
ResourceResolutionException - if an error is encountered during resolution
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ResourceNotFoundException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ResourceNotFoundException.html new file mode 100644 index 0000000000..4aada232af --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ResourceNotFoundException.html @@ -0,0 +1,288 @@ + + + + + + +ResourceNotFoundException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Class ResourceNotFoundException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by java.lang.RuntimeException
+              extended by org.apache.tuscany.sca.core.factory.ObjectCreationException
+                  extended by org.apache.tuscany.sca.implementation.java.injection.ResourceNotFoundException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ResourceNotFoundException
extends ObjectCreationException
+ + +

+Denotes an exception thrown when a runtime resource is not found +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
ResourceNotFoundException() + +
+           
ResourceNotFoundException(java.lang.String message) + +
+           
ResourceNotFoundException(java.lang.String message, + java.lang.Throwable cause) + +
+           
ResourceNotFoundException(java.lang.Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+ResourceNotFoundException

+
+public ResourceNotFoundException()
+
+
+
+ +

+ResourceNotFoundException

+
+public ResourceNotFoundException(java.lang.String message,
+                                 java.lang.Throwable cause)
+
+
+
+ +

+ResourceNotFoundException

+
+public ResourceNotFoundException(java.lang.String message)
+
+
+
+ +

+ResourceNotFoundException

+
+public ResourceNotFoundException(java.lang.Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ResourceObjectFactory.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ResourceObjectFactory.html new file mode 100644 index 0000000000..6a60c1c88f --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ResourceObjectFactory.html @@ -0,0 +1,302 @@ + + + + + + +ResourceObjectFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Class ResourceObjectFactory<T>

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.injection.ResourceObjectFactory<T>
+
+
+
All Implemented Interfaces:
ObjectFactory<T>
+
+
+
+
public class ResourceObjectFactory<T>
extends java.lang.Object
implements ObjectFactory<T>
+ + +

+Resolves a runtime resource to be injected on a field or method of a Java component type marked with Resource. If the mapped name of the resource is an absolute URI such as + sca://localhost or jndi://localhost the host container namespace is searched; otherwise the + URI is assumed to be relative and the parent composite is searched. If a mapped name is not provided, i.e. resolution + is by type, the parent composite is first searched followed by the host namespace. +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
ResourceObjectFactory(java.lang.Class<T> type, + boolean optional, + ResourceHost host) + +
+          Instantiates a factory that resolves resources by type
ResourceObjectFactory(java.lang.Class<T> type, + java.lang.String mappedName, + boolean optional, + ResourceHost host) + +
+          Instantiates a factory that resolves resources by mapped name
+  + + + + + + + + + + + +
+Method Summary
+ TgetInstance() + +
+          Return a instance of the type that this factory creates.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+ResourceObjectFactory

+
+public ResourceObjectFactory(java.lang.Class<T> type,
+                             boolean optional,
+                             ResourceHost host)
+
+
Instantiates a factory that resolves resources by type +

+

+
Parameters:
type - the type of the resource to inject
optional - true if an error should be thrown if the resource is not found
host - the runtime resource provider
+
+
+ +

+ResourceObjectFactory

+
+public ResourceObjectFactory(java.lang.Class<T> type,
+                             java.lang.String mappedName,
+                             boolean optional,
+                             ResourceHost host)
+
+
Instantiates a factory that resolves resources by mapped name +

+

+
Parameters:
type - the type of the resource to inject
mappedName - the resource name
optional - true if an error should be thrown if the resource is not found
host - the runtime resource provider
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public T getInstance()
+              throws ObjectCreationException
+
+
Description copied from interface: ObjectFactory
+
Return a instance of the type that this factory creates. +

+

+
Specified by:
getInstance in interface ObjectFactory<T>
+
+
+ +
Returns:
a instance from this factory +
Throws: +
ObjectCreationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ResourceResolutionException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ResourceResolutionException.html new file mode 100644 index 0000000000..f19585e1a1 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/ResourceResolutionException.html @@ -0,0 +1,282 @@ + + + + + + +ResourceResolutionException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.injection +
+Class ResourceResolutionException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.injection.ResourceResolutionException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ResourceResolutionException
extends java.lang.Exception
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
ResourceResolutionException() + +
+           
ResourceResolutionException(java.lang.String message) + +
+           
ResourceResolutionException(java.lang.String message, + java.lang.Throwable cause) + +
+           
ResourceResolutionException(java.lang.Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+ResourceResolutionException

+
+public ResourceResolutionException()
+
+
+
+ +

+ResourceResolutionException

+
+public ResourceResolutionException(java.lang.String message,
+                                   java.lang.Throwable cause)
+
+
+
+ +

+ResourceResolutionException

+
+public ResourceResolutionException(java.lang.String message)
+
+
+
+ +

+ResourceResolutionException

+
+public ResourceResolutionException(java.lang.Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/package-frame.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/package-frame.html new file mode 100644 index 0000000000..0602662659 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/package-frame.html @@ -0,0 +1,78 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.injection + + + + + + + + + + + +org.apache.tuscany.sca.implementation.java.injection + + + + +
+Interfaces  + +
+ContextInjector +
+Injector +
+ResourceHost
+ + + + + + +
+Classes  + +
+ArrayMultiplicityObjectFactory +
+ConversationIDObjectFactory +
+FieldInjector +
+JavaPropertyValueObjectFactory +
+ListMultiplicityObjectFactory +
+MethodInjector +
+RequestContextObjectFactory +
+ResourceObjectFactory
+ + + + + + +
+Exceptions  + +
+InjectionRuntimeException +
+InvalidAccessorException +
+ResourceNotFoundException +
+ResourceResolutionException
+ + + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/package-summary.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/package-summary.html new file mode 100644 index 0000000000..66ac0bb4e8 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/package-summary.html @@ -0,0 +1,236 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.injection + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.apache.tuscany.sca.implementation.java.injection +

+ + + + + + + + + + + + + + + + + +
+Interface Summary
ContextInjector<S,T>Implementations inject a pre-configured context type (interface) on an instance.
Injector<T>Implementations inject a pre-configured value on an instance
ResourceHostInterface implemented by host environments that allow for resolution of component implementation resources, e.g.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
ArrayMultiplicityObjectFactoryResolves targets configured in a multiplicity by delegating to object factories and returning an Array + containing object instances
ConversationIDObjectFactoryObject Factory that is used to retrieve the ConversationID from the + Message on the ThreadMessageContext.
FieldInjector<T>Injects a value created by an ObjectFactory on a given field
JavaPropertyValueObjectFactory 
ListMultiplicityObjectFactoryResolves targets configured in a multiplicity by delegating to object factories and returning an List + containing object instances
MethodInjector<T>Injects a value created by an ObjectFactory using a given method
RequestContextObjectFactoryCreates instances of + RequestContextImpl for + injection on component implementation instances
ResourceObjectFactory<T>Resolves a runtime resource to be injected on a field or method of a Java component type marked with Resource.
+  + +

+ + + + + + + + + + + + + + + + + + + + + +
+Exception Summary
InjectionRuntimeExceptionRoot unchecked exception for the injection package
InvalidAccessorException 
ResourceNotFoundExceptionDenotes an exception thrown when a runtime resource is not found
ResourceResolutionException 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/package-tree.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/package-tree.html new file mode 100644 index 0000000000..894c521235 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/injection/package-tree.html @@ -0,0 +1,180 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.injection Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.apache.tuscany.sca.implementation.java.injection +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/JavaClassVisitor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/JavaClassVisitor.html new file mode 100644 index 0000000000..6803437190 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/JavaClassVisitor.html @@ -0,0 +1,435 @@ + + + + + + +JavaClassVisitor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.introspect +
+Interface JavaClassVisitor

+
+
All Known Implementing Classes:
AbstractPropertyProcessor, AllowsPassByReferenceProcessor, BaseJavaClassVisitor, ComponentNameProcessor, ConstructorProcessor, ContextProcessor, ConversationIDProcessor, ConversationProcessor, DestroyProcessor, EagerInitProcessor, HeuristicPojoProcessor, InitProcessor, JSR250PolicyProcessor, PolicyProcessor, PropertyProcessor, ReferenceProcessor, ResourceProcessor, ScopeProcessor, ServiceProcessor
+
+
+
+
public interface JavaClassVisitor
+ + +

+Implementations process class-level metadata, typically parsing annotations + and updating the corresponding ComponentType. A processor + may, for example, create a Property which is responsible for injecting a + complex type on a component implementation instance when it is instantiated. +

Processors will receive callbacks as the implementation class is walked + while evaluating an assembly. It is the responsibility of the parser to + determine whether to perform an action during the callback. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ + + + + +
+<T> void
+
visitClass(java.lang.Class<T> clazz, + JavaImplementation type) + +
+          A callback received when the component implementation class is first + loaded
+ + + + + +
+<T> void
+
visitConstructor(java.lang.reflect.Constructor<T> constructor, + JavaImplementation type) + +
+          A callback received as the component implementation's constructor used + for instantiation by the runtime is evaluated.
+ voidvisitConstructorParameter(JavaParameterImpl parameter, + JavaImplementation type) + +
+           
+ + + + + +
+<T> void
+
visitEnd(java.lang.Class<T> clazz, + JavaImplementation type) + +
+          The final callback received when all other callbacks during evaluation of + the component implementation have been issued
+ 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
+ + + + + +
+<T> void
+
visitSuperClass(java.lang.Class<T> clazz, + JavaImplementation type) + +
+          A callback received as the component implementation class hierarchy is + evaluated
+  +

+ + + + + + + + +
+Method Detail
+ +

+visitClass

+
+<T> void visitClass(java.lang.Class<T> clazz,
+                    JavaImplementation type)
+                throws IntrospectionException
+
+
A callback received when the component implementation class is first + loaded +

+

+
Parameters:
clazz - the component implementation class
type - the incomplete component type associated with the + implementation class +
Throws: +
IntrospectionException - if an error is encountered while processing + metadata
+
+
+
+ +

+visitSuperClass

+
+<T> void visitSuperClass(java.lang.Class<T> clazz,
+                         JavaImplementation type)
+                     throws IntrospectionException
+
+
A callback received as the component implementation class hierarchy is + evaluated +

+

+
Parameters:
clazz - the superclass in the component implmentation's class + hierarchy
type - the incomplete component type associated with the + implementation class +
Throws: +
IntrospectionException - if an error is encountered while processing + metadata
+
+
+
+ +

+visitMethod

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

+

+
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
+
+
+
+ +

+visitConstructor

+
+<T> void visitConstructor(java.lang.reflect.Constructor<T> constructor,
+                          JavaImplementation type)
+                      throws IntrospectionException
+
+
A callback received as the component implementation's constructor used + for instantiation by the runtime is evaluated. If an implementation + contains more than one constructor, the constructor passed to the + callback will be chosen according to the algorithm described in the SCA + Java Client and Implementation Model Specification. +

+

+
Parameters:
constructor - the constructor used for instantiating component + implementation instances
type - the incomplete component type associated with the + implementation class +
Throws: +
IntrospectionException - if an error is encountered while processing + metadata
+
+
+
+ +

+visitConstructorParameter

+
+void visitConstructorParameter(JavaParameterImpl parameter,
+                               JavaImplementation type)
+                               throws IntrospectionException
+
+
+
Parameters:
parameter -
type - +
Throws: +
IntrospectionException
+
+
+
+ +

+visitField

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

+

+
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
+
+
+
+ +

+visitEnd

+
+<T> void visitEnd(java.lang.Class<T> clazz,
+                  JavaImplementation type)
+              throws IntrospectionException
+
+
The final callback received when all other callbacks during evaluation of + the component implementation have been issued +

+

+
Parameters:
clazz - the component implementation class
type - the incomplete component type associated with the + implementation class +
Throws: +
IntrospectionException - if an error is encountered while processing + metadata
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/AbstractPropertyProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/AbstractPropertyProcessor.html new file mode 100644 index 0000000000..e673e6de25 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/AbstractPropertyProcessor.html @@ -0,0 +1,436 @@ + + + + + + +AbstractPropertyProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.introspect.impl +
+Class AbstractPropertyProcessor<A extends java.lang.annotation.Annotation>

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
+      extended by org.apache.tuscany.sca.implementation.java.introspect.impl.AbstractPropertyProcessor<A>
+
+
+
All Implemented Interfaces:
JavaClassVisitor
+
+
+
Direct Known Subclasses:
PropertyProcessor
+
+
+
+
public abstract class AbstractPropertyProcessor<A extends java.lang.annotation.Annotation>
extends BaseJavaClassVisitor
+ + +

+Base class for ImplementationProcessors that handle annotations that add + Properties. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
assemblyFactory
+  + + + + + + + + + + + +
+Constructor Summary
+protected AbstractPropertyProcessor(AssemblyFactory assemblyFactory, + java.lang.Class<A> annotationClass) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  PropertycreateProperty(java.lang.String name, + JavaElementImpl element) + +
+           
+protected abstract  java.lang.StringgetName(A annotation) + +
+           
+protected abstract  voidinitProperty(Property property, + A annotation) + +
+           
+ 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
+ +

+AbstractPropertyProcessor

+
+protected AbstractPropertyProcessor(AssemblyFactory assemblyFactory,
+                                    java.lang.Class<A> annotationClass)
+
+
+ + + + + + + + +
+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
+
+
+
+ +

+visitConstructorParameter

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

+getName

+
+protected abstract java.lang.String getName(A annotation)
+
+
+
+
+
+
+ +

+initProperty

+
+protected abstract void initProperty(Property property,
+                                     A annotation)
+                              throws IntrospectionException
+
+
+ +
Throws: +
IntrospectionException
+
+
+
+ +

+createProperty

+
+protected Property createProperty(java.lang.String name,
+                                  JavaElementImpl element)
+                           throws IntrospectionException
+
+
+ +
Throws: +
IntrospectionException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/AllowsPassByReferenceProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/AllowsPassByReferenceProcessor.html new file mode 100644 index 0000000000..a6b8829345 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/AllowsPassByReferenceProcessor.html @@ -0,0 +1,341 @@ + + + + + + +AllowsPassByReferenceProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

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

+Processes AllowsPassByReference on an implementation +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
assemblyFactory
+  + + + + + + + + + + +
+Constructor Summary
AllowsPassByReferenceProcessor(AssemblyFactory factory) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ + + + + +
+<T> void
+
visitClass(java.lang.Class<T> clazz, + JavaImplementation type) + +
+          A callback received when the component implementation class is first + loaded
+ 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
visitConstructor, visitConstructorParameter, visitEnd, visitField, visitSuperClass
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+AllowsPassByReferenceProcessor

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

+visitClass

+
+public <T> void visitClass(java.lang.Class<T> clazz,
+                           JavaImplementation type)
+                throws IntrospectionException
+
+
Description copied from interface: JavaClassVisitor
+
A callback received when the component implementation class is first + loaded +

+

+
Specified by:
visitClass in interface JavaClassVisitor
Overrides:
visitClass in class BaseJavaClassVisitor
+
+
+
Parameters:
clazz - the component implementation class
type - the incomplete component type associated with the + implementation class +
Throws: +
IntrospectionException - if an error is encountered while processing + metadata
+
+
+
+ +

+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
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/AmbiguousConstructorException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/AmbiguousConstructorException.html new file mode 100644 index 0000000000..3b2e208d78 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/AmbiguousConstructorException.html @@ -0,0 +1,268 @@ + + + + + + +AmbiguousConstructorException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.AmbiguousConstructorException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class AmbiguousConstructorException
extends IntrospectionException
+ + +

+Thrown when constructor parameters cannot be unambiguously resolved to a property or reference +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
AmbiguousConstructorException(java.lang.String message) + +
+           
AmbiguousConstructorException(java.lang.String message, + java.lang.reflect.Member member) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+AmbiguousConstructorException

+
+public AmbiguousConstructorException(java.lang.String message)
+
+
+
+ +

+AmbiguousConstructorException

+
+public AmbiguousConstructorException(java.lang.String message,
+                                     java.lang.reflect.Member member)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/BaseJavaClassVisitor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/BaseJavaClassVisitor.html new file mode 100644 index 0000000000..924c2224b8 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/BaseJavaClassVisitor.html @@ -0,0 +1,544 @@ + + + + + + +BaseJavaClassVisitor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
+
+
+
All Implemented Interfaces:
JavaClassVisitor
+
+
+
Direct Known Subclasses:
AbstractPropertyProcessor, AllowsPassByReferenceProcessor, ComponentNameProcessor, ConstructorProcessor, ContextProcessor, ConversationIDProcessor, ConversationProcessor, DestroyProcessor, EagerInitProcessor, HeuristicPojoProcessor, InitProcessor, JSR250PolicyProcessor, PolicyProcessor, ReferenceProcessor, ResourceProcessor, ScopeProcessor, ServiceProcessor
+
+
+
+
public abstract class BaseJavaClassVisitor
extends java.lang.Object
implements JavaClassVisitor
+ + +

+A convenience class for annotation processors which alleviates the need to + implement unused callbacks +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+protected  AssemblyFactoryassemblyFactory + +
+           
+  + + + + + + + + + + + +
+Constructor Summary
+protected BaseJavaClassVisitor(AssemblyFactory factory) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ + + + + +
+<T> void
+
visitClass(java.lang.Class<T> clazz, + JavaImplementation type) + +
+          A callback received when the component implementation class is first + loaded
+ + + + + +
+<T> void
+
visitConstructor(java.lang.reflect.Constructor<T> constructor, + JavaImplementation type) + +
+          A callback received as the component implementation's constructor used + for instantiation by the runtime is evaluated.
+ voidvisitConstructorParameter(JavaParameterImpl parameter, + JavaImplementation type) + +
+           
+ + + + + +
+<T> void
+
visitEnd(java.lang.Class<T> clazz, + JavaImplementation type) + +
+          The final callback received when all other callbacks during evaluation of + the component implementation have been issued
+ 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
+ + + + + +
+<T> void
+
visitSuperClass(java.lang.Class<T> clazz, + JavaImplementation type) + +
+          A callback received as the component implementation class hierarchy is + evaluated
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+assemblyFactory

+
+protected AssemblyFactory assemblyFactory
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+BaseJavaClassVisitor

+
+protected BaseJavaClassVisitor(AssemblyFactory factory)
+
+
+ + + + + + + + +
+Method Detail
+ +

+visitClass

+
+public <T> void visitClass(java.lang.Class<T> clazz,
+                           JavaImplementation type)
+                throws IntrospectionException
+
+
Description copied from interface: JavaClassVisitor
+
A callback received when the component implementation class is first + loaded +

+

+
Specified by:
visitClass in interface JavaClassVisitor
+
+
+
Parameters:
clazz - the component implementation class
type - the incomplete component type associated with the + implementation class +
Throws: +
IntrospectionException - if an error is encountered while processing + metadata
+
+
+
+ +

+visitSuperClass

+
+public <T> void visitSuperClass(java.lang.Class<T> clazz,
+                                JavaImplementation type)
+                     throws IntrospectionException
+
+
Description copied from interface: JavaClassVisitor
+
A callback received as the component implementation class hierarchy is + evaluated +

+

+
Specified by:
visitSuperClass in interface JavaClassVisitor
+
+
+
Parameters:
clazz - the superclass in the component implmentation's class + hierarchy
type - the incomplete component type associated with the + implementation class +
Throws: +
IntrospectionException - if an error is encountered while processing + metadata
+
+
+
+ +

+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
+
+
+
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
+
+
+
+ +

+visitConstructor

+
+public <T> void visitConstructor(java.lang.reflect.Constructor<T> constructor,
+                                 JavaImplementation type)
+                      throws IntrospectionException
+
+
Description copied from interface: JavaClassVisitor
+
A callback received as the component implementation's constructor used + for instantiation by the runtime is evaluated. If an implementation + contains more than one constructor, the constructor passed to the + callback will be chosen according to the algorithm described in the SCA + Java Client and Implementation Model Specification. +

+

+
Specified by:
visitConstructor in interface JavaClassVisitor
+
+
+
Parameters:
constructor - the constructor used for instantiating component + implementation instances
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
+
+
+
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
+
+
+
+ +

+visitEnd

+
+public <T> void visitEnd(java.lang.Class<T> clazz,
+                         JavaImplementation type)
+              throws IntrospectionException
+
+
Description copied from interface: JavaClassVisitor
+
The final callback received when all other callbacks during evaluation of + the component implementation have been issued +

+

+
Specified by:
visitEnd in interface JavaClassVisitor
+
+
+
Parameters:
clazz - the component implementation class
type - the incomplete component type associated with the + implementation class +
Throws: +
IntrospectionException - if an error is encountered while processing + metadata
+
+
+
+ +

+visitConstructorParameter

+
+public void visitConstructorParameter(JavaParameterImpl parameter,
+                                      JavaImplementation type)
+                               throws IntrospectionException
+
+
+
Specified by:
visitConstructorParameter in interface JavaClassVisitor
+
+
+ +
Throws: +
IntrospectionException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ComponentNameProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ComponentNameProcessor.html new file mode 100644 index 0000000000..be2fc224af --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ComponentNameProcessor.html @@ -0,0 +1,336 @@ + + + + + + +ComponentNameProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

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

+Processes @ComponentName annotations on a component implementation and adds + a JavaMappedProperty to the component type which will be used to + inject the appropriate component name. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
assemblyFactory
+  + + + + + + + + + + +
+Constructor Summary
ComponentNameProcessor(AssemblyFactory factory) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ 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, visitConstructorParameter, visitEnd, visitSuperClass
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+ComponentNameProcessor

+
+public ComponentNameProcessor(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
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorProcessor.html new file mode 100644 index 0000000000..98e3dd84c1 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorProcessor.html @@ -0,0 +1,353 @@ + + + + + + +ConstructorProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

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

+Handles processing of a constructor decorated with + Constructor +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
assemblyFactory
+  + + + + + + + + + + +
+Constructor Summary
ConstructorProcessor(AssemblyFactory factory) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ + + + + +
+<T> void
+
visitClass(java.lang.Class<T> clazz, + JavaImplementation type) + +
+          A callback received when the component implementation class is first + loaded
+ + + + + +
+<T> void
+
visitConstructor(java.lang.reflect.Constructor<T> constructor, + JavaImplementation type) + +
+          A callback received as the component implementation's constructor used + for instantiation by the runtime is evaluated.
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
visitConstructorParameter, visitEnd, visitField, visitMethod, visitSuperClass
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+ConstructorProcessor

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

+visitClass

+
+public <T> void visitClass(java.lang.Class<T> clazz,
+                           JavaImplementation type)
+                throws IntrospectionException
+
+
Description copied from interface: JavaClassVisitor
+
A callback received when the component implementation class is first + loaded +

+

+
Specified by:
visitClass in interface JavaClassVisitor
Overrides:
visitClass in class BaseJavaClassVisitor
+
+
+
Parameters:
clazz - the component implementation class
type - the incomplete component type associated with the + implementation class +
Throws: +
IntrospectionException - if an error is encountered while processing + metadata
+
+
+
+ +

+visitConstructor

+
+public <T> void visitConstructor(java.lang.reflect.Constructor<T> constructor,
+                                 JavaImplementation type)
+                      throws IntrospectionException
+
+
Description copied from interface: JavaClassVisitor
+
A callback received as the component implementation's constructor used + for instantiation by the runtime is evaluated. If an implementation + contains more than one constructor, the constructor passed to the + callback will be chosen according to the algorithm described in the SCA + Java Client and Implementation Model Specification. +

+

+
Specified by:
visitConstructor in interface JavaClassVisitor
Overrides:
visitConstructor in class BaseJavaClassVisitor
+
+
+
Parameters:
constructor - the constructor used for instantiating component + implementation instances
type - the incomplete component type associated with the + implementation class +
Throws: +
IntrospectionException - if an error is encountered while processing + metadata
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ContextProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ContextProcessor.html new file mode 100644 index 0000000000..b437d18a1a --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ContextProcessor.html @@ -0,0 +1,336 @@ + + + + + + +ContextProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

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

+Processes @Context annotations on a component implementation and adds + a JavaMappedProperty to the component type which will be used to + inject the appropriate context +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
assemblyFactory
+  + + + + + + + + + + +
+Constructor Summary
ContextProcessor(AssemblyFactory factory) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ 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, visitConstructorParameter, visitEnd, visitSuperClass
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+ContextProcessor

+
+public ContextProcessor(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
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ConversationIDProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ConversationIDProcessor.html new file mode 100644 index 0000000000..d20b96ff21 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ConversationIDProcessor.html @@ -0,0 +1,336 @@ + + + + + + +ConversationIDProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

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

+Processes @ConversationID annotations on a component implementation and adds + a JavaMappedProperty to the component type which will be used to + inject the appropriate conversationId +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
assemblyFactory
+  + + + + + + + + + + +
+Constructor Summary
ConversationIDProcessor(AssemblyFactory factory) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ 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, visitConstructorParameter, visitEnd, visitSuperClass
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+ConversationIDProcessor

+
+public ConversationIDProcessor(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
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ConversationProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ConversationProcessor.html new file mode 100644 index 0000000000..8c065952ce --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ConversationProcessor.html @@ -0,0 +1,393 @@ + + + + + + +ConversationProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

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

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
assemblyFactory
+  + + + + + + + + + + +
+Constructor Summary
ConversationProcessor(AssemblyFactory factory) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  longconvertTimeMillis(java.lang.String expr) + +
+           
+ + + + + +
+<T> void
+
visitClass(java.lang.Class<T> clazz, + JavaImplementation type) + +
+          A callback received when the component implementation class is first + loaded
+ 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
visitConstructor, visitConstructorParameter, visitEnd, visitSuperClass
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+ConversationProcessor

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

+visitClass

+
+public <T> void visitClass(java.lang.Class<T> clazz,
+                           JavaImplementation type)
+                throws IntrospectionException
+
+
Description copied from interface: JavaClassVisitor
+
A callback received when the component implementation class is first + loaded +

+

+
Specified by:
visitClass in interface JavaClassVisitor
Overrides:
visitClass in class BaseJavaClassVisitor
+
+
+
Parameters:
clazz - the component implementation class
type - the incomplete component type associated with the + implementation class +
Throws: +
IntrospectionException - if an error is encountered while processing + metadata
+
+
+
+ +

+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
+
+
+
+ +

+convertTimeMillis

+
+protected long convertTimeMillis(java.lang.String expr)
+                          throws java.lang.NumberFormatException
+
+
+ +
Throws: +
java.lang.NumberFormatException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DestroyProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DestroyProcessor.html new file mode 100644 index 0000000000..269b4640d2 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DestroyProcessor.html @@ -0,0 +1,301 @@ + + + + + + +DestroyProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

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

+Processes the @Destroy annotation on a component implementation and + updates the component type with the decorated destructor method +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
assemblyFactory
+  + + + + + + + + + + +
+Constructor Summary
DestroyProcessor(AssemblyFactory factory) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ 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, visitConstructorParameter, visitEnd, visitField, visitSuperClass
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+DestroyProcessor

+
+public DestroyProcessor(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
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateConstructorException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateConstructorException.html new file mode 100644 index 0000000000..d1235091ea --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateConstructorException.html @@ -0,0 +1,268 @@ + + + + + + +DuplicateConstructorException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.DuplicateConstructorException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class DuplicateConstructorException
extends IntrospectionException
+ + +

+Thrown when more than one component implementation constructor is annotated with Constructor +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
DuplicateConstructorException(java.lang.String message) + +
+           
DuplicateConstructorException(java.lang.String message, + java.lang.reflect.Member member) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+DuplicateConstructorException

+
+public DuplicateConstructorException(java.lang.String message)
+
+
+
+ +

+DuplicateConstructorException

+
+public DuplicateConstructorException(java.lang.String message,
+                                     java.lang.reflect.Member member)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateDestructorException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateDestructorException.html new file mode 100644 index 0000000000..917f595c10 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateDestructorException.html @@ -0,0 +1,252 @@ + + + + + + +DuplicateDestructorException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.DuplicateDestructorException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class DuplicateDestructorException
extends IntrospectionException
+ + +

+Thrown when an implementation is annotated multiple times with Destroy +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DuplicateDestructorException(java.lang.String message) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+DuplicateDestructorException

+
+public DuplicateDestructorException(java.lang.String message)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateInitException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateInitException.html new file mode 100644 index 0000000000..4754fb66c1 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateInitException.html @@ -0,0 +1,252 @@ + + + + + + +DuplicateInitException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.DuplicateInitException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class DuplicateInitException
extends IntrospectionException
+ + +

+Thrown when an implementation is annotated multiple times with @org.osoa.sca.annotations.Init +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DuplicateInitException(java.lang.String message) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+DuplicateInitException

+
+public DuplicateInitException(java.lang.String message)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicatePropertyException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicatePropertyException.html new file mode 100644 index 0000000000..d92c5ea786 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicatePropertyException.html @@ -0,0 +1,252 @@ + + + + + + +DuplicatePropertyException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.DuplicatePropertyException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class DuplicatePropertyException
extends IntrospectionException
+ + +

+Thrown when an implementation has more than one property injection site with the same name +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DuplicatePropertyException(java.lang.String message) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+DuplicatePropertyException

+
+public DuplicatePropertyException(java.lang.String message)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateReferenceException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateReferenceException.html new file mode 100644 index 0000000000..1fbfbcb0d6 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateReferenceException.html @@ -0,0 +1,252 @@ + + + + + + +DuplicateReferenceException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.DuplicateReferenceException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class DuplicateReferenceException
extends IntrospectionException
+ + +

+Thrown when an implementation has more than one reference injection site with the same name +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DuplicateReferenceException(java.lang.String message) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+DuplicateReferenceException

+
+public DuplicateReferenceException(java.lang.String message)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateResourceException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateResourceException.html new file mode 100644 index 0000000000..c1a08520a2 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/DuplicateResourceException.html @@ -0,0 +1,252 @@ + + + + + + +DuplicateResourceException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.DuplicateResourceException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class DuplicateResourceException
extends IntrospectionException
+ + +

+Thrown when an implementation has more than one resource injection site with the same name +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DuplicateResourceException(java.lang.String message) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+DuplicateResourceException

+
+public DuplicateResourceException(java.lang.String message)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/EagerInitProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/EagerInitProcessor.html new file mode 100644 index 0000000000..2c0f7e4a07 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/EagerInitProcessor.html @@ -0,0 +1,307 @@ + + + + + + +EagerInitProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

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

+Handles processing of EagerInit +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
assemblyFactory
+  + + + + + + + + + + +
+Constructor Summary
EagerInitProcessor(AssemblyFactory factory) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ + + + + +
+<T> void
+
visitClass(java.lang.Class<T> clazz, + JavaImplementation type) + +
+          A callback received when the component implementation class is first + loaded
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
visitConstructor, visitConstructorParameter, visitEnd, visitField, visitMethod, visitSuperClass
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+EagerInitProcessor

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

+visitClass

+
+public <T> void visitClass(java.lang.Class<T> clazz,
+                           JavaImplementation type)
+                throws IntrospectionException
+
+
Description copied from interface: JavaClassVisitor
+
A callback received when the component implementation class is first + loaded +

+

+
Specified by:
visitClass in interface JavaClassVisitor
Overrides:
visitClass in class BaseJavaClassVisitor
+
+
+
Parameters:
clazz - the component implementation class
type - the incomplete component type associated with the + implementation class +
Throws: +
IntrospectionException - if an error is encountered while processing + metadata
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessor.html new file mode 100644 index 0000000000..f0cad5e109 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessor.html @@ -0,0 +1,424 @@ + + + + + + +HeuristicPojoProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

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

+Heuristically evaluates an un-annotated Java implementation type to determine + services, references, and properties according to the algorithm described in + the SCA Java Client and Implementation Model Specification

TODO + Implement:

When no service interface is annotated, need to calculate a + single service comprising all public methods that are not reference or + property injection sites. If that service can be exactly mapped to an + interface implemented by the class then the service interface will be defined + in terms of that interface. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
assemblyFactory
+  + + + + + + + + + + +
+Constructor Summary
HeuristicPojoProcessor(AssemblyFactory assemblyFactory, + JavaInterfaceFactory javaFactory) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanareUnique(JavaParameterImpl[] parameters) + +
+           
+ ReferencecreateReference(java.lang.String name, + java.lang.Class<?> paramType) + +
+           
+ ServicecreateService(java.lang.Class<?> interfaze) + +
+           
+ booleaninjectionAnnotationsPresent(java.lang.annotation.Annotation[][] annots) + +
+           
+ voidprocessCallback(java.lang.Class<?> interfaze, + Contract contract) + +
+           
+ + + + + +
+<T> void
+
visitEnd(java.lang.Class<T> clazz, + JavaImplementation type) + +
+          The final callback received when all other callbacks during evaluation of + the component implementation have been issued
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
visitClass, visitConstructor, visitConstructorParameter, visitField, visitMethod, visitSuperClass
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+HeuristicPojoProcessor

+
+public HeuristicPojoProcessor(AssemblyFactory assemblyFactory,
+                              JavaInterfaceFactory javaFactory)
+
+
+ + + + + + + + +
+Method Detail
+ +

+visitEnd

+
+public <T> void visitEnd(java.lang.Class<T> clazz,
+                         JavaImplementation type)
+              throws IntrospectionException
+
+
Description copied from interface: JavaClassVisitor
+
The final callback received when all other callbacks during evaluation of + the component implementation have been issued +

+

+
Specified by:
visitEnd in interface JavaClassVisitor
Overrides:
visitEnd in class BaseJavaClassVisitor
+
+
+
Parameters:
clazz - the component implementation class
type - the incomplete component type associated with the + implementation class +
Throws: +
IntrospectionException - if an error is encountered while processing + metadata
+
+
+
+ +

+areUnique

+
+public boolean areUnique(JavaParameterImpl[] parameters)
+
+
+
+
+
+
+ +

+createReference

+
+public Reference createReference(java.lang.String name,
+                                 java.lang.Class<?> paramType)
+                          throws IntrospectionException
+
+
+ +
Throws: +
IntrospectionException
+
+
+
+ +

+createService

+
+public Service createService(java.lang.Class<?> interfaze)
+                      throws InvalidInterfaceException
+
+
+ +
Throws: +
InvalidInterfaceException
+
+
+
+ +

+processCallback

+
+public void processCallback(java.lang.Class<?> interfaze,
+                            Contract contract)
+                     throws InvalidServiceType
+
+
+ +
Throws: +
InvalidServiceType
+
+
+
+ +

+injectionAnnotationsPresent

+
+public boolean injectionAnnotationsPresent(java.lang.annotation.Annotation[][] annots)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalCallbackReferenceException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalCallbackReferenceException.html new file mode 100644 index 0000000000..a752f9fa20 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalCallbackReferenceException.html @@ -0,0 +1,268 @@ + + + + + + +IllegalCallbackReferenceException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.IllegalCallbackReferenceException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class IllegalCallbackReferenceException
extends IntrospectionException
+ + +

+Denotes an illegal use of Callback on a reference +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
IllegalCallbackReferenceException(java.lang.String message) + +
+           
IllegalCallbackReferenceException(java.lang.String message, + java.lang.reflect.Member member) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+IllegalCallbackReferenceException

+
+public IllegalCallbackReferenceException(java.lang.String message)
+
+
+
+ +

+IllegalCallbackReferenceException

+
+public IllegalCallbackReferenceException(java.lang.String message,
+                                         java.lang.reflect.Member member)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalContextException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalContextException.html new file mode 100644 index 0000000000..c12b9bc1bb --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalContextException.html @@ -0,0 +1,271 @@ + + + + + + +IllegalContextException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.IllegalContextException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
Direct Known Subclasses:
UnknownContextTypeException
+
+
+
+
public class IllegalContextException
extends IntrospectionException
+ + +

+Denotes an illegal signature for a method decorated with Context +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
IllegalContextException(java.lang.String message) + +
+           
IllegalContextException(java.lang.String message, + java.lang.reflect.Member member) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+IllegalContextException

+
+public IllegalContextException(java.lang.String message)
+
+
+
+ +

+IllegalContextException

+
+public IllegalContextException(java.lang.String message,
+                               java.lang.reflect.Member member)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalDestructorException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalDestructorException.html new file mode 100644 index 0000000000..1a4a3e2c67 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalDestructorException.html @@ -0,0 +1,268 @@ + + + + + + +IllegalDestructorException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.IllegalDestructorException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class IllegalDestructorException
extends IntrospectionException
+ + +

+Denotes an illegal signature for a method decorated with Destroy +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
IllegalDestructorException(java.lang.String message) + +
+           
IllegalDestructorException(java.lang.String message, + java.lang.reflect.Member member) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+IllegalDestructorException

+
+public IllegalDestructorException(java.lang.String message)
+
+
+
+ +

+IllegalDestructorException

+
+public IllegalDestructorException(java.lang.String message,
+                                  java.lang.reflect.Member member)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalInitException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalInitException.html new file mode 100644 index 0000000000..d1b26439d4 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalInitException.html @@ -0,0 +1,268 @@ + + + + + + +IllegalInitException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.IllegalInitException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class IllegalInitException
extends IntrospectionException
+ + +

+Denotes an illegal signature for a method decorated with @org.osoa.sca.annotations.Init +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
IllegalInitException(java.lang.String message) + +
+           
IllegalInitException(java.lang.String message, + java.lang.reflect.Member member) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+IllegalInitException

+
+public IllegalInitException(java.lang.String message)
+
+
+
+ +

+IllegalInitException

+
+public IllegalInitException(java.lang.String message,
+                            java.lang.reflect.Member member)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalPropertyException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalPropertyException.html new file mode 100644 index 0000000000..dae6f5981e --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalPropertyException.html @@ -0,0 +1,268 @@ + + + + + + +IllegalPropertyException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.IllegalPropertyException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class IllegalPropertyException
extends IntrospectionException
+ + +

+Denotes an illegal property definition in a component type +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
IllegalPropertyException(java.lang.String message) + +
+           
IllegalPropertyException(java.lang.String message, + java.lang.reflect.Member member) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+IllegalPropertyException

+
+public IllegalPropertyException(java.lang.String message)
+
+
+
+ +

+IllegalPropertyException

+
+public IllegalPropertyException(java.lang.String message,
+                                java.lang.reflect.Member member)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalReferenceException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalReferenceException.html new file mode 100644 index 0000000000..25988d4b17 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalReferenceException.html @@ -0,0 +1,268 @@ + + + + + + +IllegalReferenceException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.IllegalReferenceException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class IllegalReferenceException
extends IntrospectionException
+ + +

+Denotes an illegal reference definition in a component type +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
IllegalReferenceException(java.lang.String message) + +
+           
IllegalReferenceException(java.lang.String message, + java.lang.reflect.Member member) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+IllegalReferenceException

+
+public IllegalReferenceException(java.lang.String message)
+
+
+
+ +

+IllegalReferenceException

+
+public IllegalReferenceException(java.lang.String message,
+                                 java.lang.reflect.Member member)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalResourceException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalResourceException.html new file mode 100644 index 0000000000..1da1bbded1 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalResourceException.html @@ -0,0 +1,268 @@ + + + + + + +IllegalResourceException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.IllegalResourceException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class IllegalResourceException
extends IntrospectionException
+ + +

+Denotes an illegal resource definition in a component type +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
IllegalResourceException(java.lang.String message) + +
+           
IllegalResourceException(java.lang.String message, + java.lang.reflect.Member member) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+IllegalResourceException

+
+public IllegalResourceException(java.lang.String message)
+
+
+
+ +

+IllegalResourceException

+
+public IllegalResourceException(java.lang.String message,
+                                java.lang.reflect.Member member)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalServiceDefinitionException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalServiceDefinitionException.html new file mode 100644 index 0000000000..e6d6a1cf13 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalServiceDefinitionException.html @@ -0,0 +1,252 @@ + + + + + + +IllegalServiceDefinitionException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.IllegalServiceDefinitionException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class IllegalServiceDefinitionException
extends IntrospectionException
+ + +

+Denotes an illegal use of the @org.osoa.sca.annotations.Service annotation +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
IllegalServiceDefinitionException(java.lang.String message) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+IllegalServiceDefinitionException

+
+public IllegalServiceDefinitionException(java.lang.String message)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InitProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InitProcessor.html new file mode 100644 index 0000000000..cd17c5ef67 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InitProcessor.html @@ -0,0 +1,301 @@ + + + + + + +InitProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

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

+Processes the @Init annotation on a component implementation and + updates the component type with the decorated initializer method +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
assemblyFactory
+  + + + + + + + + + + +
+Constructor Summary
InitProcessor(AssemblyFactory factory) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ 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, visitConstructorParameter, visitEnd, visitField, visitSuperClass
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+InitProcessor

+
+public InitProcessor(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
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidConstructorException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidConstructorException.html new file mode 100644 index 0000000000..01040ac25f --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidConstructorException.html @@ -0,0 +1,252 @@ + + + + + + +InvalidConstructorException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.InvalidConstructorException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class InvalidConstructorException
extends IntrospectionException
+ + +

+Denotes an invalid constructor definition, e.g. when the number of injection names specified in Constructor do not match the number of actual constructor parameters +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
InvalidConstructorException(java.lang.String message) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+InvalidConstructorException

+
+public InvalidConstructorException(java.lang.String message)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidConversationalImplementation.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidConversationalImplementation.html new file mode 100644 index 0000000000..f328c1f0a2 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidConversationalImplementation.html @@ -0,0 +1,268 @@ + + + + + + +InvalidConversationalImplementation + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.InvalidConversationalImplementation
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class InvalidConversationalImplementation
extends IntrospectionException
+ + +

+Raised when an implementation specifies improper conversational metadata +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
InvalidConversationalImplementation(java.lang.String message) + +
+           
InvalidConversationalImplementation(java.lang.String message, + java.lang.Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+InvalidConversationalImplementation

+
+public InvalidConversationalImplementation(java.lang.String message)
+
+
+
+ +

+InvalidConversationalImplementation

+
+public InvalidConversationalImplementation(java.lang.String message,
+                                           java.lang.Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidPropertyException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidPropertyException.html new file mode 100644 index 0000000000..f1351bc59f --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidPropertyException.html @@ -0,0 +1,252 @@ + + + + + + +InvalidPropertyException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.InvalidPropertyException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class InvalidPropertyException
extends IntrospectionException
+ + +

+Denotes an invalid usage of Property +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
InvalidPropertyException(java.lang.String message) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+InvalidPropertyException

+
+public InvalidPropertyException(java.lang.String message)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidReferenceException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidReferenceException.html new file mode 100644 index 0000000000..1c85c12b81 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidReferenceException.html @@ -0,0 +1,282 @@ + + + + + + +InvalidReferenceException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.InvalidReferenceException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class InvalidReferenceException
extends IntrospectionException
+ + +

+Denotes an invalid usage of Reference +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
InvalidReferenceException(java.lang.String message) + +
+           
InvalidReferenceException(java.lang.String message, + java.lang.Throwable cause) + +
+           
InvalidReferenceException(java.lang.Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+InvalidReferenceException

+
+public InvalidReferenceException(java.lang.String message)
+
+
+
+ +

+InvalidReferenceException

+
+public InvalidReferenceException(java.lang.String message,
+                                 java.lang.Throwable cause)
+
+
+
+ +

+InvalidReferenceException

+
+public InvalidReferenceException(java.lang.Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidResourceException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidResourceException.html new file mode 100644 index 0000000000..a46841b6e9 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidResourceException.html @@ -0,0 +1,268 @@ + + + + + + +InvalidResourceException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.InvalidResourceException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class InvalidResourceException
extends IntrospectionException
+ + +

+Denotes an invalid usage of @org.apache.tuscany.api.annotation.Resource +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
InvalidResourceException(java.lang.String message) + +
+           
InvalidResourceException(java.lang.String message, + java.lang.reflect.Member member) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+InvalidResourceException

+
+public InvalidResourceException(java.lang.String message)
+
+
+
+ +

+InvalidResourceException

+
+public InvalidResourceException(java.lang.String message,
+                                java.lang.reflect.Member member)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidServiceType.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidServiceType.html new file mode 100644 index 0000000000..f4e7455a97 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/InvalidServiceType.html @@ -0,0 +1,298 @@ + + + + + + +InvalidServiceType + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.InvalidServiceType
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class InvalidServiceType
extends IntrospectionException
+ + +

+Thrown when a service type specified by an Service annotation is invalid, e.g. it is + not an interface +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
InvalidServiceType(java.lang.String message) + +
+           
InvalidServiceType(java.lang.String message, + java.lang.Class<?> clazz) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.Class<?>getServiceType() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+InvalidServiceType

+
+public InvalidServiceType(java.lang.String message)
+
+
+
+ +

+InvalidServiceType

+
+public InvalidServiceType(java.lang.String message,
+                          java.lang.Class<?> clazz)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getServiceType

+
+public java.lang.Class<?> getServiceType()
+
+
+ +
Returns:
the serviceType
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/JSR250PolicyProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/JSR250PolicyProcessor.html new file mode 100644 index 0000000000..b3792da333 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/JSR250PolicyProcessor.html @@ -0,0 +1,350 @@ + + + + + + +JSR250PolicyProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

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

+Processes an javax.annotation.security.* annotation + Below is a list of annotations + + Type Method + RunAs x + RolesAllowed x x + PermitAll x x + DenyAll x +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
assemblyFactory
+  + + + + + + + + + + +
+Constructor Summary
JSR250PolicyProcessor(AssemblyFactory assemblyFactory, + PolicyFactory policyFactory) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ + + + + +
+<T> void
+
visitClass(java.lang.Class<T> clazz, + JavaImplementation type) + +
+          A callback received when the component implementation class is first + loaded
+ 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
visitConstructor, visitConstructorParameter, visitEnd, visitField, visitSuperClass
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JSR250PolicyProcessor

+
+public JSR250PolicyProcessor(AssemblyFactory assemblyFactory,
+                             PolicyFactory policyFactory)
+
+
+ + + + + + + + +
+Method Detail
+ +

+visitClass

+
+public <T> void visitClass(java.lang.Class<T> clazz,
+                           JavaImplementation type)
+                throws IntrospectionException
+
+
Description copied from interface: JavaClassVisitor
+
A callback received when the component implementation class is first + loaded +

+

+
Specified by:
visitClass in interface JavaClassVisitor
Overrides:
visitClass in class BaseJavaClassVisitor
+
+
+
Parameters:
clazz - the component implementation class
type - the incomplete component type associated with the + implementation class +
Throws: +
IntrospectionException - if an error is encountered while processing + metadata
+
+
+
+ +

+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
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/JavaIntrospectionHelper.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/JavaIntrospectionHelper.html new file mode 100644 index 0000000000..cd2bcf9fb9 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/JavaIntrospectionHelper.html @@ -0,0 +1,757 @@ + + + + + + +JavaIntrospectionHelper + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.introspect.impl.JavaIntrospectionHelper
+
+
+
+
public final class JavaIntrospectionHelper
extends java.lang.Object
+ + +

+Implements various reflection-related operations +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static booleanexactMethodMatch(java.lang.reflect.Method method1, + java.lang.reflect.Method method2) + +
+          Determines if two methods "match" - that is, they have the same method + names and exact parameter types (one is not a supertype of the other)
+static java.lang.reflect.FieldfindClosestMatchingField(java.lang.String name, + java.lang.Class type, + java.util.Set<java.lang.reflect.Field> fields) + +
+          Finds the closest matching field with the given name, that is, a field of + the exact specified type or, alternately, of a supertype.
+static java.lang.reflect.MethodfindClosestMatchingMethod(java.lang.String name, + java.lang.Class[] types, + java.util.Set<java.lang.reflect.Method> methods) + +
+          Finds the closest matching method with the given name, that is, a method + taking the exact parameter types or, alternately, parameter supertypes.
+static java.util.Set<java.lang.Class>getAllInterfaces(java.lang.Class clazz) + +
+          Returns the set of interfaces implemented by the given class and its + ancestors or a blank set if none
+static java.util.Set<java.lang.reflect.Field>getAllPublicAndProtectedFields(java.lang.Class clazz, + boolean validating) + +
+          Returns a collection of public, and protected fields declared by a class + or one of its supertypes
+static java.util.Set<java.lang.reflect.Method>getAllUniquePublicProtectedMethods(java.lang.Class clazz, + boolean validating) + +
+          Returns a collection of public and protected methods declared by a class + or one of its supertypes.
+static java.lang.Class<?>getArrayType(java.lang.Class<?> componentType, + int dims) + +
+           
+static java.lang.StringgetBaseName(java.lang.Class<?> implClass) + +
+          Returns the simple name of a class - i.e.
+static java.lang.Class<?>getBaseType(java.lang.Class<?> cls, + java.lang.reflect.Type genericType) + +
+           
+static java.lang.Class<?>getBusinessInterface(java.lang.Class<?> cls, + java.lang.reflect.Type callableReferenceType) + +
+           
+static + + + + +
+<T> java.lang.reflect.Constructor<T>
+
getDefaultConstructor(java.lang.Class<T> clazz) + +
+           
+static java.lang.Class<?>getErasure(java.lang.reflect.Type type) + +
+           
+static java.util.List<? extends java.lang.reflect.Type>getGenerics(java.lang.reflect.Type genericType) + +
+          Returns the generic types represented in the given type.
+static java.lang.reflect.TypegetParameterType(java.lang.reflect.Type type) + +
+           
+static java.util.Set<java.lang.reflect.Field>getPrivateFields(java.lang.Class clazz) + +
+           
+static java.util.Set<java.lang.reflect.Method>getPrivateMethods(java.lang.Class clazz) + +
+           
+static java.lang.StringgetSignature(java.lang.Class<?> cls) + +
+           
+static java.lang.ClassintrospectGeneric(java.lang.Class<?> clazz, + int pos) + +
+          Returns the generic type specified by the class at the given position as + in:

public class Foo{ //..

+static booleanisGetter(java.lang.reflect.Method method) + +
+           
+static booleanisImmutable(java.lang.Class clazz) + +
+           
+static booleanisSetter(java.lang.reflect.Method method) + +
+           
+static java.lang.StringtoGetter(java.lang.String name) + +
+          Takes a property name and converts it to a getter method name according + to JavaBean conventions.
+static java.lang.StringtoPropertyName(java.lang.String name) + +
+          Takes a setter or getter method name and converts it to a property name + according to JavaBean conventions.
+static java.lang.StringtoSetter(java.lang.String name) + +
+          Takes a property name and converts it to a setter method name according + to JavaBean conventions.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getAllPublicAndProtectedFields

+
+public static java.util.Set<java.lang.reflect.Field> getAllPublicAndProtectedFields(java.lang.Class clazz,
+                                                                                    boolean validating)
+
+
Returns a collection of public, and protected fields declared by a class + or one of its supertypes +

+

+
+
+
+
+ +

+getAllUniquePublicProtectedMethods

+
+public static java.util.Set<java.lang.reflect.Method> getAllUniquePublicProtectedMethods(java.lang.Class clazz,
+                                                                                         boolean validating)
+
+
Returns a collection of public and protected methods declared by a class + or one of its supertypes. Note that overridden methods will not be + returned in the collection (i.e. only the method override will be).

+ This method can potentially be expensive as reflection information is not + cached. It is assumed that this method will be used during a + configuration phase. +

+

+
+
+
+
+ +

+findClosestMatchingField

+
+public static java.lang.reflect.Field findClosestMatchingField(java.lang.String name,
+                                                               java.lang.Class type,
+                                                               java.util.Set<java.lang.reflect.Field> fields)
+
+
Finds the closest matching field with the given name, that is, a field of + the exact specified type or, alternately, of a supertype. +

+

+
Parameters:
name - the name of the field
type - the field type
fields - the collection of fields to search +
Returns:
the matching field or null if not found
+
+
+
+ +

+findClosestMatchingMethod

+
+public static java.lang.reflect.Method findClosestMatchingMethod(java.lang.String name,
+                                                                 java.lang.Class[] types,
+                                                                 java.util.Set<java.lang.reflect.Method> methods)
+
+
Finds the closest matching method with the given name, that is, a method + taking the exact parameter types or, alternately, parameter supertypes. +

+

+
Parameters:
name - the name of the method
types - the method parameter types
methods - the collection of methods to search +
Returns:
the matching method or null if not found
+
+
+
+ +

+exactMethodMatch

+
+public static boolean exactMethodMatch(java.lang.reflect.Method method1,
+                                       java.lang.reflect.Method method2)
+
+
Determines if two methods "match" - that is, they have the same method + names and exact parameter types (one is not a supertype of the other) +

+

+
+
+
+
+ +

+getDefaultConstructor

+
+public static <T> java.lang.reflect.Constructor<T> getDefaultConstructor(java.lang.Class<T> clazz)
+                                                              throws java.lang.NoSuchMethodException
+
+
+ +
Throws: +
java.lang.NoSuchMethodException
+
+
+
+ +

+getBaseName

+
+public static java.lang.String getBaseName(java.lang.Class<?> implClass)
+
+
Returns the simple name of a class - i.e. the class name devoid of its + package qualifier +

+

+
Parameters:
implClass - the implementation class
+
+
+
+ +

+isImmutable

+
+public static boolean isImmutable(java.lang.Class clazz)
+
+
+
+
+
+
+ +

+toGetter

+
+public static java.lang.String toGetter(java.lang.String name)
+
+
Takes a property name and converts it to a getter method name according + to JavaBean conventions. For example, property + foo is returned as getFoo +

+

+
+
+
+
+ +

+toPropertyName

+
+public static java.lang.String toPropertyName(java.lang.String name)
+
+
Takes a setter or getter method name and converts it to a property name + according to JavaBean conventions. For example, setFoo(var) + is returned as property foo +

+

+
+
+
+
+ +

+getErasure

+
+public static java.lang.Class<?> getErasure(java.lang.reflect.Type type)
+
+
+
+
+
+
+ +

+getBaseType

+
+public static java.lang.Class<?> getBaseType(java.lang.Class<?> cls,
+                                             java.lang.reflect.Type genericType)
+
+
+
+
+
+
+ +

+getParameterType

+
+public static java.lang.reflect.Type getParameterType(java.lang.reflect.Type type)
+
+
+
+
+
+
+ +

+getBusinessInterface

+
+public static java.lang.Class<?> getBusinessInterface(java.lang.Class<?> cls,
+                                                      java.lang.reflect.Type callableReferenceType)
+
+
+
+
+
+
+ +

+toSetter

+
+public static java.lang.String toSetter(java.lang.String name)
+
+
Takes a property name and converts it to a setter method name according + to JavaBean conventions. For example, the property + foo is returned as setFoo(var) +

+

+
+
+
+
+ +

+getGenerics

+
+public static java.util.List<? extends java.lang.reflect.Type> getGenerics(java.lang.reflect.Type genericType)
+
+
Returns the generic types represented in the given type. Usage as + follows: + JavaIntrospectionHelper.getGenerics(field.getGenericType()); +

+ JavaIntrospectionHelper.getGenerics(m.getGenericParameterTypes()[0];); +

+

+ +
Returns:
the generic types in order of declaration or an empty array if + the type is not genericized
+
+
+
+ +

+introspectGeneric

+
+public static java.lang.Class introspectGeneric(java.lang.Class<?> clazz,
+                                                int pos)
+
+
Returns the generic type specified by the class at the given position as + in:

public class Foo{ //.. } +

+ JavaIntrospectionHelper.introspectGeneric(Foo.class,1); +

+ will return Baz. +

+

+
+
+
+
+ +

+getAllInterfaces

+
+public static java.util.Set<java.lang.Class> getAllInterfaces(java.lang.Class clazz)
+
+
Returns the set of interfaces implemented by the given class and its + ancestors or a blank set if none +

+

+
+
+
+
+ +

+isSetter

+
+public static boolean isSetter(java.lang.reflect.Method method)
+
+
+
+
+
+
+ +

+isGetter

+
+public static boolean isGetter(java.lang.reflect.Method method)
+
+
+
+
+
+
+ +

+getSignature

+
+public static java.lang.String getSignature(java.lang.Class<?> cls)
+
+
+
+
+
+
+ +

+getArrayType

+
+public static java.lang.Class<?> getArrayType(java.lang.Class<?> componentType,
+                                              int dims)
+                                       throws java.lang.ClassNotFoundException
+
+
+ +
Throws: +
java.lang.ClassNotFoundException
+
+
+
+ +

+getPrivateMethods

+
+public static java.util.Set<java.lang.reflect.Method> getPrivateMethods(java.lang.Class clazz)
+
+
+
+
+
+
+ +

+getPrivateFields

+
+public static java.util.Set<java.lang.reflect.Field> getPrivateFields(java.lang.Class clazz)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/NoConstructorException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/NoConstructorException.html new file mode 100644 index 0000000000..db93cd73e9 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/NoConstructorException.html @@ -0,0 +1,266 @@ + + + + + + +NoConstructorException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.NoConstructorException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NoConstructorException
extends IntrospectionException
+ + +

+Thrown when a suitable constructor for a component implementation cannot be found +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
NoConstructorException() + +
+           
NoConstructorException(java.lang.String message) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+NoConstructorException

+
+public NoConstructorException()
+
+
+
+ +

+NoConstructorException

+
+public NoConstructorException(java.lang.String message)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/PolicyProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/PolicyProcessor.html new file mode 100644 index 0000000000..3a3d90f795 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/PolicyProcessor.html @@ -0,0 +1,377 @@ + + + + + + +PolicyProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

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

+Processes an Requires annotation +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
assemblyFactory
+  + + + + + + + + + + +
+Constructor Summary
PolicyProcessor(AssemblyFactory assemblyFactory, + PolicyFactory policyFactory) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ + + + + +
+<T> void
+
visitClass(java.lang.Class<T> clazz, + JavaImplementation type) + +
+          A callback received when the component implementation class is first + loaded
+ 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
visitConstructor, visitConstructorParameter, visitEnd, visitSuperClass
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+PolicyProcessor

+
+public PolicyProcessor(AssemblyFactory assemblyFactory,
+                       PolicyFactory policyFactory)
+
+
+ + + + + + + + +
+Method Detail
+ +

+visitClass

+
+public <T> void visitClass(java.lang.Class<T> clazz,
+                           JavaImplementation type)
+                throws IntrospectionException
+
+
Description copied from interface: JavaClassVisitor
+
A callback received when the component implementation class is first + loaded +

+

+
Specified by:
visitClass in interface JavaClassVisitor
Overrides:
visitClass in class BaseJavaClassVisitor
+
+
+
Parameters:
clazz - the component implementation class
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
+
+
+
+ +

+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
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/PropertyProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/PropertyProcessor.html new file mode 100644 index 0000000000..1335efb527 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/PropertyProcessor.html @@ -0,0 +1,323 @@ + + + + + + +PropertyProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
+      extended by org.apache.tuscany.sca.implementation.java.introspect.impl.AbstractPropertyProcessor<org.osoa.sca.annotations.Property>
+          extended by org.apache.tuscany.sca.implementation.java.introspect.impl.PropertyProcessor
+
+
+
All Implemented Interfaces:
JavaClassVisitor
+
+
+
+
public class PropertyProcessor
extends AbstractPropertyProcessor<org.osoa.sca.annotations.Property>
+ + +

+Processes an @Property annotation, updating the component type with + corresponding JavaMappedProperty +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
assemblyFactory
+  + + + + + + + + + + +
+Constructor Summary
PropertyProcessor(AssemblyFactory assemblyFactory) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+protected  java.lang.StringgetName(org.osoa.sca.annotations.Property annotation) + +
+           
+protected  voidinitProperty(Property property, + org.osoa.sca.annotations.Property annotation) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.AbstractPropertyProcessor
createProperty, visitConstructorParameter, visitField, visitMethod
+ + + + + + + +
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
+ +

+PropertyProcessor

+
+public PropertyProcessor(AssemblyFactory assemblyFactory)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getName

+
+protected java.lang.String getName(org.osoa.sca.annotations.Property annotation)
+
+
+
Specified by:
getName in class AbstractPropertyProcessor<org.osoa.sca.annotations.Property>
+
+
+
+
+
+
+ +

+initProperty

+
+protected void initProperty(Property property,
+                            org.osoa.sca.annotations.Property annotation)
+
+
+
Specified by:
initProperty in class AbstractPropertyProcessor<org.osoa.sca.annotations.Property>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ReferenceProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ReferenceProcessor.html new file mode 100644 index 0000000000..ae1383266b --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ReferenceProcessor.html @@ -0,0 +1,364 @@ + + + + + + +ReferenceProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

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

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

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
assemblyFactory
+  + + + + + + + + + + +
+Constructor Summary
ReferenceProcessor(AssemblyFactory assemblyFactory, + JavaInterfaceFactory javaFactory) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ 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
+ +

+ReferenceProcessor

+
+public ReferenceProcessor(AssemblyFactory assemblyFactory,
+                          JavaInterfaceFactory javaFactory)
+
+
+ + + + + + + + +
+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
+
+
+
+ +

+visitConstructorParameter

+
+public void visitConstructorParameter(JavaParameterImpl parameter,
+                                      JavaImplementation type)
+                               throws IntrospectionException
+
+
+
Specified by:
visitConstructorParameter in interface JavaClassVisitor
Overrides:
visitConstructorParameter in class BaseJavaClassVisitor
+
+
+ +
Throws: +
IntrospectionException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/Resource.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/Resource.html new file mode 100644 index 0000000000..49e1a7c37a --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/Resource.html @@ -0,0 +1,257 @@ + + + + + + +Resource + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.introspect.impl +
+Annotation Type Resource

+
+
+
@Target(value={FIELD,METHOD,PARAMETER})
+@Retention(value=RUNTIME)
+public @interface Resource
+ + +

+Annotation used to indicate a resource should be provided to an implementation by the runtime. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Optional Element Summary
+ java.lang.StringmappedName + +
+          Denotes the default name of the resource provided by the runtime environment.
+ java.lang.Stringname + +
+          Denotes the name of the resource declared by the implementation.
+ booleanoptional + +
+          Denotes if the resource is optional
+  +

+

+name

+
+public abstract java.lang.String name
+
+
Denotes the name of the resource declared by the implementation. +

+

+
+
+
+
+
+
Default:
""
+
+
+
+ +

+optional

+
+public abstract boolean optional
+
+
Denotes if the resource is optional +

+

+
+
+
+
+
+
Default:
false
+
+
+
+ +

+mappedName

+
+public abstract java.lang.String mappedName
+
+
Denotes the default name of the resource provided by the runtime environment. +

+

+
+
+
+
+
+
Default:
""
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ResourceProcessor.html b/site/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/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
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessor.html new file mode 100644 index 0000000000..e54937b4d6 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessor.html @@ -0,0 +1,307 @@ + + + + + + +ScopeProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

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

+Processes the JavaScopeImpl annotation and updates the component type with the corresponding implmentation scope +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
assemblyFactory
+  + + + + + + + + + + +
+Constructor Summary
ScopeProcessor(AssemblyFactory factory) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ + + + + +
+<T> void
+
visitClass(java.lang.Class<T> clazz, + JavaImplementation type) + +
+          A callback received when the component implementation class is first + loaded
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
visitConstructor, visitConstructorParameter, visitEnd, visitField, visitMethod, visitSuperClass
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+ScopeProcessor

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

+visitClass

+
+public <T> void visitClass(java.lang.Class<T> clazz,
+                           JavaImplementation type)
+                throws IntrospectionException
+
+
Description copied from interface: JavaClassVisitor
+
A callback received when the component implementation class is first + loaded +

+

+
Specified by:
visitClass in interface JavaClassVisitor
Overrides:
visitClass in class BaseJavaClassVisitor
+
+
+
Parameters:
clazz - the component implementation class
type - the incomplete component type associated with the + implementation class +
Throws: +
IntrospectionException - if an error is encountered while processing + metadata
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceProcessor.html new file mode 100644 index 0000000000..106f4fe26e --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceProcessor.html @@ -0,0 +1,401 @@ + + + + + + +ServiceProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

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

+Processes an Service annotation and updates + the component type with corresponding Services. Also processes + related Callback annotations. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
assemblyFactory
+  + + + + + + + + + + +
+Constructor Summary
ServiceProcessor(AssemblyFactory assemblyFactory, + JavaInterfaceFactory javaFactory) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ServicecreateService(java.lang.Class<?> interfaze) + +
+           
+ + + + + +
+<T> void
+
visitClass(java.lang.Class<T> clazz, + JavaImplementation type) + +
+          A callback received when the component implementation class is first + loaded
+ 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
visitConstructor, visitConstructorParameter, visitEnd, visitSuperClass
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+ServiceProcessor

+
+public ServiceProcessor(AssemblyFactory assemblyFactory,
+                        JavaInterfaceFactory javaFactory)
+
+
+ + + + + + + + +
+Method Detail
+ +

+visitClass

+
+public <T> void visitClass(java.lang.Class<T> clazz,
+                           JavaImplementation type)
+                throws IntrospectionException
+
+
Description copied from interface: JavaClassVisitor
+
A callback received when the component implementation class is first + loaded +

+

+
Specified by:
visitClass in interface JavaClassVisitor
Overrides:
visitClass in class BaseJavaClassVisitor
+
+
+
Parameters:
clazz - the component implementation class
type - the incomplete component type associated with the + implementation class +
Throws: +
IntrospectionException - if an error is encountered while processing + metadata
+
+
+
+ +

+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
+
+
+
+ +

+createService

+
+public Service createService(java.lang.Class<?> interfaze)
+                      throws InvalidInterfaceException
+
+
+ +
Throws: +
InvalidInterfaceException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceTypeNotFoundException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceTypeNotFoundException.html new file mode 100644 index 0000000000..ba756c4d31 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceTypeNotFoundException.html @@ -0,0 +1,252 @@ + + + + + + +ServiceTypeNotFoundException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.ServiceTypeNotFoundException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ServiceTypeNotFoundException
extends IntrospectionException
+ + +

+Thrown when a service interface cannot be determined based on a heuristic evaluation of an implementation +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ServiceTypeNotFoundException(java.lang.String message) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+ServiceTypeNotFoundException

+
+public ServiceTypeNotFoundException(java.lang.String message)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/UnknownContextTypeException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/UnknownContextTypeException.html new file mode 100644 index 0000000000..880f315b59 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/UnknownContextTypeException.html @@ -0,0 +1,253 @@ + + + + + + +UnknownContextTypeException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
+              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.IllegalContextException
+                  extended by org.apache.tuscany.sca.implementation.java.introspect.impl.UnknownContextTypeException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class UnknownContextTypeException
extends IllegalContextException
+ + +

+Thrown when a method or field marked with Context takes an unknown type +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
UnknownContextTypeException(java.lang.String message) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+UnknownContextTypeException

+
+public UnknownContextTypeException(java.lang.String message)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/package-frame.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/package-frame.html new file mode 100644 index 0000000000..c339ec2f79 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/package-frame.html @@ -0,0 +1,138 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.introspect.impl + + + + + + + + + + + +org.apache.tuscany.sca.implementation.java.introspect.impl + + + + +
+Classes  + +
+AbstractPropertyProcessor +
+AllowsPassByReferenceProcessor +
+BaseJavaClassVisitor +
+ComponentNameProcessor +
+ConstructorProcessor +
+ContextProcessor +
+ConversationIDProcessor +
+ConversationProcessor +
+DestroyProcessor +
+EagerInitProcessor +
+HeuristicPojoProcessor +
+InitProcessor +
+JavaIntrospectionHelper +
+JSR250PolicyProcessor +
+PolicyProcessor +
+PropertyProcessor +
+ReferenceProcessor +
+ResourceProcessor +
+ScopeProcessor +
+ServiceProcessor
+ + + + + + +
+Exceptions  + +
+AmbiguousConstructorException +
+DuplicateConstructorException +
+DuplicateDestructorException +
+DuplicateInitException +
+DuplicatePropertyException +
+DuplicateReferenceException +
+DuplicateResourceException +
+IllegalCallbackReferenceException +
+IllegalContextException +
+IllegalDestructorException +
+IllegalInitException +
+IllegalPropertyException +
+IllegalReferenceException +
+IllegalResourceException +
+IllegalServiceDefinitionException +
+InvalidConstructorException +
+InvalidConversationalImplementation +
+InvalidPropertyException +
+InvalidReferenceException +
+InvalidResourceException +
+InvalidServiceType +
+NoConstructorException +
+ServiceTypeNotFoundException +
+UnknownContextTypeException
+ + + + + + +
+Annotation Types  + +
+Resource
+ + + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/package-summary.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/package-summary.html new file mode 100644 index 0000000000..45eebe14bd --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/package-summary.html @@ -0,0 +1,378 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.introspect.impl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.apache.tuscany.sca.implementation.java.introspect.impl +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractPropertyProcessor<A extends Annotation>Base class for ImplementationProcessors that handle annotations that add + Properties.
AllowsPassByReferenceProcessorProcesses AllowsPassByReference on an implementation
BaseJavaClassVisitorA convenience class for annotation processors which alleviates the need to + implement unused callbacks
ComponentNameProcessorProcesses @ComponentName annotations on a component implementation and adds + a JavaMappedProperty to the component type which will be used to + inject the appropriate component name.
ConstructorProcessorHandles processing of a constructor decorated with + Constructor
ContextProcessorProcesses @Context annotations on a component implementation and adds + a JavaMappedProperty to the component type which will be used to + inject the appropriate context
ConversationIDProcessorProcesses @ConversationID annotations on a component implementation and adds + a JavaMappedProperty to the component type which will be used to + inject the appropriate conversationId
ConversationProcessor 
DestroyProcessorProcesses the @Destroy annotation on a component implementation and + updates the component type with the decorated destructor method
EagerInitProcessorHandles processing of EagerInit
HeuristicPojoProcessorHeuristically evaluates an un-annotated Java implementation type to determine + services, references, and properties according to the algorithm described in + the SCA Java Client and Implementation Model Specification

TODO + Implement:

When no service interface is annotated, need to calculate a + single service comprising all public methods that are not reference or + property injection sites.

InitProcessorProcesses the @Init annotation on a component implementation and + updates the component type with the decorated initializer method
JavaIntrospectionHelperImplements various reflection-related operations
JSR250PolicyProcessorProcesses an javax.annotation.security.* annotation + Below is a list of annotations + + Type Method + RunAs x + RolesAllowed x x + PermitAll x x + DenyAll x
PolicyProcessorProcesses an Requires annotation
PropertyProcessorProcesses an @Property annotation, updating the component type with + corresponding JavaMappedProperty
ReferenceProcessorProcesses an @Reference annotation, updating the component type with + corresponding org.apache.tuscany.spi.implementation.java.JavaMappedReference
ResourceProcessorProcesses an @Resource annotation, updating the component type with + corresponding org.apache.tuscany.spi.implementation.java.JavaResourceImpl
ScopeProcessorProcesses the JavaScopeImpl annotation and updates the component type with the corresponding implmentation scope
ServiceProcessorProcesses an Service annotation and updates + the component type with corresponding Services.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Exception Summary
AmbiguousConstructorExceptionThrown when constructor parameters cannot be unambiguously resolved to a property or reference
DuplicateConstructorExceptionThrown when more than one component implementation constructor is annotated with Constructor
DuplicateDestructorExceptionThrown when an implementation is annotated multiple times with Destroy
DuplicateInitExceptionThrown when an implementation is annotated multiple times with @org.osoa.sca.annotations.Init
DuplicatePropertyExceptionThrown when an implementation has more than one property injection site with the same name
DuplicateReferenceExceptionThrown when an implementation has more than one reference injection site with the same name
DuplicateResourceExceptionThrown when an implementation has more than one resource injection site with the same name
IllegalCallbackReferenceExceptionDenotes an illegal use of Callback on a reference
IllegalContextExceptionDenotes an illegal signature for a method decorated with Context
IllegalDestructorExceptionDenotes an illegal signature for a method decorated with Destroy
IllegalInitExceptionDenotes an illegal signature for a method decorated with @org.osoa.sca.annotations.Init
IllegalPropertyExceptionDenotes an illegal property definition in a component type
IllegalReferenceExceptionDenotes an illegal reference definition in a component type
IllegalResourceExceptionDenotes an illegal resource definition in a component type
IllegalServiceDefinitionExceptionDenotes an illegal use of the @org.osoa.sca.annotations.Service annotation
InvalidConstructorExceptionDenotes an invalid constructor definition, e.g.
InvalidConversationalImplementationRaised when an implementation specifies improper conversational metadata
InvalidPropertyExceptionDenotes an invalid usage of Property
InvalidReferenceExceptionDenotes an invalid usage of Reference
InvalidResourceExceptionDenotes an invalid usage of @org.apache.tuscany.api.annotation.Resource
InvalidServiceTypeThrown when a service type specified by an Service annotation is invalid, e.g.
NoConstructorExceptionThrown when a suitable constructor for a component implementation cannot be found
ServiceTypeNotFoundExceptionThrown when a service interface cannot be determined based on a heuristic evaluation of an implementation
UnknownContextTypeExceptionThrown when a method or field marked with Context takes an unknown type
+  + +

+ + + + + + + + + +
+Annotation Types Summary
ResourceAnnotation used to indicate a resource should be provided to an implementation by the runtime.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/package-tree.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/package-tree.html new file mode 100644 index 0000000000..4f0f0a124c --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/impl/package-tree.html @@ -0,0 +1,171 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.introspect.impl Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.apache.tuscany.sca.implementation.java.introspect.impl +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Annotation Type Hierarchy +

+
    +
  • org.apache.tuscany.sca.implementation.java.introspect.impl.Resource (implements java.lang.annotation.Annotation) +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/package-frame.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/package-frame.html new file mode 100644 index 0000000000..a245ac4cc9 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.introspect + + + + + + + + + + + +org.apache.tuscany.sca.implementation.java.introspect + + + + +
+Interfaces  + +
+JavaClassVisitor
+ + + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/package-summary.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/package-summary.html new file mode 100644 index 0000000000..a3667c1be1 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/package-summary.html @@ -0,0 +1,156 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.introspect + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.apache.tuscany.sca.implementation.java.introspect +

+ + + + + + + + + +
+Interface Summary
JavaClassVisitorImplementations process class-level metadata, typically parsing annotations + and updating the corresponding ComponentType.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/package-tree.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/package-tree.html new file mode 100644 index 0000000000..4dc8094690 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/introspect/package-tree.html @@ -0,0 +1,149 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.introspect Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.apache.tuscany.sca.implementation.java.introspect +

+
+
+
Package Hierarchies:
All Packages
+
+

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/EventInvocationException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/EventInvocationException.html new file mode 100644 index 0000000000..1ef9269849 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/EventInvocationException.html @@ -0,0 +1,288 @@ + + + + + + +EventInvocationException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.invocation +
+Class EventInvocationException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by java.lang.RuntimeException
+              extended by org.apache.tuscany.sca.implementation.java.injection.InjectionRuntimeException
+                  extended by org.apache.tuscany.sca.implementation.java.invocation.EventInvocationException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class EventInvocationException
extends InjectionRuntimeException
+ + +

+Denotes an error when invoking an event on an object +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
EventInvocationException() + +
+           
EventInvocationException(java.lang.String message) + +
+           
EventInvocationException(java.lang.String message, + java.lang.Throwable cause) + +
+           
EventInvocationException(java.lang.Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+EventInvocationException

+
+public EventInvocationException()
+
+
+
+ +

+EventInvocationException

+
+public EventInvocationException(java.lang.String message,
+                                java.lang.Throwable cause)
+
+
+
+ +

+EventInvocationException

+
+public EventInvocationException(java.lang.String message)
+
+
+
+ +

+EventInvocationException

+
+public EventInvocationException(java.lang.Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/EventInvoker.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/EventInvoker.html new file mode 100644 index 0000000000..63b0f2a74b --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/EventInvoker.html @@ -0,0 +1,216 @@ + + + + + + +EventInvoker + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.invocation +
+Interface EventInvoker<T>

+
+
All Known Implementing Classes:
MethodEventInvoker
+
+
+
+
public interface EventInvoker<T>
+ + +

+Performs an invocation on an instance +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidinvokeEvent(T instance) + +
+          Performs the invocation on a given instance
+  +

+ + + + + + + + +
+Method Detail
+ +

+invokeEvent

+
+void invokeEvent(T instance)
+                 throws EventInvocationException
+
+
Performs the invocation on a given instance +

+

+ +
Throws: +
EventInvocationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/InvalidConversationSequenceException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/InvalidConversationSequenceException.html new file mode 100644 index 0000000000..b12bd7689b --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/InvalidConversationSequenceException.html @@ -0,0 +1,287 @@ + + + + + + +InvalidConversationSequenceException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.invocation +
+Class InvalidConversationSequenceException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.core.invocation.TargetInvocationException
+              extended by org.apache.tuscany.sca.implementation.java.invocation.InvalidConversationSequenceException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class InvalidConversationSequenceException
extends TargetInvocationException
+ + +

+Denotes an unknown operation sequence in a conversation +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
InvalidConversationSequenceException() + +
+           
InvalidConversationSequenceException(java.lang.String message) + +
+           
InvalidConversationSequenceException(java.lang.String message, + java.lang.Throwable cause) + +
+           
InvalidConversationSequenceException(java.lang.Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+InvalidConversationSequenceException

+
+public InvalidConversationSequenceException()
+
+
+
+ +

+InvalidConversationSequenceException

+
+public InvalidConversationSequenceException(java.lang.String message,
+                                            java.lang.Throwable cause)
+
+
+
+ +

+InvalidConversationSequenceException

+
+public InvalidConversationSequenceException(java.lang.String message)
+
+
+
+ +

+InvalidConversationSequenceException

+
+public InvalidConversationSequenceException(java.lang.Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaCallbackRuntimeWireProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaCallbackRuntimeWireProcessor.html new file mode 100644 index 0000000000..a3f1825f72 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaCallbackRuntimeWireProcessor.html @@ -0,0 +1,263 @@ + + + + + + +JavaCallbackRuntimeWireProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.invocation +
+Class JavaCallbackRuntimeWireProcessor

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.invocation.JavaCallbackRuntimeWireProcessor
+
+
+
All Implemented Interfaces:
RuntimeWireProcessor
+
+
+
+
public class JavaCallbackRuntimeWireProcessor
extends java.lang.Object
implements RuntimeWireProcessor
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
JavaCallbackRuntimeWireProcessor(InterfaceContractMapper interfaceContractMapper, + JavaInterfaceFactory javaInterfaceFactory) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidprocess(RuntimeWire wire) + +
+          Process the runtime wire to add interceptors
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaCallbackRuntimeWireProcessor

+
+public JavaCallbackRuntimeWireProcessor(InterfaceContractMapper interfaceContractMapper,
+                                        JavaInterfaceFactory javaInterfaceFactory)
+
+
+
Parameters:
interfaceContractMapper -
javaInterfaceFactory -
+
+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process(RuntimeWire wire)
+
+
Description copied from interface: RuntimeWireProcessor
+
Process the runtime wire to add interceptors +

+

+
Specified by:
process in interface RuntimeWireProcessor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaComponentContextFactory.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaComponentContextFactory.html new file mode 100644 index 0000000000..9b0e3c0689 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaComponentContextFactory.html @@ -0,0 +1,263 @@ + + + + + + +JavaComponentContextFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.invocation +
+Class JavaComponentContextFactory

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.invocation.JavaComponentContextFactory
+
+
+
All Implemented Interfaces:
ObjectFactory<org.osoa.sca.ComponentContext>
+
+
+
+
public class JavaComponentContextFactory
extends java.lang.Object
implements ObjectFactory<org.osoa.sca.ComponentContext>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
JavaComponentContextFactory(JavaComponentContextProvider component) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ org.osoa.sca.ComponentContextgetInstance() + +
+          Return a instance of the type that this factory creates.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaComponentContextFactory

+
+public JavaComponentContextFactory(JavaComponentContextProvider component)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public org.osoa.sca.ComponentContext getInstance()
+                                          throws ObjectCreationException
+
+
Description copied from interface: ObjectFactory
+
Return a instance of the type that this factory creates. +

+

+
Specified by:
getInstance in interface ObjectFactory<org.osoa.sca.ComponentContext>
+
+
+ +
Returns:
a instance from this factory +
Throws: +
ObjectCreationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaComponentContextProvider.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaComponentContextProvider.html new file mode 100644 index 0000000000..65d86e5fdc --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaComponentContextProvider.html @@ -0,0 +1,236 @@ + + + + + + +JavaComponentContextProvider + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.invocation +
+Class JavaComponentContextProvider

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.invocation.JavaComponentContextProvider
+
+
+
+
public class JavaComponentContextProvider
extends java.lang.Object
+ + +

+The runtime instantiation of Java component implementations +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
JavaComponentContextProvider(RuntimeComponent component, + JavaInstanceFactoryProvider configuration, + DataBindingExtensionPoint dataBindingExtensionPoint, + JavaPropertyValueObjectFactory propertyValueObjectFactory, + ComponentContextFactory componentContextFactory, + RequestContextFactory requestContextFactory) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaComponentContextProvider

+
+public JavaComponentContextProvider(RuntimeComponent component,
+                                    JavaInstanceFactoryProvider configuration,
+                                    DataBindingExtensionPoint dataBindingExtensionPoint,
+                                    JavaPropertyValueObjectFactory propertyValueObjectFactory,
+                                    ComponentContextFactory componentContextFactory,
+                                    RequestContextFactory requestContextFactory)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaComponentNameFactory.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaComponentNameFactory.html new file mode 100644 index 0000000000..23278b9d96 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaComponentNameFactory.html @@ -0,0 +1,263 @@ + + + + + + +JavaComponentNameFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.invocation +
+Class JavaComponentNameFactory

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.invocation.JavaComponentNameFactory
+
+
+
All Implemented Interfaces:
ObjectFactory<java.lang.String>
+
+
+
+
public class JavaComponentNameFactory
extends java.lang.Object
implements ObjectFactory<java.lang.String>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
JavaComponentNameFactory(JavaComponentContextProvider component) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetInstance() + +
+          Return a instance of the type that this factory creates.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaComponentNameFactory

+
+public JavaComponentNameFactory(JavaComponentContextProvider component)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public java.lang.String getInstance()
+                             throws ObjectCreationException
+
+
Description copied from interface: ObjectFactory
+
Return a instance of the type that this factory creates. +

+

+
Specified by:
getInstance in interface ObjectFactory<java.lang.String>
+
+
+ +
Returns:
a instance from this factory +
Throws: +
ObjectCreationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaImplementationInvoker.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaImplementationInvoker.html new file mode 100644 index 0000000000..9362e78654 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaImplementationInvoker.html @@ -0,0 +1,401 @@ + + + + + + +JavaImplementationInvoker + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.invocation +
+Class JavaImplementationInvoker

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker
+
+
+
All Implemented Interfaces:
DataExchangeSemantics, Invoker
+
+
+
+
public class JavaImplementationInvoker
extends java.lang.Object
implements Invoker, DataExchangeSemantics
+ + +

+Responsible for synchronously dispatching an invocation to a Java component + implementation instance +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  booleanallowsPBR + +
+           
+protected  java.lang.reflect.Methodmethod + +
+           
+protected  Operationoperation + +
+           
+protected  ScopeContainerscopeContainer + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
JavaImplementationInvoker(Operation operation, + java.lang.reflect.Method method, + RuntimeComponent component) + +
+           
JavaImplementationInvoker(Operation operation, + RuntimeComponent component) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ booleanallowsPassByReference() + +
+          Indicate if the data can be passed in by reference as they won't be mutated.
+ Messageinvoke(Message msg) + +
+          Process a synchronous wire
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+operation

+
+protected Operation operation
+
+
+
+
+
+ +

+method

+
+protected java.lang.reflect.Method method
+
+
+
+
+
+ +

+allowsPBR

+
+protected boolean allowsPBR
+
+
+
+
+
+ +

+scopeContainer

+
+protected final ScopeContainer scopeContainer
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+JavaImplementationInvoker

+
+public JavaImplementationInvoker(Operation operation,
+                                 java.lang.reflect.Method method,
+                                 RuntimeComponent component)
+
+
+
+ +

+JavaImplementationInvoker

+
+public JavaImplementationInvoker(Operation operation,
+                                 RuntimeComponent component)
+
+
+ + + + + + + + +
+Method Detail
+ +

+invoke

+
+public Message invoke(Message msg)
+
+
Description copied from interface: Invoker
+
Process a synchronous wire +

+

+
Specified by:
invoke in interface Invoker
+
+
+
Parameters:
msg - The request Message for the wire +
Returns:
The response Message from the wire
+
+
+
+ +

+allowsPassByReference

+
+public boolean allowsPassByReference()
+
+
Description copied from interface: DataExchangeSemantics
+
Indicate if the data can be passed in by reference as they won't be mutated. +

+

+
Specified by:
allowsPassByReference in interface DataExchangeSemantics
+
+
+ +
Returns:
true if pass-by-reference is allowed
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaImplementationProvider.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaImplementationProvider.html new file mode 100644 index 0000000000..ffbc91b258 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaImplementationProvider.html @@ -0,0 +1,490 @@ + + + + + + +JavaImplementationProvider + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.invocation +
+Class JavaImplementationProvider

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationProvider
+
+
+
All Implemented Interfaces:
ScopedImplementationProvider, ImplementationProvider
+
+
+
+
public class JavaImplementationProvider
extends java.lang.Object
implements ScopedImplementationProvider
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
JavaImplementationProvider(RuntimeComponent component, + JavaImplementation implementation, + ProxyFactory proxyService, + DataBindingExtensionPoint dataBindingRegistry, + JavaPropertyValueObjectFactory propertyValueObjectFactory, + ComponentContextFactory componentContextFactory, + RequestContextFactory requestContextFactory, + java.util.List<PolicyHandlerTuple> policyHandlerClassNames) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ InstanceWrappercreateInstanceWrapper() + +
+          Create a wrapper for the component instance for the scope management
+ InvokercreateInvoker(RuntimeComponentService service, + Operation operation) + +
+          Create an invoker for the component implementation in the invocation + chain.
+ longgetMaxAge() + +
+           
+ longgetMaxIdleTime() + +
+           
+ ScopegetScope() + +
+          Get the scope for the component implementation
+ booleanisEagerInit() + +
+          Indicate if the component needs to be eagerly initialized
+ voidstart() + +
+          This method will be invoked when the component implementation + is activated.
+ voidstop() + +
+          This method will be invoked when the component implementation + is deactivated.
+ booleansupportsOneWayInvocation() + +
+          For bindings that invoke one-way callback operations asynchronously, + there is no need to perform a thread switch before calling the invoker.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaImplementationProvider

+
+public JavaImplementationProvider(RuntimeComponent component,
+                                  JavaImplementation implementation,
+                                  ProxyFactory proxyService,
+                                  DataBindingExtensionPoint dataBindingRegistry,
+                                  JavaPropertyValueObjectFactory propertyValueObjectFactory,
+                                  ComponentContextFactory componentContextFactory,
+                                  RequestContextFactory requestContextFactory,
+                                  java.util.List<PolicyHandlerTuple> policyHandlerClassNames)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createInvoker

+
+public Invoker createInvoker(RuntimeComponentService service,
+                             Operation operation)
+
+
Description copied from interface: ImplementationProvider
+
Create an invoker for the component implementation in the invocation + chain. The invoker will be responsible for calling the implementation + logic for the given component. +

+

+
Specified by:
createInvoker in interface ImplementationProvider
+
+
+
Parameters:
service - The component service
operation - The operation that the interceptor will handle +
Returns:
An invoker that handles the invocation logic, null should be + returned if no invoker is required
+
+
+
+ +

+supportsOneWayInvocation

+
+public boolean supportsOneWayInvocation()
+
+
Description copied from interface: ImplementationProvider
+
For bindings that invoke one-way callback operations asynchronously, + there is no need to perform a thread switch before calling the invoker. + This method indicates whether the binding has this capability. +

+

+
Specified by:
supportsOneWayInvocation in interface ImplementationProvider
+
+
+ +
Returns:
true if the callback invoker is able to invoke one-way operations + asynchronously, false if all invocations are synchronous
+
+
+
+ +

+getScope

+
+public Scope getScope()
+
+
Description copied from interface: ScopedImplementationProvider
+
Get the scope for the component implementation +

+

+
Specified by:
getScope in interface ScopedImplementationProvider
+
+
+ +
Returns:
The scope for the component implementation, if null is returned, + STATELESS will be used
+
+
+
+ +

+start

+
+public void start()
+
+
Description copied from interface: ImplementationProvider
+
This method will be invoked when the component implementation + is activated. +

+

+
Specified by:
start in interface ImplementationProvider
+
+
+
+
+
+
+ +

+stop

+
+public void stop()
+
+
Description copied from interface: ImplementationProvider
+
This method will be invoked when the component implementation + is deactivated. +

+

+
Specified by:
stop in interface ImplementationProvider
+
+
+
+
+
+
+ +

+createInstanceWrapper

+
+public InstanceWrapper createInstanceWrapper()
+
+
Description copied from interface: ScopedImplementationProvider
+
Create a wrapper for the component instance for the scope management +

+

+
Specified by:
createInstanceWrapper in interface ScopedImplementationProvider
+
+
+ +
Returns:
A wrapper for the component instance
+
+
+
+ +

+isEagerInit

+
+public boolean isEagerInit()
+
+
Description copied from interface: ScopedImplementationProvider
+
Indicate if the component needs to be eagerly initialized +

+

+
Specified by:
isEagerInit in interface ScopedImplementationProvider
+
+
+ +
Returns:
true if the component is marked to be eagerly initialized, false + otherwise
+
+
+
+ +

+getMaxAge

+
+public long getMaxAge()
+
+
+
Specified by:
getMaxAge in interface ScopedImplementationProvider
+
+
+ +
Returns:
the maxAge
+
+
+
+ +

+getMaxIdleTime

+
+public long getMaxIdleTime()
+
+
+
Specified by:
getMaxIdleTime in interface ScopedImplementationProvider
+
+
+ +
Returns:
the maxIdleTime
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaImplementationProviderFactory.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaImplementationProviderFactory.html new file mode 100644 index 0000000000..4c1ed26e1d --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaImplementationProviderFactory.html @@ -0,0 +1,300 @@ + + + + + + +JavaImplementationProviderFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.invocation +
+Class JavaImplementationProviderFactory

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationProviderFactory
+
+
+
All Implemented Interfaces:
ImplementationProviderFactory<JavaImplementation>, ProviderFactory<JavaImplementation>
+
+
+
+
public class JavaImplementationProviderFactory
extends java.lang.Object
implements ImplementationProviderFactory<JavaImplementation>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
JavaImplementationProviderFactory(ProxyFactory proxyService, + DataBindingExtensionPoint dataBindingRegistry, + JavaPropertyValueObjectFactory propertyValueObjectFactory, + ComponentContextFactory componentContextFactory, + RequestContextFactory requestContextFactory, + java.util.List<PolicyHandlerTuple> policyHandlerClassNames) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ ImplementationProvidercreateImplementationProvider(RuntimeComponent component, + JavaImplementation implementation) + +
+          Creates a new implementation provider for the given + component.
+ java.lang.Class<JavaImplementation>getModelType() + +
+          The model type that this factory creates providers for.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaImplementationProviderFactory

+
+public JavaImplementationProviderFactory(ProxyFactory proxyService,
+                                         DataBindingExtensionPoint dataBindingRegistry,
+                                         JavaPropertyValueObjectFactory propertyValueObjectFactory,
+                                         ComponentContextFactory componentContextFactory,
+                                         RequestContextFactory requestContextFactory,
+                                         java.util.List<PolicyHandlerTuple> policyHandlerClassNames)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createImplementationProvider

+
+public ImplementationProvider createImplementationProvider(RuntimeComponent component,
+                                                           JavaImplementation implementation)
+
+
Description copied from interface: ImplementationProviderFactory
+
Creates a new implementation provider for the given + component. +

+

+
Specified by:
createImplementationProvider in interface ImplementationProviderFactory<JavaImplementation>
+
+
+
Parameters:
component - The runtime component
implementation - The implementation type +
Returns:
The implementation provider
+
+
+
+ +

+getModelType

+
+public java.lang.Class<JavaImplementation> getModelType()
+
+
Description copied from interface: ProviderFactory
+
The model type that this factory creates providers for. +

+

+
Specified by:
getModelType in interface ProviderFactory<JavaImplementation>
+
+
+ +
Returns:
the model type
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaInstanceFactoryProvider.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaInstanceFactoryProvider.html new file mode 100644 index 0000000000..5e56ae0c7f --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaInstanceFactoryProvider.html @@ -0,0 +1,341 @@ + + + + + + +JavaInstanceFactoryProvider + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.invocation +
+Class JavaInstanceFactoryProvider<T>

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.invocation.JavaInstanceFactoryProvider<T>
+
+
+
All Implemented Interfaces:
InstanceFactoryProvider<T>
+
+
+
+
public class JavaInstanceFactoryProvider<T>
extends java.lang.Object
implements InstanceFactoryProvider<T>
+ + +

+Encapsulates configuration for a Java-based atomic component +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
JavaInstanceFactoryProvider(JavaImplementation definition) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ InstanceFactory<T>createFactory() + +
+          Create an instance factory that can be used to create component instances.
+ java.lang.Class<T>getImplementationClass() + +
+          Return the implementation class.
+ voidsetObjectFactories(JavaElementImpl element, + java.util.List<ObjectFactory<?>> objectFactory) + +
+           
+ voidsetObjectFactory(JavaElementImpl element, + ObjectFactory<?> objectFactory) + +
+          Sets an object factory for an injection site
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaInstanceFactoryProvider

+
+public JavaInstanceFactoryProvider(JavaImplementation definition)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createFactory

+
+public InstanceFactory<T> createFactory()
+
+
Description copied from interface: InstanceFactoryProvider
+
Create an instance factory that can be used to create component instances. +

+

+
Specified by:
createFactory in interface InstanceFactoryProvider<T>
+
+
+ +
Returns:
a new instance factory
+
+
+
+ +

+getImplementationClass

+
+public java.lang.Class<T> getImplementationClass()
+
+
Description copied from interface: InstanceFactoryProvider
+
Return the implementation class. +

+

+
Specified by:
getImplementationClass in interface InstanceFactoryProvider<T>
+
+
+ +
Returns:
the implementation class.
+
+
+
+ +

+setObjectFactory

+
+public void setObjectFactory(JavaElementImpl element,
+                             ObjectFactory<?> objectFactory)
+
+
Description copied from interface: InstanceFactoryProvider
+
Sets an object factory for an injection site +

+

+
Specified by:
setObjectFactory in interface InstanceFactoryProvider<T>
+
+
+
Parameters:
element - the injection site name
objectFactory - the object factory
+
+
+
+ +

+setObjectFactories

+
+public void setObjectFactories(JavaElementImpl element,
+                               java.util.List<ObjectFactory<?>> objectFactory)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaPolicyHandlingRuntimeWireProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaPolicyHandlingRuntimeWireProcessor.html new file mode 100644 index 0000000000..05bf029a4f --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/JavaPolicyHandlingRuntimeWireProcessor.html @@ -0,0 +1,263 @@ + + + + + + +JavaPolicyHandlingRuntimeWireProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.invocation +
+Class JavaPolicyHandlingRuntimeWireProcessor

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.invocation.JavaPolicyHandlingRuntimeWireProcessor
+
+
+
All Implemented Interfaces:
RuntimeWireProcessor
+
+
+
+
public class JavaPolicyHandlingRuntimeWireProcessor
extends java.lang.Object
implements RuntimeWireProcessor
+ + +

+Processor to inject policy handling interceptor whenever PolicySets are specified in a Java Implementation +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
JavaPolicyHandlingRuntimeWireProcessor() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidprocess(RuntimeWire wire) + +
+          Process the runtime wire to add interceptors
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaPolicyHandlingRuntimeWireProcessor

+
+public JavaPolicyHandlingRuntimeWireProcessor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process(RuntimeWire wire)
+
+
Description copied from interface: RuntimeWireProcessor
+
Process the runtime wire to add interceptors +

+

+
Specified by:
process in interface RuntimeWireProcessor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/MethodEventInvoker.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/MethodEventInvoker.html new file mode 100644 index 0000000000..34f35ce969 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/MethodEventInvoker.html @@ -0,0 +1,268 @@ + + + + + + +MethodEventInvoker + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.invocation +
+Class MethodEventInvoker<T>

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.invocation.MethodEventInvoker<T>
+
+
+
All Implemented Interfaces:
EventInvoker<T>
+
+
+
+
public class MethodEventInvoker<T>
extends java.lang.Object
implements EventInvoker<T>
+ + +

+Performs an wire on a method of a given instance +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
MethodEventInvoker(java.lang.reflect.Method method) + +
+          Instantiates an invoker for the given method
+  + + + + + + + + + + + +
+Method Summary
+ voidinvokeEvent(T instance) + +
+          Performs the invocation on a given instance
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+MethodEventInvoker

+
+public MethodEventInvoker(java.lang.reflect.Method method)
+
+
Instantiates an invoker for the given method +

+

+ + + + + + + + +
+Method Detail
+ +

+invokeEvent

+
+public void invokeEvent(T instance)
+                 throws EventInvocationException
+
+
Description copied from interface: EventInvoker
+
Performs the invocation on a given instance +

+

+
Specified by:
invokeEvent in interface EventInvoker<T>
+
+
+ +
Throws: +
EventInvocationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/NoConversationalContractException.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/NoConversationalContractException.html new file mode 100644 index 0000000000..f2809c96b7 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/NoConversationalContractException.html @@ -0,0 +1,242 @@ + + + + + + +NoConversationalContractException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.invocation +
+Class NoConversationalContractException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.implementation.java.invocation.NoConversationalContractException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NoConversationalContractException
extends java.lang.Exception
+ + +

+Raised when a component has conversational scope but no conversational contract +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
NoConversationalContractException(java.lang.String message) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+NoConversationalContractException

+
+public NoConversationalContractException(java.lang.String message)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/PolicyHandlingInterceptor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/PolicyHandlingInterceptor.html new file mode 100644 index 0000000000..3a5f6c61cd --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/PolicyHandlingInterceptor.html @@ -0,0 +1,318 @@ + + + + + + +PolicyHandlingInterceptor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.invocation +
+Class PolicyHandlingInterceptor

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.invocation.PolicyHandlingInterceptor
+
+
+
All Implemented Interfaces:
Interceptor, Invoker
+
+
+
+
public class PolicyHandlingInterceptor
extends java.lang.Object
implements Interceptor
+ + +

+An interceptor to invoke policy handlers before and after the invocation of operations on + an implementation. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
PolicyHandlingInterceptor(Operation targetOperation, + java.util.List<PolicyHandler> policyHandlers) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ InvokergetNext() + +
+          Returns the next invoker or null
+ Messageinvoke(Message msg) + +
+          Process a synchronous wire
+ voidsetNext(Invoker next) + +
+          Sets the next invoker
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+PolicyHandlingInterceptor

+
+public PolicyHandlingInterceptor(Operation targetOperation,
+                                 java.util.List<PolicyHandler> policyHandlers)
+
+
+ + + + + + + + +
+Method Detail
+ +

+invoke

+
+public Message invoke(Message msg)
+
+
Description copied from interface: Invoker
+
Process a synchronous wire +

+

+
Specified by:
invoke in interface Invoker
+
+
+
Parameters:
msg - The request Message for the wire +
Returns:
The response Message from the wire
+
+
+
+ +

+setNext

+
+public void setNext(Invoker next)
+
+
Description copied from interface: Interceptor
+
Sets the next invoker +

+

+
Specified by:
setNext in interface Interceptor
+
+
+
Parameters:
next - The next invoker
+
+
+
+ +

+getNext

+
+public Invoker getNext()
+
+
Description copied from interface: Interceptor
+
Returns the next invoker or null +

+

+
Specified by:
getNext in interface Interceptor
+
+
+ +
Returns:
The next Invoker
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/package-frame.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/package-frame.html new file mode 100644 index 0000000000..6816fcff85 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/package-frame.html @@ -0,0 +1,78 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.invocation + + + + + + + + + + + +org.apache.tuscany.sca.implementation.java.invocation + + + + +
+Interfaces  + +
+EventInvoker
+ + + + + + +
+Classes  + +
+JavaCallbackRuntimeWireProcessor +
+JavaComponentContextFactory +
+JavaComponentContextProvider +
+JavaComponentNameFactory +
+JavaImplementationInvoker +
+JavaImplementationProvider +
+JavaImplementationProviderFactory +
+JavaInstanceFactoryProvider +
+JavaPolicyHandlingRuntimeWireProcessor +
+MethodEventInvoker +
+PolicyHandlingInterceptor
+ + + + + + +
+Exceptions  + +
+EventInvocationException +
+InvalidConversationSequenceException +
+NoConversationalContractException
+ + + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/package-summary.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/package-summary.html new file mode 100644 index 0000000000..d54000c58c --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/package-summary.html @@ -0,0 +1,233 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.invocation + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.apache.tuscany.sca.implementation.java.invocation +

+ + + + + + + + + +
+Interface Summary
EventInvoker<T>Performs an invocation on an instance
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
JavaCallbackRuntimeWireProcessor 
JavaComponentContextFactory 
JavaComponentContextProviderThe runtime instantiation of Java component implementations
JavaComponentNameFactory 
JavaImplementationInvokerResponsible for synchronously dispatching an invocation to a Java component + implementation instance
JavaImplementationProvider 
JavaImplementationProviderFactory 
JavaInstanceFactoryProvider<T>Encapsulates configuration for a Java-based atomic component
JavaPolicyHandlingRuntimeWireProcessorProcessor to inject policy handling interceptor whenever PolicySets are specified in a Java Implementation
MethodEventInvoker<T>Performs an wire on a method of a given instance
PolicyHandlingInterceptorAn interceptor to invoke policy handlers before and after the invocation of operations on + an implementation.
+  + +

+ + + + + + + + + + + + + + + + + +
+Exception Summary
EventInvocationExceptionDenotes an error when invoking an event on an object
InvalidConversationSequenceExceptionDenotes an unknown operation sequence in a conversation
NoConversationalContractExceptionRaised when a component has conversational scope but no conversational contract
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/package-tree.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/package-tree.html new file mode 100644 index 0000000000..480fde0732 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/invocation/package-tree.html @@ -0,0 +1,177 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.invocation Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.apache.tuscany.sca.implementation.java.invocation +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+
    +
  • org.apache.tuscany.sca.implementation.java.invocation.EventInvoker<T>
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/module/JavaRuntimeModuleActivator.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/module/JavaRuntimeModuleActivator.html new file mode 100644 index 0000000000..f7054f48fa --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/module/JavaRuntimeModuleActivator.html @@ -0,0 +1,288 @@ + + + + + + +JavaRuntimeModuleActivator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.module +
+Class JavaRuntimeModuleActivator

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.module.JavaRuntimeModuleActivator
+
+
+
All Implemented Interfaces:
ModuleActivator
+
+
+
+
public class JavaRuntimeModuleActivator
extends java.lang.Object
implements ModuleActivator
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
JavaRuntimeModuleActivator() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidstart(ExtensionPointRegistry registry) + +
+          This method is invoked when the module is started by the Tuscany system.
+ voidstop(ExtensionPointRegistry registry) + +
+          This method is invoked when the module is stopped by the Tuscany system.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaRuntimeModuleActivator

+
+public JavaRuntimeModuleActivator()
+
+
+ + + + + + + + +
+Method Detail
+ +

+start

+
+public void start(ExtensionPointRegistry registry)
+
+
Description copied from interface: ModuleActivator
+
This method is invoked when the module is started by the Tuscany system. + It can be used by this module to register extensions against extension + points. +

+

+
Specified by:
start in interface ModuleActivator
+
+
+
Parameters:
registry - The extension point registry
+
+
+
+ +

+stop

+
+public void stop(ExtensionPointRegistry registry)
+
+
Description copied from interface: ModuleActivator
+
This method is invoked when the module is stopped by the Tuscany system. + It can be used by this module to unregister extensions against the + extension points. +

+

+
Specified by:
stop in interface ModuleActivator
+
+
+
Parameters:
registry - The extension point registry
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/module/package-frame.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/module/package-frame.html new file mode 100644 index 0000000000..8176572f5c --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/module/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.module + + + + + + + + + + + +org.apache.tuscany.sca.implementation.java.module + + + + +
+Classes  + +
+JavaRuntimeModuleActivator
+ + + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/module/package-summary.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/module/package-summary.html new file mode 100644 index 0000000000..f9b052a847 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/module/package-summary.html @@ -0,0 +1,155 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.module + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.apache.tuscany.sca.implementation.java.module +

+ + + + + + + + + +
+Class Summary
JavaRuntimeModuleActivator 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/module/package-tree.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/module/package-tree.html new file mode 100644 index 0000000000..f0c0173b3c --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/module/package-tree.html @@ -0,0 +1,152 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.module Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.apache.tuscany.sca.implementation.java.module +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/package-frame.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/package-frame.html new file mode 100644 index 0000000000..10488d90f4 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/package-frame.html @@ -0,0 +1,58 @@ + + + + + + +org.apache.tuscany.sca.implementation.java + + + + + + + + + + + +org.apache.tuscany.sca.implementation.java + + + + +
+Interfaces  + +
+BaseJavaImplementation +
+JavaImplementation +
+JavaImplementationFactory
+ + + + + + +
+Classes  + +
+DefaultJavaImplementationFactory
+ + + + + + +
+Exceptions  + +
+IntrospectionException
+ + + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/package-summary.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/package-summary.html new file mode 100644 index 0000000000..74d5709758 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/package-summary.html @@ -0,0 +1,191 @@ + + + + + + +org.apache.tuscany.sca.implementation.java + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.apache.tuscany.sca.implementation.java +

+ + + + + + + + + + + + + + + + + +
+Interface Summary
BaseJavaImplementationRepresents a Java implementation.
JavaImplementationRepresents a Java implementation.
JavaImplementationFactoryFactory for the Java model
+  + +

+ + + + + + + + + +
+Class Summary
DefaultJavaImplementationFactory 
+  + +

+ + + + + + + + + +
+Exception Summary
IntrospectionExceptionDenotes a problem processing annotations on a POJO implementation
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/package-tree.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/package-tree.html new file mode 100644 index 0000000000..91531168a8 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/package-tree.html @@ -0,0 +1,179 @@ + + + + + + +org.apache.tuscany.sca.implementation.java Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.apache.tuscany.sca.implementation.java +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/JavaImplementationConstants.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/JavaImplementationConstants.html new file mode 100644 index 0000000000..5eb198f64b --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/JavaImplementationConstants.html @@ -0,0 +1,245 @@ + + + + + + +JavaImplementationConstants + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.xml +
+Interface JavaImplementationConstants

+
+
All Known Implementing Classes:
JavaImplementationProcessor
+
+
+
+
public interface JavaImplementationConstants
+ + +

+Constants for the Java Implementation. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringCLASS + +
+           
+static java.lang.StringIMPLEMENTATION_JAVA + +
+           
+static javax.xml.namespace.QNameIMPLEMENTATION_JAVA_QNAME + +
+           
+  +

+ + + + + + + + +
+Field Detail
+ +

+IMPLEMENTATION_JAVA

+
+static final java.lang.String IMPLEMENTATION_JAVA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMPLEMENTATION_JAVA_QNAME

+
+static final javax.xml.namespace.QName IMPLEMENTATION_JAVA_QNAME
+
+
+
+
+
+ +

+CLASS

+
+static final java.lang.String CLASS
+
+
+
See Also:
Constant Field Values
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/JavaImplementationProcessor.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/JavaImplementationProcessor.html new file mode 100644 index 0000000000..623446128c --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/JavaImplementationProcessor.html @@ -0,0 +1,401 @@ + + + + + + +JavaImplementationProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.implementation.java.xml +
+Class JavaImplementationProcessor

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.implementation.java.xml.JavaImplementationProcessor
+
+
+
All Implemented Interfaces:
ArtifactProcessor<JavaImplementation>, StAXArtifactProcessor<JavaImplementation>, JavaImplementationConstants
+
+
+
+
public class JavaImplementationProcessor
extends java.lang.Object
implements StAXArtifactProcessor<JavaImplementation>, JavaImplementationConstants
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.tuscany.sca.implementation.java.xml.JavaImplementationConstants
CLASS, IMPLEMENTATION_JAVA, IMPLEMENTATION_JAVA_QNAME
+  + + + + + + + + + + +
+Constructor Summary
JavaImplementationProcessor(ModelFactoryExtensionPoint modelFactories, + Monitor monitor) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ javax.xml.namespace.QNamegetArtifactType() + +
+          Returns the type of artifact handled by this artifact processor.
+ java.lang.Class<JavaImplementation>getModelType() + +
+          Returns the type of model handled by this artifact processor.
+ JavaImplementationread(javax.xml.stream.XMLStreamReader reader) + +
+          Reads a model from an XMLStreamReader.
+ voidresolve(JavaImplementation javaImplementation, + ModelResolver resolver) + +
+          Resolve references from this model to other models.
+ voidwrite(JavaImplementation javaImplementation, + javax.xml.stream.XMLStreamWriter writer) + +
+          Writes a model to an XMLStreamWriter.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+JavaImplementationProcessor

+
+public JavaImplementationProcessor(ModelFactoryExtensionPoint modelFactories,
+                                   Monitor monitor)
+
+
+ + + + + + + + +
+Method Detail
+ +

+read

+
+public JavaImplementation read(javax.xml.stream.XMLStreamReader reader)
+                        throws ContributionReadException,
+                               javax.xml.stream.XMLStreamException
+
+
Description copied from interface: StAXArtifactProcessor
+
Reads a model from an XMLStreamReader. +

+

+
Specified by:
read in interface StAXArtifactProcessor<JavaImplementation>
+
+
+
Parameters:
reader - The XMLStreamReader +
Returns:
A model representation of the input. +
Throws: +
ContributionReadException +
javax.xml.stream.XMLStreamException
+
+
+
+ +

+write

+
+public void write(JavaImplementation javaImplementation,
+                  javax.xml.stream.XMLStreamWriter writer)
+           throws ContributionWriteException,
+                  javax.xml.stream.XMLStreamException
+
+
Description copied from interface: StAXArtifactProcessor
+
Writes a model to an XMLStreamWriter. +

+

+
Specified by:
write in interface StAXArtifactProcessor<JavaImplementation>
+
+
+
Parameters:
javaImplementation - A model representing the source
writer - The XML stream writer +
Throws: +
ContributionWriteException +
javax.xml.stream.XMLStreamException
+
+
+
+ +

+resolve

+
+public void resolve(JavaImplementation javaImplementation,
+                    ModelResolver resolver)
+             throws ContributionResolveException
+
+
Description copied from interface: ArtifactProcessor
+
Resolve references from this model to other models. For example references + from a composite to another one, or references from a composite to a WSDL + model. +

+

+
Specified by:
resolve in interface ArtifactProcessor<JavaImplementation>
+
+
+
Parameters:
javaImplementation - The model to resolve
resolver - The resolver to use to resolve referenced models +
Throws: +
ContributionResolveException
+
+
+
+ +

+getArtifactType

+
+public javax.xml.namespace.QName getArtifactType()
+
+
Description copied from interface: StAXArtifactProcessor
+
Returns the type of artifact handled by this artifact processor. +

+

+
Specified by:
getArtifactType in interface StAXArtifactProcessor<JavaImplementation>
+
+
+ +
Returns:
The type of artifact handled by this artifact processor
+
+
+
+ +

+getModelType

+
+public java.lang.Class<JavaImplementation> getModelType()
+
+
Description copied from interface: ArtifactProcessor
+
Returns the type of model handled by this artifact processor. +

+

+
Specified by:
getModelType in interface ArtifactProcessor<JavaImplementation>
+
+
+ +
Returns:
The type of model handled by this artifact processor
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/package-frame.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/package-frame.html new file mode 100644 index 0000000000..5ed1764470 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/package-frame.html @@ -0,0 +1,43 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.xml + + + + + + + + + + + +org.apache.tuscany.sca.implementation.java.xml + + + + +
+Interfaces  + +
+JavaImplementationConstants
+ + + + + + +
+Classes  + +
+JavaImplementationProcessor
+ + + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/package-summary.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/package-summary.html new file mode 100644 index 0000000000..a16a4272c3 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/package-summary.html @@ -0,0 +1,169 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.xml + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.apache.tuscany.sca.implementation.java.xml +

+ + + + + + + + + +
+Interface Summary
JavaImplementationConstantsConstants for the Java Implementation.
+  + +

+ + + + + + + + + +
+Class Summary
JavaImplementationProcessor 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/package-tree.html b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/package-tree.html new file mode 100644 index 0000000000..bd8a3716a3 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/implementation/java/xml/package-tree.html @@ -0,0 +1,157 @@ + + + + + + +org.apache.tuscany.sca.implementation.java.xml Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.apache.tuscany.sca.implementation.java.xml +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3