public class SimplePushService extends Object implements org.jboss.msc.service.Service<SimplePushService>
| Constructor and Description |
|---|
SimplePushService(org.jboss.aerogear.simplepush.server.DefaultSimplePushConfig.Builder simplePushConfig,
org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig sockJsConfig) |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.msc.service.ServiceName |
createServiceName(String name) |
org.jboss.msc.value.InjectedValue<org.jboss.aerogear.simplepush.server.datastore.DataStore> |
getInjectedDataStore() |
org.jboss.msc.value.InjectedValue<org.jboss.as.network.SocketBinding> |
getInjectedNotificationSocketBinding() |
org.jboss.msc.value.InjectedValue<org.jboss.as.network.SocketBinding> |
getInjectedSocketBinding() |
SimplePushService |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public SimplePushService(org.jboss.aerogear.simplepush.server.DefaultSimplePushConfig.Builder simplePushConfig,
org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig sockJsConfig)
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<SimplePushService>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<SimplePushService>public org.jboss.msc.value.InjectedValue<org.jboss.as.network.SocketBinding> getInjectedSocketBinding()
public org.jboss.msc.value.InjectedValue<org.jboss.as.network.SocketBinding> getInjectedNotificationSocketBinding()
public org.jboss.msc.value.InjectedValue<org.jboss.aerogear.simplepush.server.datastore.DataStore> getInjectedDataStore()
public SimplePushService getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<SimplePushService>IllegalStateExceptionIllegalArgumentExceptionpublic static org.jboss.msc.service.ServiceName createServiceName(String name)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.