2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
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
getInstance
T getInstance()
- Returns:
start
void start()
throws TargetInitializationException
- Throws:
TargetInitializationException
stop
void stop()
throws TargetDestructionException
- Throws:
TargetDestructionException