public class RunnerEnvironment extends Object implements ICSDKEnvironment, Serializable
Runner.| Constructor and Description |
|---|
RunnerEnvironment(Map<Class<? extends IContext>,IContext> contexts,
Charset charsetName)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupContexts()
Limpa os contextos.
|
void |
finishApplication() |
Charset |
getCharset() |
<T extends IContext> |
getContext(Class<T> contextClass) |
Locale |
getLocale() |
Charset |
getServerCharset() |
void |
handleException(Exception error,
Window parent) |
String |
runApplication(String appId) |
boolean |
sendMessage(String appId,
IMessage message) |
public void finishApplication()
finishApplication in interface ICSDKEnvironmentpublic void cleanupContexts()
public String runApplication(String appId) throws ApplicationException
runApplication in interface ICSDKEnvironmentApplicationExceptionpublic boolean sendMessage(String appId, IMessage message)
sendMessage in interface ICSDKEnvironmentpublic void handleException(Exception error, Window parent)
handleException in interface ICSDKEnvironmentpublic <T extends IContext> T getContext(Class<T> contextClass)
getContext in interface ICSDKEnvironmentpublic Locale getLocale()
getLocale in interface ICSDKEnvironmentpublic Charset getCharset()
getCharset in interface ICSDKEnvironmentpublic Charset getServerCharset()
getServerCharset in interface ICSDKEnvironmentCopyright © 2013–2015 Tecgraf/PUC-Rio. All rights reserved.