public final class Services
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ListenerService |
getListenerService()
Returns the currently active listener service.
|
static ResourceService |
getResourceService()
Returns the currently active resource service.
|
static void |
setListenerService(ListenerService service)
Sets the listener service.
|
static void |
setResourceService(ResourceService service)
Sets the resource service.
|
static void |
unsetListenerService()
Unsets the listener service.
|
static void |
unsetResourceService()
Unsets the resource service.
|
public static void setResourceService(ResourceService service)
service
- the service, not null
public static void setListenerService(ListenerService service)
service
- the service, not null
public static void unsetResourceService()
public static void unsetListenerService()
public static ResourceService getResourceService()
public static ListenerService getListenerService()