Tuscany Core

org.apache.tuscany.core.config
Interface ImplementationCache


public interface ImplementationCache

Cache of introspected implementations.

Version:
$Rev: 408581 $ $Date: 2006-05-21 23:34:24 -0700 (Sun, 21 May 2006) $

Method Summary
 Implementation get(QName type, String name)
          Return an implementation from a given namespace.
 void put(QName type, String name, Implementation implementation)
          Add an implementation to the cache
 

Method Detail

get

Implementation get(QName type,
                   String name)
Return an implementation from a given namespace.

Parameters:
type - the namespace that defines the type of implementation
name - the name of an implementation in that namespace
Returns:
the implementation or null if it is not present in the cache

put

void put(QName type,
         String name,
         Implementation implementation)
Add an implementation to the cache

Parameters:
type - the namespace that defines the type of implementation
name - the name of an implementation in that namespace
implementation - the introspected implementation

Tuscany Core

-