abstract class BaseCommandMatch.BaseInvoker extends CommandInvoker<C,P> implements Instance<T>
| Modifier | Constructor and Description |
|---|---|
protected |
BaseCommandMatch.BaseInvoker(T command) |
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Return the instance, the same instance should be returned, however it can lazily be created.
|
<U> U |
resolve(Class<U> type)
Resolve the specified contextual type to an instance or return null if no object able
to satisfy the class type was resolved.
|
close, flush, getKeyHandler, getScreenContext, invoke, open, provideclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConsumedTypegetProducedTypefinal T extends BaseCommand command
protected BaseCommandMatch.BaseInvoker(T command)
public <U> U resolve(Class<U> type)
Instanceresolve in interface Instance<T extends BaseCommand>U - the generic type parametertype - the type to resolvepublic T get() throws Exception
Instanceget in interface Instance<T extends BaseCommand>Exception - any exception preventing to obtain the instanceCopyright © 2015 eXo Platform SAS. All Rights Reserved.