|
Griffon 1.2.0 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
griffon.core.ServiceManagergriffon.core.ApplicationHandler
public interface ServiceManager extends ApplicationHandler
Helper class capable of dealing with services.
| Method Summary | |
|---|---|
GriffonService
|
findService(String name)
Finds an service by name. |
Map
|
getServices()
Returns a read-only view of all available services |
| Methods inherited from interface ApplicationHandler | |
|---|---|
| getApp |
| Method Detail |
|---|
public GriffonService findService(String name)
Never returns null for a matching service name. If a service instance is not yet available then this method will create it.
name - the name of the service to search for
public Map getServices()
Groovy Documentation