org.exolab.castor.builder.util
Class ClassInfoResolverImpl

java.lang.Object
  extended by org.exolab.castor.builder.util.ClassInfoResolverImpl
All Implemented Interfaces:
ClassInfoResolver
Direct Known Subclasses:
SGStateInfo

public class ClassInfoResolverImpl
extends java.lang.Object
implements ClassInfoResolver

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

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

Constructor Summary
ClassInfoResolverImpl()
           
 
Method Summary
 void bindReference(java.lang.Object key, ClassInfo classInfo)
          Adds the given Reference to this ClassInfo resolver
 java.util.Enumeration keys()
          Returns all the keys used for binding ClassInfo objects
 ClassInfo resolve(java.lang.Object key)
          Returns the ClassInfo which has been bound to the given key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassInfoResolverImpl

public ClassInfoResolverImpl()
Method Detail

bindReference

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

Specified by:
bindReference in interface ClassInfoResolver
Parameters:
key - the key to bind a reference to
classInfo - the ClassInfo which is being referenced

keys

public java.util.Enumeration keys()
Returns all the keys used for binding ClassInfo objects


resolve

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

Specified by:
resolve in interface ClassInfoResolver
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