Package org.jboss.as.appclient.service
Class ApplicationClientStartService
- java.lang.Object
-
- org.jboss.as.appclient.service.ApplicationClientStartService
-
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<ApplicationClientStartService>,org.jboss.msc.value.Value<ApplicationClientStartService>
public class ApplicationClientStartService extends Object implements org.jboss.msc.service.Service<ApplicationClientStartService>
Service that is responsible for running an application clients main method, and shutting down the server once it completes- Author:
- Stuart Douglas
-
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.msc.service.ServiceNameSERVICE_NAME
-
Constructor Summary
Constructors Constructor Description ApplicationClientStartService(Method mainMethod, String[] parameters, InjectedEENamespaceContextSelector namespaceContextSelectorInjectedValue, ClassLoader classLoader, List<org.jboss.as.server.deployment.SetupAction> setupActions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.msc.value.InjectedValue<Component>getApplicationClientComponent()org.jboss.msc.value.InjectedValue<ApplicationClientDeploymentService>getApplicationClientDeploymentServiceInjectedValue()ApplicationClientStartServicegetValue()voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)
-
-
-
Constructor Detail
-
ApplicationClientStartService
public ApplicationClientStartService(Method mainMethod, String[] parameters, InjectedEENamespaceContextSelector namespaceContextSelectorInjectedValue, ClassLoader classLoader, List<org.jboss.as.server.deployment.SetupAction> setupActions)
-
-
Method Detail
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException- Specified by:
startin interfaceorg.jboss.msc.Service- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context)
- Specified by:
stopin interfaceorg.jboss.msc.Service
-
getValue
public ApplicationClientStartService getValue() throws IllegalStateException, IllegalArgumentException
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<ApplicationClientStartService>- Throws:
IllegalStateExceptionIllegalArgumentException
-
getApplicationClientDeploymentServiceInjectedValue
public org.jboss.msc.value.InjectedValue<ApplicationClientDeploymentService> getApplicationClientDeploymentServiceInjectedValue()
-
getApplicationClientComponent
public org.jboss.msc.value.InjectedValue<Component> getApplicationClientComponent()
-
-