com.ibm.wsspi.al

Class ALConfigFactory

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.al.ALConfigFactory

  1. public class ALConfigFactory
  2. extends java.lang.Object
ALConfigFactory is a factory class that can be used to create instance of ALConfig

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT
  1. static
  2. java.lang.String
REMOTE_LOCATOR
a constant for the name of RemoteLocator
  1. static
  2. java.lang.String
REMOTE_WEBSPHERE_LOCATOR
a constant for the name of ClusterLocator

Constructor Summary

Constructor and Description
ALConfigFactory()

Method Summary

Modifier and Type Method and Description
  1. static
  2. ALConfiguration
create(java.lang.String name,java.lang.String locatorName)
create an instance of ALConfig
  1. static
  2. 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

  1. public static final java.lang.String COPYRIGHT
See Also:

REMOTE_LOCATOR

  1. public static final java.lang.String REMOTE_LOCATOR
a constant for the name of RemoteLocator
See Also:

REMOTE_WEBSPHERE_LOCATOR

  1. public static final java.lang.String REMOTE_WEBSPHERE_LOCATOR
a constant for the name of ClusterLocator
See Also:

Constructor Detail

ALConfigFactory

  1. public ALConfigFactory()

Method Detail

create

  1. public static ALConfiguration create( java.lang.String name,
  2. 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

  1. public static ALConfiguration createFromPreConfig( java.lang.String name)
  2. 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