|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.bootstrap.impl.base.server.AbstractBasicServerInitializer<K,T>
public abstract class AbstractBasicServerInitializer<K extends org.jboss.bootstrap.spi.server.Server<K,T>,T extends org.jboss.bootstrap.spi.config.ServerConfig<T>>
AbstractBasicServerInitializer Simple server initializer which will default the configuration
| Constructor Summary | |
|---|---|
AbstractBasicServerInitializer()
|
|
| Method Summary | |
|---|---|
void |
cleanup(K server)
|
void |
initialize(K server)
|
protected void |
setSystemProperties(T configuration)
Sets system properties from the current configuration; may be overridden to set more properties |
protected void |
setSystemProperty(String key,
Boolean value)
Sets the specified Boolean as a system property with the specified key |
protected void |
setSystemProperty(String key,
Integer value)
Sets the specified Integer as a system property with the specified key |
protected void |
setSystemProperty(String key,
String value)
Sets the specified system property key to the specified value. |
protected void |
setSystemProperty(String key,
URL value)
Sets the specified URL's external form as a system property with the specified key |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractBasicServerInitializer()
| Method Detail |
|---|
public void initialize(K server)
throws IllegalArgumentException,
IllegalStateException
initialize in interface org.jboss.bootstrap.spi.server.ServerInitializer<K extends org.jboss.bootstrap.spi.server.Server<K,T>,T extends org.jboss.bootstrap.spi.config.ServerConfig<T>>IllegalArgumentException
IllegalStateException
public void cleanup(K server)
throws IllegalArgumentException,
IllegalStateException
cleanup in interface org.jboss.bootstrap.spi.server.ServerInitializer<K extends org.jboss.bootstrap.spi.server.Server<K,T>,T extends org.jboss.bootstrap.spi.config.ServerConfig<T>>IllegalArgumentException
IllegalStateExceptionprotected void setSystemProperties(T configuration)
protected final void setSystemProperty(String key,
URL value)
key - value -
protected final void setSystemProperty(String key,
Integer value)
key - value -
protected final void setSystemProperty(String key,
Boolean value)
key - value -
protected final void setSystemProperty(String key,
String value)
key - The non-null keyvalue -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||