org.msgpack.template
Class TemplateRegistry

java.lang.Object
  extended by org.msgpack.template.TemplateRegistry

public class TemplateRegistry
extends Object


Constructor Summary
TemplateRegistry(TemplateRegistry registry)
           
 
Method Summary
 Template lookup(Type targetType)
           
 void register(Class<?> targetClass)
           
 void register(Class<?> targetClass, FieldList flist)
           
 void register(Type targetType, Template tmpl)
           
 void registerGeneric(Type targetType, GenericTemplate tmpl)
           
 void setClassLoader(ClassLoader cl)
           
 void unregister()
           
 boolean unregister(Type targetType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateRegistry

public TemplateRegistry(TemplateRegistry registry)
Parameters:
registry -
Method Detail

setClassLoader

public void setClassLoader(ClassLoader cl)

register

public void register(Class<?> targetClass)

register

public void register(Class<?> targetClass,
                     FieldList flist)

register

public void register(Type targetType,
                     Template tmpl)

registerGeneric

public void registerGeneric(Type targetType,
                            GenericTemplate tmpl)

unregister

public boolean unregister(Type targetType)

unregister

public void unregister()

lookup

public Template lookup(Type targetType)


Copyright © 2011. All Rights Reserved.