public class ALConfigFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
REMOTE_LOCATOR
a constant for the name of RemoteLocator
|
static java.lang.String |
REMOTE_WEBSPHERE_LOCATOR
a constant for the name of ClusterLocator
|
Constructor and Description |
---|
ALConfigFactory() |
Modifier and Type | Method and Description |
---|---|
static ALConfiguration |
create(java.lang.String name,
java.lang.String locatorName)
create an instance of ALConfig
|
static ALConfiguration |
createFromPreConfig(java.lang.String name)
create an instance of ALConfig based on pre configured value.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String REMOTE_LOCATOR
public static final java.lang.String REMOTE_WEBSPHERE_LOCATOR
public static ALConfiguration create(java.lang.String name, java.lang.String locatorName)
name
- the logic name of this configlocatorName
- the locator class namepublic static ALConfiguration createFromPreConfig(java.lang.String name) throws ConfigNotFoundException
name
- the logic name of a pre configured ALConfigConfigNotFoundException
- an exception will be thrown
if the name user enters does not match to a name of pre-configured configuration