Griffon 1.2.0

griffon.core
[Java] Interface GriffonService

griffon.core.GriffonArtifact
  griffon.core.ResourceHandler
      griffon.core.MVCHandler
          griffon.core.ApplicationHandler
              griffon.core.GriffonService
                  griffon.core.ThreadingHandler
All Superinterfaces:
GriffonArtifact, ResourceHandler, MVCHandler, ApplicationHandler, ThreadingHandler

public interface GriffonService
extends GriffonArtifact

Identifies a Service artifact.

Authors:
Andres Almiray
Since:
0.9.1


Method Summary
void serviceDestroy()

Cleanup callback.

void serviceInit()

Post initialization callback.

 
Methods inherited from interface GriffonArtifact
getGriffonClass, getLog, getMetaClass, newInstance
 
Methods inherited from interface ResourceHandler
getResourceAsStream, getResourceAsURL, getResources
 
Methods inherited from interface MVCHandler
buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, destroyMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup
 
Methods inherited from interface ApplicationHandler
getApp
 
Methods inherited from interface ThreadingHandler
execFuture, execFuture, execFuture, execFuture, execInsideUIAsync, execInsideUISync, execOutsideUI, isUIThread
 

Method Detail

serviceDestroy

public void serviceDestroy()
Cleanup callback.

Called by the ServiceManager when the application is shutting down.

Since:
1.2.0


serviceInit

public void serviceInit()
Post initialization callback.

Called by the ServiceManager right after the Service has been instantiated

Since:
1.2.0


 

Groovy Documentation