Package org.jboss.as.ee.component
Class ViewService
- java.lang.Object
-
- org.jboss.as.ee.component.ViewService
-
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<ComponentView>,org.jboss.msc.value.Value<ComponentView>
public final class ViewService extends Object implements org.jboss.msc.service.Service<ComponentView>
- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description ViewService(ViewConfiguration viewConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.msc.inject.Injector<Component>getComponentInjector()ComponentViewgetValue()voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)
-
-
-
Constructor Detail
-
ViewService
public ViewService(ViewConfiguration viewConfiguration)
-
-
Method Detail
-
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
-
getComponentInjector
public org.jboss.msc.inject.Injector<Component> getComponentInjector()
-
getValue
public ComponentView getValue() throws IllegalStateException, IllegalArgumentException
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<ComponentView>- Throws:
IllegalStateExceptionIllegalArgumentException
-
-