public class WIOService extends Service implements csbase.remote.WIOServiceInterface
WIOService implementa o serviço de acesso aos arquivos
de projeto do WebSintesi.| Modifier | Constructor and Description |
|---|---|
protected |
WIOService()
Construtor padrão de repasse do nome do serviço.
|
| Modifier and Type | Method and Description |
|---|---|
protected POA |
activateCorbaObject(String id,
Servant o)
Ativação de objeto CORBA.
|
static void |
createService()
Constrói a instância do serviço de gerência de WIO
|
protected void |
deactivateCorbaObject(Servant o)
Desativação de objeto CORBA.
|
static String |
getExceptionString(Exception e)
Formatação de Mensagem de exceção para ser serializada por CORBA.
|
static WIOService |
getInstance()
Busca do serviço de WIO.
|
int |
getMaxReadKb()
Consulta ao tamanho máximo permitido ao servidor responder em uma leitura
de arquivo remoto.
|
int |
getMaxWriteKb()
Consulta ao tamanho máximo permitido ao servidor responder em uma escrita
de arquivo remoto.
|
String |
getServerPort() |
protected boolean |
has2Update(Object arg,
Object event) |
void |
initService()
Inicialização do serviço.
|
String |
preLogin2Web(String login,
String password,
String projectName,
csbase.server.services.wioservice.idl.AlgorithmInfo algorithmInfo)
Executa o pré-login de um usuário no servidor CSBase e retorna uma URL para
acesso ao sistema com esse usuário.
|
void |
shutdownService()
Término do serviço que destrói o servant que implementa a interface de
comunicação com os WIO, e desativa o servidor CORBA correspondente.
|
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, handleFatalErroraddObserver, countObservers, deleteObserver, deleteObserver, deleteObservers, has2update, notifyObserversprotected WIOService()
throws ServerException
ServerException - se houver falha no servidor.public static void createService()
throws ServerException
ServerException - se houver falha no servidor.public static String getExceptionString(Exception e)
e - a exceção Javapublic static final WIOService getInstance()
protected final POA activateCorbaObject(String id, Servant o) throws csbase.server.services.wioservice.idl.WIOServiceException
id - string de identificação.o - o servant CORBA.csbase.server.services.wioservice.idl.WIOServiceException - se houver exceção remota a ser lançada.protected final void deactivateCorbaObject(Servant o) throws csbase.server.services.wioservice.idl.WIOServiceException
o - o servant CORBA.csbase.server.services.wioservice.idl.WIOServiceException - se houver exceção remota a ser lançada.public final int getMaxReadKb()
public final int getMaxWriteKb()
protected final boolean has2Update(Object arg, Object event)
has2Update in class csbase.remote.RemoteObjectObservablepublic final void initService()
throws ServerException
initService in class ServiceServerException - se ocorrer um erro na inicializaçãopublic String preLogin2Web(String login, String password, String projectName, csbase.server.services.wioservice.idl.AlgorithmInfo algorithmInfo)
Executa o pré-login de um usuário no servidor CSBase e retorna uma URL para acesso ao sistema com esse usuário.
Quando executar o sistema com essa URL de acesso, o projeto informado (pertencente ao usuário) será aberto e o algoritmo informado será executado.
login - O login do usuário.password - A senha do usuário.projectName - O nome de um projeto a ser aberto ao se usar a URL de
acesso.algorithmInfo - Dados sobre um algoritmo que será executado ao se usar
a URL de acesso.public final void shutdownService()
throws ServerException
shutdownService in class ServiceServerException - se houver exceção no servidor.public String getServerPort()
getServerPort in interface csbase.remote.WIOServiceInterfaceCopyright © 2021. All rights reserved.