com.ibm.wsspi.al
Class ALConfigFactory
- java.lang.Object
com.ibm.wsspi.al.ALConfigFactory
- public class ALConfigFactory
- extends java.lang.Object
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
|
REMOTE_LOCATOR
a constant for the name of RemoteLocator
|
|
REMOTE_WEBSPHERE_LOCATOR
a constant for the name of ClusterLocator
|
Constructor Summary
Constructor and Description |
---|
ALConfigFactory()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
create(java.lang.String name,java.lang.String locatorName)
create an instance of ALConfig
|
|
createFromPreConfig(java.lang.String name)
create an instance of ALConfig based on pre configured value.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
COPYRIGHT
- public static final java.lang.String COPYRIGHT
See Also:
REMOTE_LOCATOR
- public static final java.lang.String REMOTE_LOCATOR
a constant for the name of RemoteLocator
See Also:
REMOTE_WEBSPHERE_LOCATOR
- public static final java.lang.String REMOTE_WEBSPHERE_LOCATOR
a constant for the name of ClusterLocator
See Also:
Constructor Detail
ALConfigFactory
- public ALConfigFactory()
Method Detail
create
- public static ALConfiguration create( java.lang.String name,
- java.lang.String locatorName)
create an instance of ALConfig
Parameters:
name
- the logic name of this config locatorName
- the locator class name Returns:
ALConfig an instance of ALConfig
createFromPreConfig
- public static ALConfiguration createFromPreConfig( java.lang.String name)
- throws ConfigNotFoundException
create an instance of ALConfig based on pre configured value.
A pre configured value is set by customer/administrator
Parameters:
name
- the logic name of a pre configured ALConfig Returns:
ALConfig an instance of ALConfig
Throws:
ConfigNotFoundException
- an exception will be thrown
if the name user enters does not match to a name of pre-configured configuration