Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.huihoo.jfox.service
Interface Service

All Superinterfaces:
  Component, Loggable, Persistentable, java.lang.Runnable, java.io.Serializable

All Known Subinterfaces:
  DirMLetMBean, ServiceSupportMBean, ServiceWrapperMBean

public interface Service
extends Component, java.lang.Runnable

define Constants and Method needed by common service

Author:
  Young Yang

Method Summary
`boolean` | `isRunning()` the running flag
`void` | `start()` doStart the service, doCreate is already called
`void` | `stop()` doStop the service

Methods inherited from interface org.huihoo.jfox.service.Component
`destroy, getName, getState, init`

Methods inherited from interface org.huihoo.jfox.service.Loggable
`getLogger`

Methods inherited from interface java.lang.Runnable
`run`

Method Detail

### isRunning

    public boolean isRunning()

  the running flag

### start

    public void start()
               throws java.lang.Exception

  doStart the service, doCreate is already called

### stop

    public void stop()
              throws java.lang.Exception

  doStop the service

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD