org.exolab.castor.builder
Interface ClassInfoResolver


public interface ClassInfoResolver

A class for "caching" ClassInfo's which later need to be resolved (retrieved) by another ClassInfo

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:07:41 $
Author:
Keith Visco

Method Summary
 void bindReference(java.lang.Object key, ClassInfo classInfo)
          Adds the given Reference to this ClassInfo resolver
 ClassInfo resolve(java.lang.Object key)
          Returns the ClassInfo which has been bound to the given key
 

Method Detail

bindReference

public void bindReference(java.lang.Object key,
                          ClassInfo classInfo)
Adds the given Reference to this ClassInfo resolver

Parameters:
key - the key to bind a reference to
classInfo - the ClassInfo which is being referenced

resolve

public ClassInfo resolve(java.lang.Object key)
Returns the ClassInfo which has been bound to the given key

Parameters:
key - the object to which the ClassInfo has been bound
Returns:
the ClassInfo which has been bound to the given key


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com