public class ActionsService extends AbstractService
| Modifier and Type | Class and Description |
|---|---|
class |
ActionsService.Xml |
| Modifier and Type | Field and Description |
|---|---|
protected EventMap<String,Action> |
map |
protected MapDB2Service |
mapDB2Service |
protected RewriteRulesFun |
rewriteAction |
serviceEventQueue| Constructor and Description |
|---|
ActionsService() |
| Modifier and Type | Method and Description |
|---|---|
Action |
get(String id)
Получение "действия" по id
|
EventMap<String,Action> |
getMap()
Возвращает зарегистрированные "действия".
|
RewriteRulesFun |
getRewriteRules()
Правила переопределяющее поведение "действия"
|
Action |
register(String id,
Action action)
Регистрирует "действие"
|
protected Action |
wrap(String id,
Action act)
Создает "прокси" для действия
|
ActionsService.Xml |
xml() |
addServiceEvent, addServiceListener, addServiceListener, findFirstService, findServices, findServices, findServices, fireServiceEvent, fireServiceEvents, getConsole, getFieldDependencies, getInitDependenciesCallCount, getServiceListeners, getUnresolvedDependencies, hasServiceListener, init, initDependencies, instances, isResolvedDependencies, listeners, onInitServicesEnd, onResolvedDependencies, removeServiceListener, resolveDependecyprotected MapDB2Service mapDB2Service
protected volatile RewriteRulesFun rewriteAction
public EventMap<String,Action> getMap()
public RewriteRulesFun getRewriteRules()
public Action register(String id, Action action)
id - идентификатор действияaction - действиеpublic Action get(String id)
id - идентификаторprotected Action wrap(String id, Action act)
id - идентификатор действияact - действиеpublic ActionsService.Xml xml()
Copyright © 2018. All rights reserved.