Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.wildfly.test.suspendresumeendpoint;
 

Author(s):
Stuart Douglas
public class TestSuspendServiceActivator implements ServiceActivator {
    @Override
    public void activate(ServiceActivatorContext serviceActivatorContextthrows ServiceRegistryException {
        TestUndertowService testUndertowService = new TestUndertowService();
        serviceActivatorContext.getServiceTarget().addService(.testUndertowService)
                .addDependency(.RequestController.classtestUndertowService.getRequestControllerInjectedValue())
                .install();
    }
New to GrepCode? Check out our FAQ X