ca.infoway.messagebuilder.marshalling.hl7
Class Registry<T>

Package class diagram package Registry
java.lang.Object
  extended by ca.infoway.messagebuilder.marshalling.hl7.Registry<T>
Direct Known Subclasses:
FormatterRegistry, ParserRegistry

public abstract class Registry<T>
extends Object


Constructor Summary
Registry()
           
 
Method Summary
 T get(String name)
           
 T get(Typed typed)
           
 List<String> getRegistrationKey(Class<? extends T> c)
           
protected  void register(Class<? extends T> c)
           
protected  void register(T instance)
           
protected abstract  void registerAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Registry

public Registry()
Method Detail

register

protected void register(Class<? extends T> c)

register

protected void register(T instance)

getRegistrationKey

public List<String> getRegistrationKey(Class<? extends T> c)
                                throws IllegalArgumentException,
                                       IllegalAccessException
Throws:
IllegalArgumentException
IllegalAccessException

get

public T get(Typed typed)

get

public T get(String name)

registerAll

protected abstract void registerAll()


Copyright © 2013. All Rights Reserved.