@Dependent public class ClientCommandRegistry<C extends Command> extends CommandRegistryImpl<C>
| Constructor and Description |
|---|
ClientCommandRegistry() |
ClientCommandRegistry(javax.enterprise.event.Event<RegisterChangedEvent> registerChangedEvent) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
C |
pop() |
void |
register(C command) |
void |
setSession(ClientSession session) |
contains, getCommandHistory, isEmpty, peek, remove, setMaxSize@Inject public ClientCommandRegistry(javax.enterprise.event.Event<RegisterChangedEvent> registerChangedEvent)
public ClientCommandRegistry()
public void register(C command)
register in interface CommandRegistry<C extends Command>register in interface DynamicRegistry<C extends Command>register in class CommandRegistryImpl<C extends Command>public void clear()
clear in interface CommandRegistry<C extends Command>clear in class CommandRegistryImpl<C extends Command>public C pop()
pop in interface CommandRegistry<C extends Command>pop in class CommandRegistryImpl<C extends Command>public void setSession(ClientSession session)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.