From 31d794be59cb2d1bf264df79f471b0c8d5f5a457 Mon Sep 17 00:00:00 2001 From: lresende Date: Sat, 21 Nov 2009 07:40:26 +0000 Subject: Moving to site trunk git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882841 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/extension/helper/BindingActivator.html | 290 +++++++++ .../sca/extension/helper/ComponentLifecycle.html | 230 +++++++ .../extension/helper/ImplementationActivator.html | 263 ++++++++ .../sca/extension/helper/InvokerFactory.html | 211 +++++++ .../helper/impl/BindingSCDLProcessor.html | 528 ++++++++++++++++ .../extension/helper/impl/BindingsActivator.html | 382 ++++++++++++ .../sca/extension/helper/impl/DiscoveryUtils.html | 264 ++++++++ .../impl/ImplementationImplementationProvider.html | 364 +++++++++++ .../helper/impl/ImplementationsActivator.html | 350 +++++++++++ .../sca/extension/helper/impl/PojoBinding.html | 263 ++++++++ .../extension/helper/impl/PojoImplementation.html | 298 +++++++++ .../sca/extension/helper/impl/SCDLProcessor.html | 563 +++++++++++++++++ .../sca/extension/helper/impl/package-frame.html | 46 ++ .../sca/extension/helper/impl/package-summary.html | 189 ++++++ .../sca/extension/helper/impl/package-tree.html | 167 +++++ .../sca/extension/helper/package-frame.html | 38 ++ .../sca/extension/helper/package-summary.html | 167 +++++ .../tuscany/sca/extension/helper/package-tree.html | 149 +++++ .../extension/helper/utils/AbstractBinding.html | 446 +++++++++++++ .../helper/utils/AbstractImplementation.html | 693 +++++++++++++++++++++ .../utils/AbstractStAXArtifactProcessor.html | 376 +++++++++++ ...tyValueObjectFactory.ListObjectFactoryImpl.html | 288 +++++++++ ...opertyValueObjectFactory.ObjectFactoryImpl.html | 288 +++++++++ ...tyValueObjectFactory.ObjectFactoryImplBase.html | 372 +++++++++++ .../utils/DefaultPropertyValueObjectFactory.html | 347 +++++++++++ .../helper/utils/DynamicImplementation.html | 335 ++++++++++ .../helper/utils/PropertyValueObjectFactory.html | 207 ++++++ .../sca/extension/helper/utils/ResourceHelper.html | 254 ++++++++ .../sca/extension/helper/utils/package-frame.html | 53 ++ .../extension/helper/utils/package-summary.html | 192 ++++++ .../sca/extension/helper/utils/package-tree.html | 166 +++++ 31 files changed, 8779 insertions(+) create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/BindingActivator.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/ComponentLifecycle.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/ImplementationActivator.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/InvokerFactory.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/BindingSCDLProcessor.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/BindingsActivator.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/DiscoveryUtils.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/ImplementationImplementationProvider.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/ImplementationsActivator.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/PojoBinding.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/PojoImplementation.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/SCDLProcessor.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/package-frame.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/package-summary.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/package-tree.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/package-frame.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/package-summary.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/package-tree.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/AbstractBinding.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/AbstractImplementation.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/AbstractStAXArtifactProcessor.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DefaultPropertyValueObjectFactory.ListObjectFactoryImpl.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DefaultPropertyValueObjectFactory.ObjectFactoryImpl.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DefaultPropertyValueObjectFactory.ObjectFactoryImplBase.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DefaultPropertyValueObjectFactory.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DynamicImplementation.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/PropertyValueObjectFactory.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/ResourceHelper.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/package-frame.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/package-summary.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/package-tree.html (limited to 'site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper') diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/BindingActivator.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/BindingActivator.html new file mode 100644 index 0000000000..43915ef4f6 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/BindingActivator.html @@ -0,0 +1,290 @@ + + + + + + +BindingActivator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper +
+Interface BindingActivator<B>

+
+
All Known Implementing Classes:
DWRBindingActivator
+
+
+
+
public interface BindingActivator<B>
+ + +

+A BindingActivator adds an SCA binding type to the Tuscany runtime. + + The SCDL XML used for the binding is derived from the name of the + class returned from the getBindingClass method - the package name and + any trailing "Binding" string is removed, leading upper case characters + are converted to lowercase, and the suffix "binding." is added. + For example if getBindingClass returns a class named "mypkg.FooBinding" + then the SCDL for the binding will be . + + Attributes of the SCDL are based on the getters/setters of + the binding class. So if FooBinding had getBar/setBar then there + would be an attribute name 'bar', for example, . + + BindingActivator implementations may use constructor arguments to have + Tuscany ExtensionPointRegistry objects passed in on their constructor. + For example: + + public class MyBindingActivator implements BindingActivator { + ServletHost servletHost; + public MyBindingActivator(ServletHost servletHost) { + this.servletHost = servletHost; + } + ... + } + + BindingActivator implementations are discovered by the Tuscany runtime + using the J2SE jar file extensions for service provider discovery. All + that means is packaging the new binding type in a jar which contains a + file META-INF/services/org.apache.tuscany.sca.extension.helper.BindingActivator and + that file lists the BindingActivator implementation class name. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ InvokerFactorycreateInvokerFactory(RuntimeComponent rc, + RuntimeComponentReference rcr, + Binding b, + B pojoBinding) + +
+           
+ ComponentLifecyclecreateService(RuntimeComponent rc, + RuntimeComponentService rcs, + Binding b, + B pojoBinding) + +
+           
+ java.lang.Class<B>getBindingClass() + +
+           
+  +

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

+getBindingClass

+
+java.lang.Class<B> getBindingClass()
+
+
+
+
+
+
+ +

+createInvokerFactory

+
+InvokerFactory createInvokerFactory(RuntimeComponent rc,
+                                    RuntimeComponentReference rcr,
+                                    Binding b,
+                                    B pojoBinding)
+
+
+
+
+
+
+ +

+createService

+
+ComponentLifecycle createService(RuntimeComponent rc,
+                                 RuntimeComponentService rcs,
+                                 Binding b,
+                                 B pojoBinding)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/ComponentLifecycle.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/ComponentLifecycle.html new file mode 100644 index 0000000000..3a6e48006e --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/ComponentLifecycle.html @@ -0,0 +1,230 @@ + + + + + + +ComponentLifecycle + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper +
+Interface ComponentLifecycle

+
+
All Known Implementing Classes:
DWRInvokerFactory, DWRService
+
+
+
+
public interface ComponentLifecycle
+ + +

+Interface that defines the Component Lifecycle methods. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidstart() + +
+           
+ voidstop() + +
+           
+  +

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

+start

+
+void start()
+
+
+
+
+
+
+ +

+stop

+
+void stop()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/ImplementationActivator.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/ImplementationActivator.html new file mode 100644 index 0000000000..45616f60ed --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/ImplementationActivator.html @@ -0,0 +1,263 @@ + + + + + + +ImplementationActivator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper +
+Interface ImplementationActivator<T>

+
+
All Known Implementing Classes:
ScriptImplementationActivator
+
+
+
+
public interface ImplementationActivator<T>
+ + +

+An ImplementationActivator adds an SCA implementation type to the Tuscany runtime. + + The SCDL XML used for the implementation is derived from the name of the + class returned from the getImplementationClass method - the package name and + any trailing "Implementation" string is removed, leading upper case characters + are converted to lowercase, and the suffix "implementation." is added. For + example if getImplementationClass returns a class named "mypkg.FooImplementation" + then the SCDL for the implementation will be . + + Attributes of the SCDL are based on the getters/setters of + the Implementation class. So if FooImplementation had getBar/setBar then there + would be an attribute name 'bar', for example, . + + BindingActivator implementations may use constructor arguments to have + Tuscany ExtensionPointRegistry objects passed in on their constructor. + For example: + + public class MyImplementationActivator implements ImplementationActivator { + ServletHost servletHost; + public MyImplementationActivator(ServletHost servletHost) { + this.servletHost = servletHost; + } + ... + } + + ImplementationActivator implementations are discovered by the Tuscany runtime + using the J2SE jar file extensions for service provider discovery. All + that means is packaging the new binding type in a jar which contains a + file META-INF/services/org.apache.tuscany.sca.extension.helper.ImplementationActivator and + that file lists the ImplementationActivator implementation class name. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ InvokerFactorycreateInvokerFactory(RuntimeComponent rc, + ComponentType ct, + T implementation) + +
+           
+ java.lang.Class<T>getImplementationClass() + +
+           
+  +

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

+getImplementationClass

+
+java.lang.Class<T> getImplementationClass()
+
+
+
+
+
+
+ +

+createInvokerFactory

+
+InvokerFactory createInvokerFactory(RuntimeComponent rc,
+                                    ComponentType ct,
+                                    T implementation)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/InvokerFactory.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/InvokerFactory.html new file mode 100644 index 0000000000..315750b892 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/InvokerFactory.html @@ -0,0 +1,211 @@ + + + + + + +InvokerFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper +
+Interface InvokerFactory

+
+
All Known Implementing Classes:
DWRInvokerFactory, ScriptInvokerFactory
+
+
+
+
public interface InvokerFactory
+ + +

+Interface that defines the methods for an Invoker Factory. +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ InvokercreateInvoker(Operation operation) + +
+           
+  +

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

+createInvoker

+
+Invoker createInvoker(Operation operation)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/BindingSCDLProcessor.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/BindingSCDLProcessor.html new file mode 100644 index 0000000000..89a54d88e6 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/BindingSCDLProcessor.html @@ -0,0 +1,528 @@ + + + + + + +BindingSCDLProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper.impl +
+Class BindingSCDLProcessor

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.extension.helper.impl.BindingSCDLProcessor
+
+
+
All Implemented Interfaces:
ArtifactProcessor, StAXArtifactProcessor
+
+
+
+
public class BindingSCDLProcessor
extends java.lang.Object
implements StAXArtifactProcessor
+ + +

+An SCDL ArtifactProcessor which uses the Binding class getters/setters + to define the SCDL attributes. + + TODO: merge this with SCDLProcessor +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  java.util.Map<java.lang.String,java.lang.reflect.Method>attributeSetters + +
+           
+protected  java.lang.Class<Binding>bindingClass + +
+           
+protected  java.lang.reflect.MethodelementTextSetter + +
+           
+protected  javax.xml.namespace.QNamescdlQName + +
+           
+  + + + + + + + + + + +
+Constructor Summary
BindingSCDLProcessor(javax.xml.namespace.QName scdlQName, + java.lang.Class<Binding> implementationClass) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ javax.xml.namespace.QNamegetArtifactType() + +
+          Returns the type of artifact handled by this artifact processor.
+protected  java.lang.StringgetFieldName(java.lang.reflect.Method m) + +
+          Remove get/set from method name, set 1st char to lowercase and + remove any trailing underscore character
+ java.lang.ClassgetModelType() + +
+          Returns the type of model handled by this artifact processor.
+protected  voidinitAttributes() + +
+           
+ Bindingread(javax.xml.stream.XMLStreamReader reader) + +
+          Reads a model from an XMLStreamReader.
+ voidresolve(java.lang.Object model, + ModelResolver resolver) + +
+          Resolve references from this model to other models.
+ voidwrite(java.lang.Object model, + 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
+  +

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

+scdlQName

+
+protected javax.xml.namespace.QName scdlQName
+
+
+
+
+
+ +

+bindingClass

+
+protected java.lang.Class<Binding> bindingClass
+
+
+
+
+
+ +

+attributeSetters

+
+protected java.util.Map<java.lang.String,java.lang.reflect.Method> attributeSetters
+
+
+
+
+
+ +

+elementTextSetter

+
+protected java.lang.reflect.Method elementTextSetter
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+BindingSCDLProcessor

+
+public BindingSCDLProcessor(javax.xml.namespace.QName scdlQName,
+                            java.lang.Class<Binding> implementationClass)
+
+
+ + + + + + + + +
+Method Detail
+ +

+initAttributes

+
+protected void initAttributes()
+
+
+
+
+
+
+
+
+
+ +

+getFieldName

+
+protected java.lang.String getFieldName(java.lang.reflect.Method m)
+
+
Remove get/set from method name, set 1st char to lowercase and + remove any trailing underscore character +

+

+
+
+
+
+
+
+
+ +

+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
+
+
+ +
Returns:
The type of artifact handled by this artifact processor
+
+
+
+ +

+getModelType

+
+public java.lang.Class getModelType()
+
+
Description copied from interface: ArtifactProcessor
+
Returns the type of model handled by this artifact processor. +

+

+
Specified by:
getModelType in interface ArtifactProcessor
+
+
+ +
Returns:
The type of model handled by this artifact processor
+
+
+
+ +

+read

+
+public Binding 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
+
+
+
Parameters:
reader - The XMLStreamReader +
Returns:
A model representation of the input. +
Throws: +
ContributionReadException +
javax.xml.stream.XMLStreamException
+
+
+
+ +

+resolve

+
+public void resolve(java.lang.Object model,
+                    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
+
+
+
Parameters:
model - The model to resolve
resolver - The resolver to use to resolve referenced models +
Throws: +
ContributionResolveException
+
+
+
+ +

+write

+
+public void write(java.lang.Object model,
+                  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
+
+
+
Parameters:
model - A model representing the source
writer - The XML stream writer +
Throws: +
ContributionWriteException +
javax.xml.stream.XMLStreamException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/BindingsActivator.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/BindingsActivator.html new file mode 100644 index 0000000000..b25aef2a50 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/BindingsActivator.html @@ -0,0 +1,382 @@ + + + + + + +BindingsActivator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper.impl +
+Class BindingsActivator

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

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  AssemblyFactoryassemblyFactory + +
+           
+protected  java.util.Map<java.lang.Class,BindingActivator>bindingActivatorMap + +
+           
+protected  java.util.List<BindingActivator>bindingActivators + +
+           
+  + + + + + + + + + + +
+Constructor Summary
BindingsActivator() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  javax.xml.namespace.QNamegetBindingQName(java.lang.Class bindingClass) + +
+           
+ 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
+  +

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

+bindingActivators

+
+protected java.util.List<BindingActivator> bindingActivators
+
+
+
+
+
+ +

+assemblyFactory

+
+protected AssemblyFactory assemblyFactory
+
+
+
+
+
+ +

+bindingActivatorMap

+
+protected java.util.Map<java.lang.Class,BindingActivator> bindingActivatorMap
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+BindingsActivator

+
+public BindingsActivator()
+
+
+ + + + + + + + +
+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
+
+
+
+ +

+getBindingQName

+
+protected javax.xml.namespace.QName getBindingQName(java.lang.Class bindingClass)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/DiscoveryUtils.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/DiscoveryUtils.html new file mode 100644 index 0000000000..9ad2f01f0f --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/DiscoveryUtils.html @@ -0,0 +1,264 @@ + + + + + + +DiscoveryUtils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper.impl +
+Class DiscoveryUtils

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.extension.helper.impl.DiscoveryUtils
+
+
+
+
public class DiscoveryUtils
extends java.lang.Object
+ + +

+Discovers Activators in the classpath using the J2SE + jar file extensions for Service Provider discovery +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
DiscoveryUtils() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static + + + + +
+<T> java.util.List<T>
+
discoverActivators(java.lang.Class<T> activatorClass, + ExtensionPointRegistry registry) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+DiscoveryUtils

+
+public DiscoveryUtils()
+
+
+ + + + + + + + +
+Method Detail
+ +

+discoverActivators

+
+public static <T> java.util.List<T> discoverActivators(java.lang.Class<T> activatorClass,
+                                                       ExtensionPointRegistry registry)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/ImplementationImplementationProvider.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/ImplementationImplementationProvider.html new file mode 100644 index 0000000000..bdc1785a4a --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/ImplementationImplementationProvider.html @@ -0,0 +1,364 @@ + + + + + + +ImplementationImplementationProvider + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper.impl +
+Class ImplementationImplementationProvider

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.extension.helper.impl.ImplementationImplementationProvider
+
+
+
All Implemented Interfaces:
ImplementationProvider
+
+
+
+
public class ImplementationImplementationProvider
extends java.lang.Object
implements ImplementationProvider
+ + +

+The ImplementationProvider createInvoker method is called before the start method + but the runtime isn't properly setup until the start method is called. This means + that Invoker's can't initialize things like the services, references and properties + until start is called. This class tries to get around that by using an Invoker + proxy that delays creating the real Invoker till start is called. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ImplementationImplementationProvider(ImplementationActivator implementationActivator, + RuntimeComponent rc, + Implementation impl, + java.lang.Object userImpl) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ InvokercreateInvoker(RuntimeComponentService arg0, + Operation op) + +
+          Create an invoker for the component implementation in the invocation + chain.
+ 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
+ +

+ImplementationImplementationProvider

+
+public ImplementationImplementationProvider(ImplementationActivator implementationActivator,
+                                            RuntimeComponent rc,
+                                            Implementation impl,
+                                            java.lang.Object userImpl)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createInvoker

+
+public Invoker createInvoker(RuntimeComponentService arg0,
+                             Operation op)
+
+
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:
arg0 - The component service
op - 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
+
+
+
+ +

+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
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/ImplementationsActivator.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/ImplementationsActivator.html new file mode 100644 index 0000000000..a511898aff --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/ImplementationsActivator.html @@ -0,0 +1,350 @@ + + + + + + +ImplementationsActivator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper.impl +
+Class ImplementationsActivator

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

+A Tuscany ModuleActivator which activates all the ImplementationActivators +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+protected  java.util.List<ImplementationActivator>implementationActivators + +
+           
+  + + + + + + + + + + +
+Constructor Summary
ImplementationsActivator() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  javax.xml.namespace.QNamegetSCDLQName(java.lang.Class implementationClass) + +
+           
+ 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
+  +

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

+implementationActivators

+
+protected java.util.List<ImplementationActivator> implementationActivators
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+ImplementationsActivator

+
+public ImplementationsActivator()
+
+
+ + + + + + + + +
+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
+
+
+
+ +

+getSCDLQName

+
+protected javax.xml.namespace.QName getSCDLQName(java.lang.Class implementationClass)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/PojoBinding.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/PojoBinding.html new file mode 100644 index 0000000000..4713191844 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/PojoBinding.html @@ -0,0 +1,263 @@ + + + + + + +PojoBinding + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper.impl +
+Class PojoBinding

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.extension.helper.utils.AbstractBinding
+      extended by org.apache.tuscany.sca.extension.helper.impl.PojoBinding
+
+
+
All Implemented Interfaces:
java.lang.Cloneable, Base, Binding
+
+
+
+
public class PojoBinding
extends AbstractBinding
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
PojoBinding(java.lang.Object userImpl) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.ObjectgetUserBinding() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.extension.helper.utils.AbstractBinding
clone, getExtensions, getName, getURI, isUnresolved, setName, setUnresolved, setURI
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+PojoBinding

+
+public PojoBinding(java.lang.Object userImpl)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUserBinding

+
+public java.lang.Object getUserBinding()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/PojoImplementation.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/PojoImplementation.html new file mode 100644 index 0000000000..f79d02efcd --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/PojoImplementation.html @@ -0,0 +1,298 @@ + + + + + + +PojoImplementation + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper.impl +
+Class PojoImplementation<Implementation>

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.extension.helper.utils.AbstractImplementation
+      extended by org.apache.tuscany.sca.extension.helper.utils.DynamicImplementation
+          extended by org.apache.tuscany.sca.extension.helper.impl.PojoImplementation<Implementation>
+
+
+
All Implemented Interfaces:
Base, ComponentPreProcessor, ComponentType, Implementation
+
+
+
+
public class PojoImplementation<Implementation>
extends DynamicImplementation
+ + +

+Enables Implementation extensions to use a simple POJO + for the implementation object instead of requiring + implementing the Implementation interface. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
PojoImplementation(java.lang.Object userImpl) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.ObjectgetUserImpl() + +
+           
+ voidresolve(ModelResolver resolver) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.extension.helper.utils.DynamicImplementation
createProperty, createReference, createService, preProcess
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.extension.helper.utils.AbstractImplementation
getApplicablePolicySets, getConfiguredOperations, getConstrainingType, getExtensions, getPolicySets, getProperties, getProptery, getReference, getReferences, getRequiredIntents, getService, getServices, getType, getURI, isUnresolved, setConstrainingType, setType, setUnresolved, setURI
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+PojoImplementation

+
+public PojoImplementation(java.lang.Object userImpl)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUserImpl

+
+public java.lang.Object getUserImpl()
+
+
+
+
+
+
+ +

+resolve

+
+public void resolve(ModelResolver resolver)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/SCDLProcessor.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/SCDLProcessor.html new file mode 100644 index 0000000000..55e8fe44e3 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/SCDLProcessor.html @@ -0,0 +1,563 @@ + + + + + + +SCDLProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper.impl +
+Class SCDLProcessor

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.extension.helper.utils.AbstractStAXArtifactProcessor<Implementation>
+      extended by org.apache.tuscany.sca.extension.helper.impl.SCDLProcessor
+
+
+
All Implemented Interfaces:
ArtifactProcessor<Implementation>, StAXArtifactProcessor<Implementation>
+
+
+
+
public class SCDLProcessor
extends AbstractStAXArtifactProcessor<Implementation>
+ + +

+An SCDL ArtifactProcessor which uses the Implementation class getters/setters + to define the SCDL attributes. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  java.util.Map<java.lang.String,java.lang.reflect.Method>attributeSetters + +
+           
+protected  java.lang.reflect.MethodelementTextSetter + +
+           
+protected  ModelFactoryExtensionPointfactories + +
+           
+protected  java.lang.Class<Implementation>implementationClass + +
+           
+protected  ExtensionPointRegistryregistry + +
+           
+protected  javax.xml.namespace.QNamescdlQName + +
+           
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.extension.helper.utils.AbstractStAXArtifactProcessor
assemblyFactory
+  + + + + + + + + + + +
+Constructor Summary
SCDLProcessor(AssemblyFactory assemblyFactory, + javax.xml.namespace.QName scdlQName, + java.lang.Class<Implementation> implementationClass, + ExtensionPointRegistry registry, + ModelFactoryExtensionPoint factories) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidaddSideFileComponentType(java.lang.String name, + Implementation impl, + ModelResolver resolver) + +
+           
+ javax.xml.namespace.QNamegetArtifactType() + +
+          Returns the type of artifact handled by this artifact processor.
+protected  java.lang.StringgetFieldName(java.lang.reflect.Method m) + +
+          Remove get/set from method name, set 1st char to lowercase and + remove any trailing underscore character
+ java.lang.Class<Implementation>getModelType() + +
+          Returns the type of model handled by this artifact processor.
+protected  voidinitAttributes() + +
+           
+ Implementationread(javax.xml.stream.XMLStreamReader reader) + +
+          Reads a model from an XMLStreamReader.
+ voidwrite(Implementation arg0, + javax.xml.stream.XMLStreamWriter arg1) + +
+          Writes a model to an XMLStreamWriter.
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.extension.helper.utils.AbstractStAXArtifactProcessor
createDynamicService, resolve
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+scdlQName

+
+protected javax.xml.namespace.QName scdlQName
+
+
+
+
+
+ +

+implementationClass

+
+protected java.lang.Class<Implementation> implementationClass
+
+
+
+
+
+ +

+registry

+
+protected ExtensionPointRegistry registry
+
+
+
+
+
+ +

+factories

+
+protected ModelFactoryExtensionPoint factories
+
+
+
+
+
+ +

+attributeSetters

+
+protected java.util.Map<java.lang.String,java.lang.reflect.Method> attributeSetters
+
+
+
+
+
+ +

+elementTextSetter

+
+protected java.lang.reflect.Method elementTextSetter
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+SCDLProcessor

+
+public SCDLProcessor(AssemblyFactory assemblyFactory,
+                     javax.xml.namespace.QName scdlQName,
+                     java.lang.Class<Implementation> implementationClass,
+                     ExtensionPointRegistry registry,
+                     ModelFactoryExtensionPoint factories)
+
+
+ + + + + + + + +
+Method Detail
+ +

+initAttributes

+
+protected void initAttributes()
+
+
+
+
+
+
+ +

+getFieldName

+
+protected java.lang.String getFieldName(java.lang.reflect.Method m)
+
+
Remove get/set from method name, set 1st char to lowercase and + remove any trailing underscore character +

+

+
+
+
+
+ +

+getArtifactType

+
+public javax.xml.namespace.QName getArtifactType()
+
+
Description copied from interface: StAXArtifactProcessor
+
Returns the type of artifact handled by this artifact processor. +

+

+ +
Returns:
The type of artifact handled by this artifact processor
+
+
+
+ +

+getModelType

+
+public java.lang.Class<Implementation> getModelType()
+
+
Description copied from interface: ArtifactProcessor
+
Returns the type of model handled by this artifact processor. +

+

+ +
Returns:
The type of model handled by this artifact processor
+
+
+
+ +

+read

+
+public Implementation read(javax.xml.stream.XMLStreamReader reader)
+                    throws ContributionReadException,
+                           javax.xml.stream.XMLStreamException
+
+
Description copied from interface: StAXArtifactProcessor
+
Reads a model from an XMLStreamReader. +

+

+
Parameters:
reader - The XMLStreamReader +
Returns:
A model representation of the input. +
Throws: +
ContributionReadException +
javax.xml.stream.XMLStreamException
+
+
+
+ +

+write

+
+public void write(Implementation arg0,
+                  javax.xml.stream.XMLStreamWriter arg1)
+           throws ContributionWriteException,
+                  javax.xml.stream.XMLStreamException
+
+
Description copied from interface: StAXArtifactProcessor
+
Writes a model to an XMLStreamWriter. +

+

+
Parameters:
arg0 - A model representing the source
arg1 - The XML stream writer +
Throws: +
ContributionWriteException +
javax.xml.stream.XMLStreamException
+
+
+
+ +

+addSideFileComponentType

+
+protected void addSideFileComponentType(java.lang.String name,
+                                        Implementation impl,
+                                        ModelResolver resolver)
+
+
+
Overrides:
addSideFileComponentType in class AbstractStAXArtifactProcessor<Implementation>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/package-frame.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/package-frame.html new file mode 100644 index 0000000000..b8847aca11 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/package-frame.html @@ -0,0 +1,46 @@ + + + + + + +org.apache.tuscany.sca.extension.helper.impl + + + + + + + + + + + +org.apache.tuscany.sca.extension.helper.impl + + + + +
+Classes  + +
+BindingsActivator +
+BindingSCDLProcessor +
+DiscoveryUtils +
+ImplementationImplementationProvider +
+ImplementationsActivator +
+PojoBinding +
+PojoImplementation +
+SCDLProcessor
+ + + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/package-summary.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/package-summary.html new file mode 100644 index 0000000000..13e08c4009 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/impl/package-summary.html @@ -0,0 +1,189 @@ + + + + + + +org.apache.tuscany.sca.extension.helper.impl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.apache.tuscany.sca.extension.helper.impl +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
BindingsActivator 
BindingSCDLProcessorAn SCDL ArtifactProcessor which uses the Binding class getters/setters + to define the SCDL attributes.
DiscoveryUtilsDiscovers Activators in the classpath using the J2SE + jar file extensions for Service Provider discovery
ImplementationImplementationProviderThe ImplementationProvider createInvoker method is called before the start method + but the runtime isn't properly setup until the start method is called.
ImplementationsActivatorA Tuscany ModuleActivator which activates all the ImplementationActivators
PojoBinding 
PojoImplementation<Implementation>Enables Implementation extensions to use a simple POJO + for the implementation object instead of requiring + implementing the Implementation interface.
SCDLProcessorAn SCDL ArtifactProcessor which uses the Implementation class getters/setters + to define the SCDL attributes.
+  + +

+

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

+Hierarchy For Package org.apache.tuscany.sca.extension.helper.impl +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/package-frame.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/package-frame.html new file mode 100644 index 0000000000..2164dd2022 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/package-frame.html @@ -0,0 +1,38 @@ + + + + + + +org.apache.tuscany.sca.extension.helper + + + + + + + + + + + +org.apache.tuscany.sca.extension.helper + + + + +
+Interfaces  + +
+BindingActivator +
+ComponentLifecycle +
+ImplementationActivator +
+InvokerFactory
+ + + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/package-summary.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/package-summary.html new file mode 100644 index 0000000000..2fa1d23d8c --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/package-summary.html @@ -0,0 +1,167 @@ + + + + + + +org.apache.tuscany.sca.extension.helper + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.apache.tuscany.sca.extension.helper +

+ + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
BindingActivator<B>A BindingActivator adds an SCA binding type to the Tuscany runtime.
ComponentLifecycleInterface that defines the Component Lifecycle methods.
ImplementationActivator<T>An ImplementationActivator adds an SCA implementation type to the Tuscany runtime.
InvokerFactoryInterface that defines the methods for an Invoker Factory.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/package-tree.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/package-tree.html new file mode 100644 index 0000000000..fd60f96200 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/package-tree.html @@ -0,0 +1,149 @@ + + + + + + +org.apache.tuscany.sca.extension.helper Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.apache.tuscany.sca.extension.helper +

+
+
+
Package Hierarchies:
All Packages
+
+

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/AbstractBinding.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/AbstractBinding.html new file mode 100644 index 0000000000..4b6a88b3e3 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/AbstractBinding.html @@ -0,0 +1,446 @@ + + + + + + +AbstractBinding + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper.utils +
+Class AbstractBinding

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.extension.helper.utils.AbstractBinding
+
+
+
All Implemented Interfaces:
java.lang.Cloneable, Base, Binding
+
+
+
Direct Known Subclasses:
PojoBinding
+
+
+
+
public class AbstractBinding
extends java.lang.Object
implements Binding
+ + +

+Helper for implementing Bindings, implements all the + standard getters and setters on the binding interface. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AbstractBinding() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.Objectclone() + +
+          Clone the binding
+ java.util.List<java.lang.Object>getExtensions() + +
+           
+ java.lang.StringgetName() + +
+          Returns the binding name.
+ java.lang.StringgetURI() + +
+          Returns the binding URI.
+ booleanisUnresolved() + +
+          Returns true if the model element is unresolved.
+ voidsetName(java.lang.String name) + +
+          Sets the binding name.
+ voidsetUnresolved(boolean unresolved) + +
+          Sets whether the model element is unresolved.
+ voidsetURI(java.lang.String uri) + +
+          Sets the binding URI.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+AbstractBinding

+
+public AbstractBinding()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getName

+
+public java.lang.String getName()
+
+
Description copied from interface: Binding
+
Returns the binding name. +

+

+
Specified by:
getName in interface Binding
+
+
+ +
Returns:
the binding name
+
+
+
+ +

+getURI

+
+public java.lang.String getURI()
+
+
Description copied from interface: Binding
+
Returns the binding URI. +

+

+
Specified by:
getURI in interface Binding
+
+
+ +
Returns:
the binding URI
+
+
+
+ +

+setName

+
+public void setName(java.lang.String name)
+
+
Description copied from interface: Binding
+
Sets the binding name. +

+

+
Specified by:
setName in interface Binding
+
+
+
Parameters:
name - the binding name
+
+
+
+ +

+setURI

+
+public void setURI(java.lang.String uri)
+
+
Description copied from interface: Binding
+
Sets the binding URI. +

+

+
Specified by:
setURI in interface Binding
+
+
+
Parameters:
uri - the binding URI
+
+
+
+ +

+getExtensions

+
+public java.util.List<java.lang.Object> getExtensions()
+
+
+
+
+
+
+
+
+
+ +

+isUnresolved

+
+public boolean isUnresolved()
+
+
Description copied from interface: Base
+
Returns true if the model element is unresolved. +

+

+
Specified by:
isUnresolved in interface Base
+
+
+ +
Returns:
true if the model element is unresolved.
+
+
+
+ +

+setUnresolved

+
+public void setUnresolved(boolean unresolved)
+
+
Description copied from interface: Base
+
Sets whether the model element is unresolved. +

+

+
Specified by:
setUnresolved in interface Base
+
+
+
Parameters:
unresolved - whether the model element is unresolved
+
+
+
+ +

+clone

+
+public java.lang.Object clone()
+                       throws java.lang.CloneNotSupportedException
+
+
Description copied from interface: Binding
+
Clone the binding +

+

+
Specified by:
clone in interface Binding
Overrides:
clone in class java.lang.Object
+
+
+ +
Returns:
+
Throws: +
java.lang.CloneNotSupportedException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/AbstractImplementation.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/AbstractImplementation.html new file mode 100644 index 0000000000..35b9733af2 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/AbstractImplementation.html @@ -0,0 +1,693 @@ + + + + + + +AbstractImplementation + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper.utils +
+Class AbstractImplementation

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.extension.helper.utils.AbstractImplementation
+
+
+
All Implemented Interfaces:
Base, ComponentType, Implementation
+
+
+
Direct Known Subclasses:
DynamicImplementation
+
+
+
+
public abstract class AbstractImplementation
extends java.lang.Object
implements Implementation
+ + +

+Helper for implementing Implementations, implements all the + standard getters and setters on the Implementation interface. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AbstractImplementation() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.List<PolicySet>getApplicablePolicySets() + +
+           
+ java.util.List<ConfiguredOperation>getConfiguredOperations() + +
+           
+ ConstrainingTypegetConstrainingType() + +
+          Returns a constraining type defining the shape of the implementation.
+ java.util.List<java.lang.Object>getExtensions() + +
+           
+ java.util.List<PolicySet>getPolicySets() + +
+           
+ java.util.List<Property>getProperties() + +
+          Returns the list of properties that can be set.
+ PropertygetProptery(java.lang.String name) + +
+           
+ ReferencegetReference(java.lang.String name) + +
+           
+ java.util.List<Reference>getReferences() + +
+          Returns the list of reference types that are used.
+ java.util.List<Intent>getRequiredIntents() + +
+           
+ ServicegetService(java.lang.String name) + +
+           
+ java.util.List<Service>getServices() + +
+          Returns a list of services that are offered.
+ IntentAttachPointTypegetType() + +
+           
+ java.lang.StringgetURI() + +
+          Returns the URI of this component type.
+ booleanisUnresolved() + +
+          Returns true if the model element is unresolved.
+ voidsetConstrainingType(ConstrainingType constrainingType) + +
+          Sets a constraining type defining the shape of the implementation.
+ voidsetType(IntentAttachPointType type) + +
+           
+ voidsetUnresolved(boolean unresolved) + +
+          Sets whether the model element is unresolved.
+ voidsetURI(java.lang.String uri) + +
+          Sets the URI of this component type.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+AbstractImplementation

+
+public AbstractImplementation()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getProperties

+
+public java.util.List<Property> getProperties()
+
+
Description copied from interface: ComponentType
+
Returns the list of properties that can be set. +

+

+
Specified by:
getProperties in interface ComponentType
+
+
+ +
Returns:
the list of properties that can be set
+
+
+
+ +

+getReferences

+
+public java.util.List<Reference> getReferences()
+
+
Description copied from interface: ComponentType
+
Returns the list of reference types that are used. +

+

+
Specified by:
getReferences in interface ComponentType
+
+
+ +
Returns:
the list of reference types that are used
+
+
+
+ +

+getServices

+
+public java.util.List<Service> getServices()
+
+
Description copied from interface: ComponentType
+
Returns a list of services that are offered. +

+

+
Specified by:
getServices in interface ComponentType
+
+
+ +
Returns:
a list of services that are offered
+
+
+
+ +

+getURI

+
+public java.lang.String getURI()
+
+
Description copied from interface: ComponentType
+
Returns the URI of this component type. +

+

+
Specified by:
getURI in interface ComponentType
+
+
+ +
Returns:
the URI of the component type
+
+
+
+ +

+setURI

+
+public void setURI(java.lang.String uri)
+
+
Description copied from interface: ComponentType
+
Sets the URI of this component type. +

+

+
Specified by:
setURI in interface ComponentType
+
+
+
Parameters:
uri - the URI of the component type
+
+
+
+ +

+getConstrainingType

+
+public ConstrainingType getConstrainingType()
+
+
Description copied from interface: ComponentType
+
Returns a constraining type defining the shape of the implementation. +

+

+
Specified by:
getConstrainingType in interface ComponentType
+
+
+ +
Returns:
a constraining type
+
+
+
+ +

+setConstrainingType

+
+public void setConstrainingType(ConstrainingType constrainingType)
+
+
Description copied from interface: ComponentType
+
Sets a constraining type defining the shape of the implementation. +

+

+
Specified by:
setConstrainingType in interface ComponentType
+
+
+
Parameters:
constrainingType - the constraining type to set
+
+
+
+ +

+getExtensions

+
+public java.util.List<java.lang.Object> getExtensions()
+
+
+
+
+
+
+
+
+
+ +

+isUnresolved

+
+public boolean isUnresolved()
+
+
Description copied from interface: Base
+
Returns true if the model element is unresolved. +

+

+
Specified by:
isUnresolved in interface Base
+
+
+ +
Returns:
true if the model element is unresolved.
+
+
+
+ +

+setUnresolved

+
+public void setUnresolved(boolean unresolved)
+
+
Description copied from interface: Base
+
Sets whether the model element is unresolved. +

+

+
Specified by:
setUnresolved in interface Base
+
+
+
Parameters:
unresolved - whether the model element is unresolved
+
+
+
+ +

+getService

+
+public Service getService(java.lang.String name)
+
+
+
+
+
+
+
+
+
+ +

+getReference

+
+public Reference getReference(java.lang.String name)
+
+
+
+
+
+
+
+
+
+ +

+getProptery

+
+public Property getProptery(java.lang.String name)
+
+
+
+
+
+
+
+
+
+ +

+getConfiguredOperations

+
+public java.util.List<ConfiguredOperation> getConfiguredOperations()
+
+
+
+
+
+
+
+
+
+ +

+getApplicablePolicySets

+
+public java.util.List<PolicySet> getApplicablePolicySets()
+
+
+
+
+
+
+
+
+
+ +

+getPolicySets

+
+public java.util.List<PolicySet> getPolicySets()
+
+
+
+
+
+
+
+
+
+ +

+getRequiredIntents

+
+public java.util.List<Intent> getRequiredIntents()
+
+
+
+
+
+
+
+
+
+ +

+getType

+
+public IntentAttachPointType getType()
+
+
+
+
+
+
+
+
+
+ +

+setType

+
+public void setType(IntentAttachPointType type)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/AbstractStAXArtifactProcessor.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/AbstractStAXArtifactProcessor.html new file mode 100644 index 0000000000..2e263eeee2 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/AbstractStAXArtifactProcessor.html @@ -0,0 +1,376 @@ + + + + + + +AbstractStAXArtifactProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper.utils +
+Class AbstractStAXArtifactProcessor<I extends Implementation>

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.extension.helper.utils.AbstractStAXArtifactProcessor<I>
+
+
+
All Implemented Interfaces:
ArtifactProcessor<I>, StAXArtifactProcessor<I>
+
+
+
Direct Known Subclasses:
SCDLProcessor
+
+
+
+
public abstract class AbstractStAXArtifactProcessor<I extends Implementation>
extends java.lang.Object
implements StAXArtifactProcessor<I>
+ + +

+TODO: couldn't something like this class be provided by the runtime? + Each impl shouldn't have to have their own .componentType merging code +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+protected  AssemblyFactoryassemblyFactory + +
+           
+  + + + + + + + + + + +
+Constructor Summary
AbstractStAXArtifactProcessor(AssemblyFactory assemblyFactory) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidaddSideFileComponentType(java.lang.String name, + Implementation impl, + ModelResolver resolver) + +
+           
+protected  ServicecreateDynamicService() + +
+           
+ voidresolve(I model, + ModelResolver resolver) + +
+          Resolve references from this model to other models.
+ + + + + + + +
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.contribution.processor.StAXArtifactProcessor
getArtifactType, read, write
+ + + + + + + +
Methods inherited from interface org.apache.tuscany.sca.contribution.processor.ArtifactProcessor
getModelType
+  +

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

+assemblyFactory

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

+AbstractStAXArtifactProcessor

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

+resolve

+
+public void resolve(I model,
+                    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<I extends Implementation>
+
+
+
Parameters:
model - The model to resolve
resolver - The resolver to use to resolve referenced models +
Throws: +
ContributionResolveException
+
+
+
+ +

+addSideFileComponentType

+
+protected void addSideFileComponentType(java.lang.String name,
+                                        Implementation impl,
+                                        ModelResolver resolver)
+
+
+
+
+
+
+
+
+
+ +

+createDynamicService

+
+protected Service createDynamicService()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DefaultPropertyValueObjectFactory.ListObjectFactoryImpl.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DefaultPropertyValueObjectFactory.ListObjectFactoryImpl.html new file mode 100644 index 0000000000..dd358478ba --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DefaultPropertyValueObjectFactory.ListObjectFactoryImpl.html @@ -0,0 +1,288 @@ + + + + + + +DefaultPropertyValueObjectFactory.ListObjectFactoryImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper.utils +
+Class DefaultPropertyValueObjectFactory.ListObjectFactoryImpl

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.extension.helper.utils.DefaultPropertyValueObjectFactory.ObjectFactoryImplBase
+      extended by org.apache.tuscany.sca.extension.helper.utils.DefaultPropertyValueObjectFactory.ListObjectFactoryImpl
+
+
+
All Implemented Interfaces:
ObjectFactory
+
+
+
Enclosing class:
DefaultPropertyValueObjectFactory
+
+
+
+
public class DefaultPropertyValueObjectFactory.ListObjectFactoryImpl
extends DefaultPropertyValueObjectFactory.ObjectFactoryImplBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.extension.helper.utils.DefaultPropertyValueObjectFactory.ObjectFactoryImplBase
javaType, property, propertyValue, simpleTypeMapper, sourceDataType, targetDataType
+  + + + + + + + + + + +
+Constructor Summary
DefaultPropertyValueObjectFactory.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
+ +

+DefaultPropertyValueObjectFactory.ListObjectFactoryImpl

+
+public DefaultPropertyValueObjectFactory.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/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DefaultPropertyValueObjectFactory.ObjectFactoryImpl.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DefaultPropertyValueObjectFactory.ObjectFactoryImpl.html new file mode 100644 index 0000000000..e3083920a9 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DefaultPropertyValueObjectFactory.ObjectFactoryImpl.html @@ -0,0 +1,288 @@ + + + + + + +DefaultPropertyValueObjectFactory.ObjectFactoryImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper.utils +
+Class DefaultPropertyValueObjectFactory.ObjectFactoryImpl

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.extension.helper.utils.DefaultPropertyValueObjectFactory.ObjectFactoryImplBase
+      extended by org.apache.tuscany.sca.extension.helper.utils.DefaultPropertyValueObjectFactory.ObjectFactoryImpl
+
+
+
All Implemented Interfaces:
ObjectFactory
+
+
+
Enclosing class:
DefaultPropertyValueObjectFactory
+
+
+
+
public class DefaultPropertyValueObjectFactory.ObjectFactoryImpl
extends DefaultPropertyValueObjectFactory.ObjectFactoryImplBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.extension.helper.utils.DefaultPropertyValueObjectFactory.ObjectFactoryImplBase
javaType, property, propertyValue, simpleTypeMapper, sourceDataType, targetDataType
+  + + + + + + + + + + +
+Constructor Summary
DefaultPropertyValueObjectFactory.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
+ +

+DefaultPropertyValueObjectFactory.ObjectFactoryImpl

+
+public DefaultPropertyValueObjectFactory.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/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DefaultPropertyValueObjectFactory.ObjectFactoryImplBase.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DefaultPropertyValueObjectFactory.ObjectFactoryImplBase.html new file mode 100644 index 0000000000..d1ed9a8403 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DefaultPropertyValueObjectFactory.ObjectFactoryImplBase.html @@ -0,0 +1,372 @@ + + + + + + +DefaultPropertyValueObjectFactory.ObjectFactoryImplBase + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper.utils +
+Class DefaultPropertyValueObjectFactory.ObjectFactoryImplBase

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.extension.helper.utils.DefaultPropertyValueObjectFactory.ObjectFactoryImplBase
+
+
+
All Implemented Interfaces:
ObjectFactory
+
+
+
Direct Known Subclasses:
DefaultPropertyValueObjectFactory.ListObjectFactoryImpl, DefaultPropertyValueObjectFactory.ObjectFactoryImpl
+
+
+
Enclosing class:
DefaultPropertyValueObjectFactory
+
+
+
+
public abstract class DefaultPropertyValueObjectFactory.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
DefaultPropertyValueObjectFactory.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
+ +

+DefaultPropertyValueObjectFactory.ObjectFactoryImplBase

+
+public DefaultPropertyValueObjectFactory.ObjectFactoryImplBase(Property property,
+                                                               java.lang.Object propertyValue,
+                                                               boolean isSimpleType,
+                                                               java.lang.Class javaType)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DefaultPropertyValueObjectFactory.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DefaultPropertyValueObjectFactory.html new file mode 100644 index 0000000000..49c073a2ae --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DefaultPropertyValueObjectFactory.html @@ -0,0 +1,347 @@ + + + + + + +DefaultPropertyValueObjectFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper.utils +
+Class DefaultPropertyValueObjectFactory

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.extension.helper.utils.DefaultPropertyValueObjectFactory
+
+
+
All Implemented Interfaces:
PropertyValueObjectFactory
+
+
+
+
public class DefaultPropertyValueObjectFactory
extends java.lang.Object
implements PropertyValueObjectFactory
+ + +

+TODO: Shouldn't this class be provided by the runtime? +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Nested Class Summary
+ classDefaultPropertyValueObjectFactory.ListObjectFactoryImpl + +
+           
+ classDefaultPropertyValueObjectFactory.ObjectFactoryImpl + +
+           
+ classDefaultPropertyValueObjectFactory.ObjectFactoryImplBase + +
+           
+ + + + + + + + + + + + + + +
+Field Summary
+protected  Mediatormediator + +
+           
+protected  SimpleTypeMappersimpleTypeMapper + +
+           
+  + + + + + + + + + + +
+Constructor Summary
DefaultPropertyValueObjectFactory(Mediator mediator) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ ObjectFactorycreateValueFactory(Property property) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+mediator

+
+protected Mediator mediator
+
+
+
+
+
+ +

+simpleTypeMapper

+
+protected SimpleTypeMapper simpleTypeMapper
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+DefaultPropertyValueObjectFactory

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

+createValueFactory

+
+public ObjectFactory createValueFactory(Property property)
+
+
+
Specified by:
createValueFactory in interface PropertyValueObjectFactory
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DynamicImplementation.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DynamicImplementation.html new file mode 100644 index 0000000000..75ab240fd0 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/DynamicImplementation.html @@ -0,0 +1,335 @@ + + + + + + +DynamicImplementation + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper.utils +
+Class DynamicImplementation

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.extension.helper.utils.AbstractImplementation
+      extended by org.apache.tuscany.sca.extension.helper.utils.DynamicImplementation
+
+
+
All Implemented Interfaces:
Base, ComponentPreProcessor, ComponentType, Implementation
+
+
+
Direct Known Subclasses:
PojoImplementation
+
+
+
+
public class DynamicImplementation
extends AbstractImplementation
implements ComponentPreProcessor
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
DynamicImplementation() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  PropertycreateProperty(Property property) + +
+           
+protected  ReferencecreateReference(Reference reference) + +
+           
+protected  ServicecreateService(Service service) + +
+           
+ voidpreProcess(Component component) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.extension.helper.utils.AbstractImplementation
getApplicablePolicySets, getConfiguredOperations, getConstrainingType, getExtensions, getPolicySets, getProperties, getProptery, getReference, getReferences, getRequiredIntents, getService, getServices, getType, getURI, isUnresolved, setConstrainingType, setType, setUnresolved, setURI
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+DynamicImplementation

+
+public DynamicImplementation()
+
+
+ + + + + + + + +
+Method Detail
+ +

+preProcess

+
+public void preProcess(Component component)
+
+
+
Specified by:
preProcess in interface ComponentPreProcessor
+
+
+
+
+
+
+ +

+createService

+
+protected Service createService(Service service)
+
+
+
+
+
+
+
+
+
+ +

+createReference

+
+protected Reference createReference(Reference reference)
+
+
+
+
+
+
+
+
+
+ +

+createProperty

+
+protected Property createProperty(Property property)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/PropertyValueObjectFactory.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/PropertyValueObjectFactory.html new file mode 100644 index 0000000000..f8506fdf76 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/PropertyValueObjectFactory.html @@ -0,0 +1,207 @@ + + + + + + +PropertyValueObjectFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper.utils +
+Interface PropertyValueObjectFactory

+
+
All Known Implementing Classes:
DefaultPropertyValueObjectFactory
+
+
+
+
public interface PropertyValueObjectFactory
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ ObjectFactorycreateValueFactory(Property property) + +
+           
+  +

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

+createValueFactory

+
+ObjectFactory createValueFactory(Property property)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/ResourceHelper.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/ResourceHelper.html new file mode 100644 index 0000000000..57682924f3 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/ResourceHelper.html @@ -0,0 +1,254 @@ + + + + + + +ResourceHelper + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.extension.helper.utils +
+Class ResourceHelper

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.extension.helper.utils.ResourceHelper
+
+
+
+
public class ResourceHelper
extends java.lang.Object
+ + +

+TODO: Shouldn't this be using the contribution service? +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ResourceHelper() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static java.lang.StringreadResource(java.net.URL scriptSrcUrl) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+ResourceHelper

+
+public ResourceHelper()
+
+
+ + + + + + + + +
+Method Detail
+ +

+readResource

+
+public static java.lang.String readResource(java.net.URL scriptSrcUrl)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/package-frame.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/package-frame.html new file mode 100644 index 0000000000..299da9a5b3 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/package-frame.html @@ -0,0 +1,53 @@ + + + + + + +org.apache.tuscany.sca.extension.helper.utils + + + + + + + + + + + +org.apache.tuscany.sca.extension.helper.utils + + + + +
+Interfaces  + +
+PropertyValueObjectFactory
+ + + + + + +
+Classes  + +
+AbstractBinding +
+AbstractImplementation +
+AbstractStAXArtifactProcessor +
+DefaultPropertyValueObjectFactory +
+DynamicImplementation +
+ResourceHelper
+ + + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/package-summary.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/package-summary.html new file mode 100644 index 0000000000..b13f899f74 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/package-summary.html @@ -0,0 +1,192 @@ + + + + + + +org.apache.tuscany.sca.extension.helper.utils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.apache.tuscany.sca.extension.helper.utils +

+ + + + + + + + + +
+Interface Summary
PropertyValueObjectFactory 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractBindingHelper for implementing Bindings, implements all the + standard getters and setters on the binding interface.
AbstractImplementationHelper for implementing Implementations, implements all the + standard getters and setters on the Implementation interface.
AbstractStAXArtifactProcessor<I extends Implementation>TODO: couldn't something like this class be provided by the runtime? + Each impl shouldn't have to have their own .componentType merging code
DefaultPropertyValueObjectFactoryTODO: Shouldn't this class be provided by the runtime?
DynamicImplementation 
ResourceHelperTODO: Shouldn't this be using the contribution service?
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/package-tree.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/package-tree.html new file mode 100644 index 0000000000..6cdb6f704f --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/extension/helper/utils/package-tree.html @@ -0,0 +1,166 @@ + + + + + + +org.apache.tuscany.sca.extension.helper.utils Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.apache.tuscany.sca.extension.helper.utils +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3