org.jboss.bootstrap.spi.as.config
Class JBossASServerConfigFactory

java.lang.Object
  extended by org.jboss.bootstrap.spi.as.config.JBossASServerConfigFactory

public class JBossASServerConfigFactory
extends Object

JBossASServerConfigFactory Factory of JBossASServerConfig implementations

Version:
$Revision: $
Author:
ALR

Field Summary
static String DEFAULT_AS_SERVER_CONFIG_IMPL_CLASS_NAME
          The FQN of the default implementation class to create
 
Method Summary
static JBossASServerConfig createServerConfig()
          Creates a JBossASServerConfig from the default implementation class name DEFAULT_AS_SERVER_CONFIG_IMPL_CLASS_NAME, using the Thread Context ClassLoader.
static JBossASServerConfig createServerConfig(ClassLoader cl)
          Creates a JBossASServerConfig from the default implementation class name DEFAULT_AS_SERVER_CONFIG_IMPL_CLASS_NAME, using the specified ClassLoader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_AS_SERVER_CONFIG_IMPL_CLASS_NAME

public static final String DEFAULT_AS_SERVER_CONFIG_IMPL_CLASS_NAME
The FQN of the default implementation class to create

See Also:
Constant Field Values
Method Detail

createServerConfig

public static JBossASServerConfig createServerConfig()
Creates a JBossASServerConfig from the default implementation class name DEFAULT_AS_SERVER_CONFIG_IMPL_CLASS_NAME, using the Thread Context ClassLoader. The returned config will additionally be created using the TCCL.

Returns:
The newly-created config

createServerConfig

public static JBossASServerConfig createServerConfig(ClassLoader cl)
                                              throws IllegalArgumentException
Creates a JBossASServerConfig from the default implementation class name DEFAULT_AS_SERVER_CONFIG_IMPL_CLASS_NAME, using the specified ClassLoader. The returned config will additionally be created using the ClassLoader denoted.

Returns:
The newly-created config
Throws:
IllegalArgumentException - If the ClassLoader is null


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.