public class CoserCommandFactory extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.collections4.map.MultiKeyMap<Object,Class<? extends CoserCommand>> |
commands
Cache of command types.
|
Constructor and Description |
---|
CoserCommandFactory(Set<ResultRepositoryType> resultRepositoryTypes) |
Modifier and Type | Method and Description |
---|---|
<Repo extends ResultRepository,R extends CoserRequest> |
newCommand(CoserRequestContext requestContext,
Repo repository,
R request) |
protected final org.apache.commons.collections4.map.MultiKeyMap<Object,Class<? extends CoserCommand>> commands
public CoserCommandFactory(Set<ResultRepositoryType> resultRepositoryTypes)
public <Repo extends ResultRepository,R extends CoserRequest> CoserCommand<Repo,R> newCommand(CoserRequestContext requestContext, Repo repository, R request)
Copyright © 2010–2015 Ifremer. All rights reserved.