|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.kernel.plugins.config.KernelConfigFactory
Implementation of the Factory design pattern used in constructing new
instances of KernelConfig
objects based on various
configuration sources.
Constructor Summary | |
KernelConfigFactory()
|
Method Summary | |
static KernelConfig |
newInstance()
Constructs a new KernelConfig instance based on the System properties. |
static KernelConfig |
newInstance(Properties props)
Constructs a new KernelConfig instance based on the specified Properties. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KernelConfigFactory()
Method Detail |
public static KernelConfig newInstance()
If any necessary KernelConfig properties are not found in the System properties, sensible default implementations for the missing properties will be used.
System.getProperties()
,
newInstance(Properties)
public static KernelConfig newInstance(Properties props)
If any necessary KernelConfig properties are not found in the given properties, sensible default implementations for the missing properties will be used.
props
- the properties to use when creating a new
KernelConfig instance.
PropertyKernelConfig
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |