Griffon 1.2.0

org.codehaus.griffon.runtime.core
[Java] Class AbstractServiceManager

java.lang.Object
  org.codehaus.griffon.runtime.core.AbstractServiceManager
All Implemented Interfaces:
ServiceManager

public abstract class AbstractServiceManager

Base implementation of the ServiceManager interface.

Authors:
Andres Almiray
Since:
0.9.4


Nested Class Summary
private class AbstractServiceManager.ServiceManagerShutdownHandler

 
Field Summary
private static Logger LOG

private GriffonApplication app

 
Constructor Summary
AbstractServiceManager(GriffonApplication app)

 
Method Summary
protected GriffonService doFindService(String name)

protected GriffonService doInstantiateService(String name)

protected void doSetConfigProperties(String name, GriffonService service)

GriffonService findService(String name)

GriffonApplication getApp()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

LOG

private static final Logger LOG


app

private final GriffonApplication app


 
Constructor Detail

AbstractServiceManager

public AbstractServiceManager(GriffonApplication app)


 
Method Detail

doFindService

protected GriffonService doFindService(String name)


doInstantiateService

protected GriffonService doInstantiateService(String name)


doSetConfigProperties

protected void doSetConfigProperties(String name, GriffonService service)


findService

@Override
public GriffonService findService(String name)


getApp

public GriffonApplication getApp()


 

Groovy Documentation