public abstract class StartupParameter<T>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.String |
name
This is the parameter name used in FWD.
|
(package private) java.lang.String |
originalName
This is the original name used by OE.
|
(package private) java.lang.String |
prefix
This is the parameter prefix used in FWD.
|
(package private) T |
value
This is the actual value of the startup parameter
|
| Constructor and Description |
|---|
StartupParameter(java.lang.String name,
java.lang.String originalName)
This is the default constructor.
|
StartupParameter(java.lang.String prefix,
java.lang.String name,
java.lang.String originalName)
This is the default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getValue()
Getter for the parameter vale.
|
abstract void |
initFromBootstrap(BootstrapConfig bootstrapConfig)
Initialize the parameter from the
BootstrapConfig |
abstract void |
initFromDirectory()
Initialize the parameter from the
DirectoryService. |
abstract void |
readExternal(java.io.ObjectInput in)
Used for helping with
Externalizable.readExternal(ObjectInput) |
java.lang.String |
toString()
Overrides te default
Object.toString() method. |
abstract void |
writeExternal(java.io.ObjectOutput out)
Used for helping with
Externalizable.writeExternal(ObjectOutput) |
T value
final java.lang.String prefix
final java.lang.String name
final java.lang.String originalName
public StartupParameter(java.lang.String name,
java.lang.String originalName)
name - is the parameter name used by FWD.originalName - is the original name used by OE.public StartupParameter(java.lang.String prefix,
java.lang.String name,
java.lang.String originalName)
prefix - is the parameter name prefix used by FWD.name - is the parameter name used by FWD.originalName - is the original name used by OE.public T getValue()
public abstract void initFromDirectory()
DirectoryService.public abstract void initFromBootstrap(BootstrapConfig bootstrapConfig)
BootstrapConfigbootstrapConfig - is the bootstrap configuration.public abstract void readExternal(java.io.ObjectInput in)
throws java.io.IOException
Externalizable.readExternal(ObjectInput)in - the stream to read data from in order to restore the objectjava.io.IOException - if I/O errors occurpublic abstract void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
Externalizable.writeExternal(ObjectOutput)out - the stream to write the object tojava.io.IOException - Includes any I/O exceptions that may occurpublic java.lang.String toString()
Object.toString() method. If the value is null, it returns null.toString in class java.lang.Object