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