Tuscany Core

org.apache.tuscany.core.context.scope
Class AbstractScopeStrategy

java.lang.Object
  extended by org.apache.tuscany.core.context.scope.AbstractScopeStrategy
All Implemented Interfaces:
ScopeStrategy
Direct Known Subclasses:
DefaultScopeStrategy, RuntimeScopeStrategy, SystemScopeStrategy

public abstract class AbstractScopeStrategy
extends java.lang.Object
implements ScopeStrategy

Implements basic scope strategy functionality

Version:
$Rev: 379641 $ $Date: 2006-02-21 19:50:58 -0500 (Tue, 21 Feb 2006) $

Field Summary
 
Fields inherited from interface org.apache.tuscany.core.context.ScopeStrategy
SCOPE_NOT_FOUND
 
Constructor Summary
AbstractScopeStrategy()
           
 
Method Summary
 boolean downScopeReference(org.apache.tuscany.model.assembly.Scope pReferrer, org.apache.tuscany.model.assembly.Scope pReferee)
          Determines legal scope references according to standard SCA scope rules
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.tuscany.core.context.ScopeStrategy
getScopeContexts
 

Constructor Detail

AbstractScopeStrategy

public AbstractScopeStrategy()
Method Detail

downScopeReference

public boolean downScopeReference(org.apache.tuscany.model.assembly.Scope pReferrer,
                                  org.apache.tuscany.model.assembly.Scope pReferee)
Determines legal scope references according to standard SCA scope rules

Specified by:
downScopeReference in interface ScopeStrategy
Parameters:
pReferrer - the scope of the component making the reference
pReferee - the scope of the component being referred to

Tuscany Core

-