public abstract class AbstractTemplateRegistry extends Object implements TemplateRegistry
NULL
Constructor and Description |
---|
AbstractTemplateRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
addTemplateRegisteredListener(TemplateRegisteredListener templateRegisteredListener) |
MessageTemplate |
get(String name) |
int |
getId(String name) |
boolean |
isDefined(String name) |
boolean |
isRegistered(String name) |
protected void |
notifyTemplateRegistered(MessageTemplate template,
int id) |
void |
register(int templateId,
String name) |
void |
remove(String name) |
void |
removeTemplateRegisteredListener(TemplateRegisteredListener templateRegisteredListener) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
define, get, get, getId, getId, getTemplates, isDefined, isRegistered, isRegistered, isRegistered, iterator, nameIterator, register, register, registerAll, remove, remove, remove
public MessageTemplate get(String name)
get
in interface TemplateRegistry
public int getId(String name)
getId
in interface TemplateRegistry
public boolean isDefined(String name)
isDefined
in interface TemplateRegistry
public boolean isRegistered(String name)
isRegistered
in interface TemplateRegistry
public void register(int templateId, String name)
register
in interface TemplateRegistry
public void remove(String name)
remove
in interface TemplateRegistry
protected void notifyTemplateRegistered(MessageTemplate template, int id)
public void addTemplateRegisteredListener(TemplateRegisteredListener templateRegisteredListener)
addTemplateRegisteredListener
in interface TemplateRegistry
public void removeTemplateRegisteredListener(TemplateRegisteredListener templateRegisteredListener)
removeTemplateRegisteredListener
in interface TemplateRegistry
Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.