|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.objectify.led.TypeFactoryRegistry
public class TypeFactoryRegistry
Registry of TypeFactory for creating objects of the correct type based on the field.
| Constructor Summary | |
|---|---|
TypeFactoryRegistry()
|
|
| Method Summary | |
|---|---|
TypeFactory |
getFactory(Class clazz)
Gets the type factory for the given class. |
void |
register(List<TypeFactory> typeFactories)
Registers the type factories with the registry. |
void |
register(TypeFactory... typeFactories)
Registers the type factories with the registry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeFactoryRegistry()
| Method Detail |
|---|
public void register(TypeFactory... typeFactories)
typeFactories - the type factories. None of the factories can be null.public void register(List<TypeFactory> typeFactories)
typeFactories - the type factories to register. Must not be null; none of contentspublic TypeFactory getFactory(Class clazz)
clazz - the class of the required object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||