public class ClassInfoResolverImpl extends Object implements ClassInfoResolver
Constructor and Description |
---|
ClassInfoResolverImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
bindReference(Object key,
ClassInfo classInfo)
Adds the given Reference to this ClassInfo resolver.
|
Enumeration<?> |
keys()
Returns all the keys used for binding ClassInfo objects.
|
ClassInfo |
resolve(Object key)
Returns the ClassInfo which has been bound to the given key.
|
public final void bindReference(Object key, ClassInfo classInfo)
bindReference
in interface ClassInfoResolver
key
- the key to bind a reference to.classInfo
- the ClassInfo which is being referenced.public final Enumeration<?> keys()
public final ClassInfo resolve(Object key)
resolve
in interface ClassInfoResolver
key
- the object to which the ClassInfo has been bound.Copyright © 2013. All rights reserved.