Package org.frankframework.util
Class GlobalListItem
java.lang.Object
org.frankframework.util.GlobalListItem
- All Implemented Interfaces:
INamedObject
Base class for items of global lists.
The list itself is contained as a static field.
New items are registerd using registerItem().
Typical use: SapSystem.getSystem(name).<method to execute>
- Author:
- Gerrit van Brakel
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
configure() will be called once for each item registered, except for the aliasses.protected static GlobalListItem
Get an item by Name.getName()
Get the system names as an Iterator, alphabetically sortedGets a list with system names.void
registerItem
(Object dummyParent) Register an item in the listvoid
setAliasFor
(String string) If this attribute is set, the item is only an alias for another item.void
The name under which the item can be retrieved.toString()
-
Field Details
-
log
protected org.apache.logging.log4j.Logger log
-
-
Constructor Details
-
GlobalListItem
public GlobalListItem()
-
-
Method Details
-
configure
protected void configure()configure() will be called once for each item registered, except for the aliasses. -
getItem
Get an item by Name. Descender classes should implement a similar method, that returns an object of its own type. -
getRegisteredNames
Get the system names as an Iterator, alphabetically sorted- Returns:
- Iterator with the realm names, alphabetically sorted
-
getRegisteredNamesAsList
Gets a list with system names. -
registerItem
Register an item in the list -
toString
-
setName
The name under which the item can be retrieved.- Specified by:
setName
in interfaceINamedObject
-
getName
- Specified by:
getName
in interfaceINamedObject
-
setAliasFor
If this attribute is set, the item is only an alias for another item. -
getAliasFor
-