org.apache.tuscany.sca.core.context
Interface InstanceWrapper<T>

All Known Implementing Classes:
OSGiInstanceWrapper, ReflectiveInstanceWrapper

public interface InstanceWrapper<T>

Provides lifecycle management for an implementation instance associated with a component for use by the component's associated ScopeContainer


Method Summary
 T getInstance()
           
 void start()
           
 void stop()
           
 

Method Detail

getInstance

T getInstance()
Returns:

start

void start()
           throws TargetInitializationException
Throws:
TargetInitializationException

stop

void stop()
          throws TargetDestructionException
Throws:
TargetDestructionException