Apache Tuscany SCA Kernel Sub-Project

org.apache.tuscany.spi.implementation.java
Class PojoComponentType<S extends ServiceDefinition,R extends ReferenceDefinition,P extends Property<?>>

java.lang.Object
  extended by org.apache.tuscany.spi.model.ModelObject
      extended by org.apache.tuscany.spi.model.ComponentType<S,R,P>
          extended by org.apache.tuscany.spi.implementation.java.PojoComponentType<S,R,P>

public class PojoComponentType<S extends ServiceDefinition,R extends ReferenceDefinition,P extends Property<?>>
extends ComponentType<S,R,P>

A component type specialization for POJO implementations

Version:
$$Rev: 440210 $$ $$Date: 2006-09-04 17:41:21 -0700 (Mon, 04 Sep 2006) $$

Constructor Summary
PojoComponentType()
           
 
Method Summary
 ConstructorDefinition<?> getConstructorDefinition()
          Returns the constructor used to instantiate implementation instances
 Method getDestroyMethod()
          Returns the component destructor method
 Scope getImplementationScope()
          Returns the component implementation scope
 Method getInitMethod()
          Returns the component initializer method
 void setConstructorDefinition(ConstructorDefinition<?> definition)
          Sets the constructor used to instantiate implementation instances
 void setDestroyMethod(Method destroyMethod)
          Sets the component destructor method
 void setImplementationScope(Scope implementationScope)
          Sets the component implementation scope
 void setInitMethod(Method initMethod)
          Sets the component initializer method
 
Methods inherited from class org.apache.tuscany.spi.model.ComponentType
add, add, add, getInitLevel, getProperties, getReferences, getServices, isEagerInit, setEagerInit, setInitLevel
 
Methods inherited from class org.apache.tuscany.spi.model.ModelObject
getExtensions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PojoComponentType

public PojoComponentType()
Method Detail

getImplementationScope

public Scope getImplementationScope()
Returns the component implementation scope


setImplementationScope

public void setImplementationScope(Scope implementationScope)
Sets the component implementation scope


getConstructorDefinition

public ConstructorDefinition<?> getConstructorDefinition()
Returns the constructor used to instantiate implementation instances


setConstructorDefinition

public void setConstructorDefinition(ConstructorDefinition<?> definition)
Sets the constructor used to instantiate implementation instances


getInitMethod

public Method getInitMethod()
Returns the component initializer method


setInitMethod

public void setInitMethod(Method initMethod)
Sets the component initializer method


getDestroyMethod

public Method getDestroyMethod()
Returns the component destructor method


setDestroyMethod

public void setDestroyMethod(Method destroyMethod)
Sets the component destructor method


Apache Tuscany SCA Kernel Sub-Project

-