org.apache.tuscany.sca.core.scope
Class ScopeRegistryImpl

java.lang.Object
  extended by org.apache.tuscany.sca.core.scope.ScopeRegistryImpl
All Implemented Interfaces:
ScopeRegistry

public class ScopeRegistryImpl
extends java.lang.Object
implements ScopeRegistry

The default implementation of a scope registry


Constructor Summary
ScopeRegistryImpl()
           
 
Method Summary
 ScopeContainer getScopeContainer(RuntimeComponent runtimeComponent)
          Returns the scope container for the given scope or null if one not found
 void register(ScopeContainerFactory factory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScopeRegistryImpl

public ScopeRegistryImpl()
Method Detail

register

public void register(ScopeContainerFactory factory)
Specified by:
register in interface ScopeRegistry

getScopeContainer

public ScopeContainer getScopeContainer(RuntimeComponent runtimeComponent)
Description copied from interface: ScopeRegistry
Returns the scope container for the given scope or null if one not found

Specified by:
getScopeContainer in interface ScopeRegistry
Returns:
the scope container for the given scope or null if one not found