public class FTCService extends Service implements csbase.remote.FTCServiceInterface
| Constructor and Description |
|---|
FTCService()
Cria a instância do serviço FTC.
|
| Modifier and Type | Method and Description |
|---|---|
tecgraf.ftc.common.logic.RemoteFileChannelInfo |
createFileChannelInfo(java.io.File file,
boolean readOnly)
Cria uma descrição de canal de arquivo.
|
tecgraf.ftc.common.logic.RemoteFileChannelInfo |
createFileChannelInfo(FTCRequester requester,
java.io.File file,
boolean readOnly)
Cria uma descrição de canal de arquivo.
|
static void |
createService()
Constrói a instância do serviço.
|
static FTCService |
getInstance()
Obtém a 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, handleFatalErroraddObserver, countObservers, deleteObserver, deleteObserver, deleteObservers, has2update, notifyObserverspublic FTCService()
throws ServerException
ServerExceptionpublic void initService()
throws ServerException
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 - caso ocorra falha na inicializaçãopublic static FTCService getInstance()
public tecgraf.ftc.common.logic.RemoteFileChannelInfo createFileChannelInfo(java.io.File file,
boolean readOnly)
throws java.lang.Exception
file - arquivo a ser acessado.readOnly - indica se o arquivo deve ser acessado apenas para leitura
(true) ou se para leitura e escrita (false).java.lang.Exception - em caso de falha na operação.public tecgraf.ftc.common.logic.RemoteFileChannelInfo createFileChannelInfo(FTCRequester requester, java.io.File file, boolean readOnly) throws java.lang.Exception
requester - requisitante do canal.file - arquivo a ser acessado.readOnly - indica se o arquivo deve ser acessado apenas para leitura
(true) ou se para leitura e escrita (false).java.lang.Exception - em caso de falha na operação.Copyright © 2018. All Rights Reserved.