Class HTTPUpgradeService
- java.lang.Object
-
- org.wildfly.extension.messaging.activemq.HTTPUpgradeService
-
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<HTTPUpgradeService>,org.jboss.msc.value.Value<HTTPUpgradeService>
public class HTTPUpgradeService extends Object implements org.jboss.msc.service.Service<HTTPUpgradeService>
Service that handles HTTP upgrade for ActiveMQ remoting protocol.- Author:
- Jeff Mesnil (c) 2013 Red Hat inc.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetHttpUpgradeEndpointKey()protected StringgetProtocol()protected StringgetSecAcceptHeader()protected StringgetSecKeyHeader()HTTPUpgradeServicegetValue()static voidinstallService(org.jboss.as.controller.CapabilityServiceTarget target, String activeMQServerName, String acceptorName, String httpListenerName)voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)
-
-
-
Method Detail
-
installService
public static void installService(org.jboss.as.controller.CapabilityServiceTarget target, String activeMQServerName, String acceptorName, String httpListenerName)
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException- Specified by:
startin interfaceorg.jboss.msc.Service- Specified by:
startin interfaceorg.jboss.msc.service.Service<HTTPUpgradeService>- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context)
- Specified by:
stopin interfaceorg.jboss.msc.Service- Specified by:
stopin interfaceorg.jboss.msc.service.Service<HTTPUpgradeService>
-
getValue
public HTTPUpgradeService getValue() throws IllegalStateException, IllegalArgumentException
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<HTTPUpgradeService>- Throws:
IllegalStateExceptionIllegalArgumentException
-
getProtocol
protected String getProtocol()
-
getSecKeyHeader
protected String getSecKeyHeader()
-
getSecAcceptHeader
protected String getSecAcceptHeader()
-
getHttpUpgradeEndpointKey
protected String getHttpUpgradeEndpointKey()
-
-