public class OpenDreamsService extends Service
OpenDreams publica um componente no OpenBus para
execução remota de algoritmos usando uma interface DRMAA.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SERVICE_NAME
Nome do serviço para o
ServiceManager |
| Modifier | Constructor and Description |
|---|---|
protected |
OpenDreamsService()
Construtor default que cadastra esse serviço no
ServiceManager
. |
| Modifier and Type | Method and Description |
|---|---|
static void |
createService()
Constrói a instância do serviço.
|
static OpenDreamsService |
getInstance()
Obtém uma instância do serviço.
|
protected boolean |
has2Update(java.lang.Object arg,
java.lang.Object event) |
void |
initService()
Método abstrato de inicialização do serviço.
|
void |
shutdownService()
Método abstrato de término do serviço
|
getBooleanProperty, getDefaultLocale, getDoubleProperty, getExternalPropertyFile, getFormattedString, getFormattedString, getInitializationDependencies, getInstance, getIntProperty, getKey, getLongProperty, getName, getOptionalString, getOptionalString, getOSPropertyPath, getSenderName, getServices, getString, getString, getStringListProperty, getStringProperty, getSystemId, getThreadLocale, getUser, getUserPermission, hasProperty, incrCounter, isActive, isEnabled, isInternalServerRequest, isLoggingNotifications, isPropertyNull, logNotification, setEnabled, setKey, setSystemId, setUserIdhandleException, handleFatalErrorpublic static final java.lang.String SERVICE_NAME
ServiceManagerprotected OpenDreamsService()
throws ServerException
ServiceManager
. Esse construtor é obrigatório para que o serviço seja iniciado no
servidor.ServerException - se ocorrer algum erro na inicialização do serviço.public static OpenDreamsService getInstance()
public void initService()
throws ServerException
OpenDreams como um serviço do OpenBus.initService in class ServiceServerException - em caso de falhapublic void shutdownService()
throws ServerException
shutdownService in class ServiceServerException - em caso de falha.protected boolean has2Update(java.lang.Object arg,
java.lang.Object event)
has2Update in class csbase.remote.RemoteObjectObservablepublic static void createService()
throws ServerException
ServerException - se houver falha na criação do serviço.Copyright © 2018. All Rights Reserved.