|
Griffon 0.9.5-rc2 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.griffon.runtime.core.ArtifactHandlerAdapter
org.codehaus.griffon.runtime.core.ServiceArtifactHandler
public class ServiceArtifactHandler extends ArtifactHandlerAdapter
Handler for 'Service' artifacts.
Nested Class Summary | |
---|---|
private class |
ServiceArtifactHandler.DefaultServiceManager
|
Field Summary | |
---|---|
private static org.slf4j.Logger |
LOG
|
private ServiceManager |
serviceManager
|
Fields inherited from class ArtifactHandlerAdapter | |
---|---|
app, artifacts, classes, classesByName, trailing, type |
Constructor Summary | |
ServiceArtifactHandler()
|
Method Summary | |
---|---|
def
|
ServiceArtifactHandler(GriffonApplication app)
|
void
|
initialize(ArtifactInfo[] artifacts)
|
private boolean
|
isBasicInjectionDisabled()
|
private boolean
|
isEagerInstantiationEnabled()
|
protected GriffonClass
|
newGriffonClassInstance(Class clazz)
|
void
|
onNewInstance(Class klass, String t, Object instance)
Application event listener. |
Methods inherited from class ArtifactHandlerAdapter | |
---|---|
findClassFor, getApp, getArtifacts, getClassFor, getClassFor, getClasses, getClassesByName, getTrailing, getType, initialize, isArtifact, isArtifact, newGriffonClassInstance |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private static final org.slf4j.Logger LOG
private final ServiceManager serviceManager
Constructor Detail |
---|
ServiceArtifactHandler()
Method Detail |
---|
public def ServiceArtifactHandler(GriffonApplication app)
public void initialize(ArtifactInfo[] artifacts)
private boolean isBasicInjectionDisabled()
private boolean isEagerInstantiationEnabled()
protected GriffonClass newGriffonClassInstance(Class clazz)
public void onNewInstance(Class klass, String t, Object instance)
Lazily injects services instances if app.config.griffon.basic_injection.disable is not set to true
Groovy Documentation