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: 408581 $ $Date: 2006-05-21 23:34:24 -0700 (Sun, 21 May 2006) $

Field Summary
static int SCOPE_NOT_FOUND
           
 
Method Summary
 boolean downScopeReference(Scope sourceScope, Scope targetScope)
          Determines whether a wire proceeds from a source of higher scope to a target of lesser scope
 Map<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

Map<Scope,ScopeContext> getScopeContexts(EventContext eventContext)
Creates and returns new instances of configured scope containers


downScopeReference

boolean downScopeReference(Scope sourceScope,
                           Scope targetScope)
Determines whether a wire proceeds from a source of higher scope to a target of lesser scope


Tuscany Core

-