Package org.jboss.as.server
Class ServerStartTask
- java.lang.Object
-
- org.jboss.as.server.ServerStartTask
-
- All Implemented Interfaces:
ObjectInputValidation,Serializable,ServerTask
public final class ServerStartTask extends Object implements ServerTask, Serializable, ObjectInputValidation
This is the task used by the Host Controller and passed to a Server instance in order to bootstrap it from a remote source process.- Author:
- David M. Lloyd, Mike M. Clark, Emanuel Muckenhuber, James R. Perkins
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServerStartTask(String hostControllerName, String serverName, int portOffset, int initialOperationID, List<org.jboss.msc.service.ServiceActivator> startServices, List<org.jboss.dmr.ModelNode> updates, Map<String,String> launchProperties, boolean suspend, boolean gracefulStartup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.threads.AsyncFuture<org.jboss.msc.service.ServiceContainer>run(List<org.jboss.msc.service.ServiceActivator> runServices)voidvalidateObject()
-
-
-
Constructor Detail
-
ServerStartTask
public ServerStartTask(String hostControllerName, String serverName, int portOffset, int initialOperationID, List<org.jboss.msc.service.ServiceActivator> startServices, List<org.jboss.dmr.ModelNode> updates, Map<String,String> launchProperties, boolean suspend, boolean gracefulStartup)
-
-
Method Detail
-
run
public org.jboss.threads.AsyncFuture<org.jboss.msc.service.ServiceContainer> run(List<org.jboss.msc.service.ServiceActivator> runServices)
- Specified by:
runin interfaceServerTask
-
validateObject
public void validateObject() throws InvalidObjectException- Specified by:
validateObjectin interfaceObjectInputValidation- Throws:
InvalidObjectException
-
-