org.modeshape.jboss.service
Class EngineService
java.lang.Object
org.modeshape.jboss.service.EngineService
- All Implemented Interfaces:
- Serializable, org.jboss.msc.service.Service<ModeShapeEngine>, org.jboss.msc.value.Value<ModeShapeEngine>
public final class EngineService
- extends Object
- implements org.jboss.msc.service.Service<ModeShapeEngine>, Serializable
An EngineService instance is a JBoss service object for a ModeShapeEngine.
- See Also:
- Serialized Form
| Fields inherited from interface org.jboss.msc.service.Service |
NULL, NULL_VALUE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EngineService
public EngineService(ModeShapeEngine engine)
- Set the engine instance for this service
- Parameters:
engine - the engine (never null)
getValue
public ModeShapeEngine getValue()
throws IllegalStateException,
IllegalArgumentException
- Specified by:
getValue in interface org.jboss.msc.value.Value<ModeShapeEngine>
- Throws:
IllegalStateException
IllegalArgumentException
start
public void start(org.jboss.msc.service.StartContext context)
- Specified by:
start in interface org.jboss.msc.service.Service<ModeShapeEngine>
stop
public void stop(org.jboss.msc.service.StopContext arg0)
- Specified by:
stop in interface org.jboss.msc.service.Service<ModeShapeEngine>
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.