Tuscany Core

org.apache.tuscany.core.config
Interface ImplementationCache


public interface ImplementationCache

Cache of introspected implementations.

Version:
$Rev: 393677 $ $Date: 2006-04-12 21:03:55 -0400 (Wed, 12 Apr 2006) $

Method Summary
 org.apache.tuscany.model.assembly.Implementation get(javax.xml.namespace.QName type, java.lang.String name)
          Return an implementation from a given namespace.
 void put(javax.xml.namespace.QName type, java.lang.String name, org.apache.tuscany.model.assembly.Implementation implementation)
          Add an implementation to the cache
 

Method Detail

get

org.apache.tuscany.model.assembly.Implementation get(javax.xml.namespace.QName type,
                                                     java.lang.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(javax.xml.namespace.QName type,
         java.lang.String name,
         org.apache.tuscany.model.assembly.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

-