Package org.frankframework.util
Class SapSystemListItem
java.lang.Object
org.frankframework.util.SapSystemListItem
- Direct Known Subclasses:
SapSystemImpl
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclear()voidconfigure() will be called once for each item registered, except for the aliasses.protected static SapSystemListItemGet an item by Name.getName()Get the system names as an Iterator, alphabetically sortedGets a list with system names.static voidRegister an item in the listvoidsetAliasFor(String string) If this attribute is set, the item is only an alias for another item.voidThe name under which the item can be retrieved.toString()
-
Field Details
-
log
protected org.apache.logging.log4j.Logger log
-
-
Constructor Details
-
SapSystemListItem
public SapSystemListItem()
-
-
Method Details
-
configure
public 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 -
clear
public static void clear() -
toString
-
setName
The name under which the item can be retrieved. -
getName
-
setAliasFor
If this attribute is set, the item is only an alias for another item. -
getAliasFor
-