org.apache.tuscany.sca.implementation.bpel.ode.provider
Class BPELImplementationProviderFactory

java.lang.Object
  extended by org.apache.tuscany.sca.implementation.bpel.ode.provider.BPELImplementationProviderFactory
All Implemented Interfaces:
ImplementationProviderFactory<BPELImplementation>, ProviderFactory<BPELImplementation>

public class BPELImplementationProviderFactory
extends java.lang.Object
implements ImplementationProviderFactory<BPELImplementation>

BPEL Implementation provider factory We use the provider factory to instantiate a ODE server that is going to be injected in all BPEL components


Constructor Summary
BPELImplementationProviderFactory(ExtensionPointRegistry extensionPoints)
          Default constructor receiving an extension point
 
Method Summary
 ImplementationProvider createImplementationProvider(RuntimeComponent component, BPELImplementation implementation)
          Creates a new BPEL Implementation and inject the EmbeddedODEServer
 void destroy()
           
 java.lang.Class<BPELImplementation> 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

BPELImplementationProviderFactory

public BPELImplementationProviderFactory(ExtensionPointRegistry extensionPoints)
Default constructor receiving an extension point

Parameters:
extensionPoints -
Method Detail

createImplementationProvider

public ImplementationProvider createImplementationProvider(RuntimeComponent component,
                                                           BPELImplementation implementation)
Creates a new BPEL Implementation and inject the EmbeddedODEServer

Specified by:
createImplementationProvider in interface ImplementationProviderFactory<BPELImplementation>
Parameters:
component - The runtime component
implementation - The implementation type
Returns:
The implementation provider

getModelType

public java.lang.Class<BPELImplementation> getModelType()
Description copied from interface: ProviderFactory
The model type that this factory creates providers for.

Specified by:
getModelType in interface ProviderFactory<BPELImplementation>
Returns:
the model type

destroy

public void destroy()