Package org.exolab.castor.builder
Interface ClassInfoResolver
-
- All Known Implementing Classes:
ClassInfoResolverImpl
,FactoryState
,SGStateInfo
public interface ClassInfoResolver
A class for "caching" ClassInfo's which later need to be resolved (retrieved) by another ClassInfo.- Version:
- $Revision: 6665 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
- Author:
- Keith Visco
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
void bindReference(java.lang.Object key, ClassInfo classInfo)
Adds the given Reference to this ClassInfo resolver.- Parameters:
key
- the key to bind a reference toclassInfo
- the ClassInfo which is being referenced
-
resolve
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.
-
-