IBM WebSphere Application ServerTM
Release 7

com.ibm.wsspi.al
Class ALConfigFactory

java.lang.Object
  extended by com.ibm.wsspi.al.ALConfigFactory

public class ALConfigFactory
extends java.lang.Object

ALConfigFactory is a factory class that can be used to create instance of ALConfig


Field Summary
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 Summary
ALConfigFactory()
           
 
Method Summary
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.
 
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:
Constant Field Values

REMOTE_LOCATOR

public static final java.lang.String REMOTE_LOCATOR
a constant for the name of RemoteLocator

See Also:
Constant Field Values

REMOTE_WEBSPHERE_LOCATOR

public static final java.lang.String REMOTE_WEBSPHERE_LOCATOR
a constant for the name of ClusterLocator

See Also:
Constant Field Values
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

IBM WebSphere Application ServerTM
Release 7