|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - Type of components registered in the present registrypublic interface Registry<T>
Handles the registration of the Swordfish components like interceptors, strategies, exceptionListeners.
| Method Summary | |
|---|---|
void |
register(T item,
java.util.Map<java.lang.String,?> properties)
Perform registration of an item with its properties. |
void |
unregister(T item,
java.util.Map<java.lang.String,?> properties)
Unregister an item. |
| Methods inherited from interface org.eclipse.swordfish.core.util.ReadOnlyRegistry |
|---|
getKeySet, getProperties |
| Method Detail |
|---|
void register(T item,
java.util.Map<java.lang.String,?> properties)
throws SwordfishException
item - The key i.e. the component for which properties are
registered.properties - The properties of the registered item. Must not
be null, but if there are no properties, an empty
Map must be provided.
SwordfishException - risen in case of double registration
of the same item, an invalid item, or an invalid properties
argument.
void unregister(T item,
java.util.Map<java.lang.String,?> properties)
throws SwordfishException
item - - to be unregistered. When the item is not registered,
nothing happens.
SwordfishException - if an item cannot be unregistered due to
the internal state of the system.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||