org.locomotive.directory
Interface ScopeLookup

All Known Implementing Classes:
BeanDirectory, ScopeLookupImpl

public interface ScopeLookup

This interface is provided so clients of NameService can provide an appropriate object for the requested scope type. The application is through this interface able to choose any type of scope for instantiated components.

Version:
$Id: ScopeLookup.java,v 1.3 1999/05/05 10:19:32 gunnar Exp $
Author:
Gunnar Rønning (gunnar@candleweb.no).

Method Summary
 java.lang.Object getScope(java.lang.String scopeType)
          Return the appropriate object for the requested scope.
 

Method Detail

getScope

public java.lang.Object getScope(java.lang.String scopeType)
Return the appropriate object for the requested scope.
Parameters:
scopeType - The scope type to lookup.
Returns:
Returns the object defining the scope of the scope type.