Package org.jboss.as.appclient.service
Class ApplicationClientStartService
java.lang.Object
org.jboss.as.appclient.service.ApplicationClientStartService
- All Implemented Interfaces:
org.jboss.msc.Service
Service that is responsible for running an application clients main method, and shutting down the server once it
completes
- Author:
- Stuart Douglas
-
Field Summary
FieldsFields inherited from interface org.jboss.msc.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionApplicationClientStartService(Method mainMethod, String[] parameters, InjectedEENamespaceContextSelector namespaceContextSelectorInjectedValue, ClassLoader classLoader, List<org.jboss.as.server.deployment.SetupAction> setupActions, Supplier<ApplicationClientDeploymentService> applicationClientDeploymentServiceSupplier, Supplier<Component> applicationClientComponentSupplier) -
Method Summary
-
Field Details
-
SERVICE_NAME
public static final org.jboss.msc.service.ServiceName SERVICE_NAME
-
-
Constructor Details
-
ApplicationClientStartService
public ApplicationClientStartService(Method mainMethod, String[] parameters, InjectedEENamespaceContextSelector namespaceContextSelectorInjectedValue, ClassLoader classLoader, List<org.jboss.as.server.deployment.SetupAction> setupActions, Supplier<ApplicationClientDeploymentService> applicationClientDeploymentServiceSupplier, Supplier<Component> applicationClientComponentSupplier)
-
-
Method Details
-
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
-