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(File file,
boolean readOnly)
Deprecated.
|
tecgraf.ftc.common.logic.RemoteFileChannelInfo |
createFileChannelInfo(FTCRequester requester,
File file,
boolean readOnly)
Deprecated.
|
tecgraf.ftc.common.logic.RemoteFileChannelInfo |
createFileChannelInfo(FTCRequester requester,
IRepositoryFile file,
boolean readOnly)
Cria uma descrição de canal de arquivo.
|
tecgraf.ftc.common.logic.RemoteFileChannelInfo |
createFileChannelInfo(IRepositoryFile 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(Object arg,
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(Object arg, Object event)
has2Update in class csbase.remote.RemoteObjectObservablepublic static void createService()
throws ServerException
ServerException - caso ocorra falha na inicializaçãopublic static FTCService getInstance()
@Deprecated public tecgraf.ftc.common.logic.RemoteFileChannelInfo createFileChannelInfo(File file, boolean readOnly) throws 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).Exception - em caso de falha na operação.@Deprecated public tecgraf.ftc.common.logic.RemoteFileChannelInfo createFileChannelInfo(FTCRequester requester, File file, boolean readOnly) throws 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).Exception - em caso de falha na operação.public tecgraf.ftc.common.logic.RemoteFileChannelInfo createFileChannelInfo(IRepositoryFile file, boolean readOnly) throws Exception
file - arquivo de um repositório a ser acessado.readOnly - indica se o arquivo deve ser acessado apenas para leitura
(true) ou se para leitura e escrita (false).Exception - em caso de falha na operação.public tecgraf.ftc.common.logic.RemoteFileChannelInfo createFileChannelInfo(FTCRequester requester, IRepositoryFile file, boolean readOnly) throws Exception
requester - requisitante do canal.file - um arquivo de um repositório a ser acessado.readOnly - indica se o arquivo deve ser acessado apenas para leitura
(true) ou se para leitura e escrita (false).Exception - em caso de falha na operação.Copyright © 2017. All rights reserved.