Tuscany Core

org.apache.tuscany.core.context
Interface ScopeStrategy

All Known Implementing Classes:
AbstractScopeStrategy, DefaultScopeStrategy, RuntimeScopeStrategy, SystemScopeStrategy

public interface ScopeStrategy

Implementations provide scope container creation facilities and scope semantics to the runtime

Version:
$Rev: 392332 $ $Date: 2006-04-07 12:42:46 -0400 (Fri, 07 Apr 2006) $

Field Summary
static int SCOPE_NOT_FOUND
           
 
Method Summary
 boolean downScopeReference(org.apache.tuscany.model.assembly.Scope sourceScope, org.apache.tuscany.model.assembly.Scope targetScope)
          Determines whether a wire proceeds from a source of higher scope to a target of lesser scope
 java.util.Map<org.apache.tuscany.model.assembly.Scope,ScopeContext> getScopeContexts(EventContext eventContext)
          Creates and returns new instances of configured scope containers
 

Field Detail

SCOPE_NOT_FOUND

static final int SCOPE_NOT_FOUND
See Also:
Constant Field Values
Method Detail

getScopeContexts

java.util.Map<org.apache.tuscany.model.assembly.Scope,ScopeContext> getScopeContexts(EventContext eventContext)
Creates and returns new instances of configured scope containers


downScopeReference

boolean downScopeReference(org.apache.tuscany.model.assembly.Scope sourceScope,
                           org.apache.tuscany.model.assembly.Scope targetScope)
Determines whether a wire proceeds from a source of higher scope to a target of lesser scope


Tuscany Core

-