public class SpringApplicationContextService extends Object implements org.jboss.msc.service.Service<org.springframework.context.ApplicationContext>
| Modifier and Type | Field and Description |
|---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
| Constructor and Description |
|---|
SpringApplicationContextService(ClassLoader classLoader,
Class source) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addService(org.jboss.msc.service.ServiceTarget target,
ClassLoader classLoader,
Class source) |
org.springframework.context.ApplicationContext |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public SpringApplicationContextService(ClassLoader classLoader, Class source)
public static void addService(org.jboss.msc.service.ServiceTarget target,
ClassLoader classLoader,
Class source)
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<org.springframework.context.ApplicationContext>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<org.springframework.context.ApplicationContext>public org.springframework.context.ApplicationContext getValue()
throws IllegalStateException,
IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<org.springframework.context.ApplicationContext>IllegalStateExceptionIllegalArgumentExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.