|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pfsw.plugin.BasePluginRegistration
public abstract class BasePluginRegistration
An abstract implementation of the PluginRegistration interface that can be
extended and filled with the relevant data by overriding the initialize()
method.
Constructor Summary | |
---|---|
BasePluginRegistration()
|
Method Summary | |
---|---|
void |
add(java.lang.String key,
java.lang.Class<?> type)
Add an entry to the registration data. |
java.util.Map<java.lang.String,java.lang.Class<?>> |
getClassesToRegister()
Returns a map with all classes that should be registered for dynamic instantiation. |
protected java.util.Map<java.lang.String,java.lang.Class<?>> |
getRegistrationMap()
|
void |
initialize()
Will be called from the constructor to fill the internal map with values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasePluginRegistration()
Method Detail |
---|
public java.util.Map<java.lang.String,java.lang.Class<?>> getClassesToRegister()
PluginRegistration
getClassesToRegister
in interface PluginRegistration
public void add(java.lang.String key, java.lang.Class<?> type)
public void initialize()
protected java.util.Map<java.lang.String,java.lang.Class<?>> getRegistrationMap()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |