public class LogAdministrationService extends Service implements csbase.remote.LogAdministrationServiceInterface
LogAdministrationService implementa o serviço de
administração dos arquivos de log do servidor.| Modifier | Constructor and Description |
|---|---|
protected |
LogAdministrationService()
Construtor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkDownloadLogFilePermission()
Check de download.
|
static void |
createService()
Criação do serviço
|
csbase.logic.LogFile[] |
downloadLogFile(String[] paths) |
static LogAdministrationService |
getInstance()
Obtém uma instância do serviço.
|
csbase.logic.diagnosticservice.LogType[] |
getLogTypes() |
protected boolean |
has2Update(Object arg,
Object event) |
protected void |
initService()
Método abstrato de inicialização do serviço.
|
csbase.logic.LogFileInfo[] |
listLogFiles(String type,
String path) |
boolean |
sendlLogFilesToAdmin(String body,
String[] filesPaths) |
boolean |
sendlLogFilesToSuport(String body,
String[] filesPaths) |
protected 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, notifyObserversprotected LogAdministrationService()
throws ServerException
ServerException - em caso de erro de construção do serviço.public static LogAdministrationService getInstance()
protected void initService()
throws ServerException
initService in class ServiceServerException - em caso de falhaprotected 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 - em caso de falha de criação.public csbase.logic.diagnosticservice.LogType[] getLogTypes()
throws RemoteException
getLogTypes in interface csbase.remote.LogAdministrationServiceInterfaceRemoteExceptionpublic csbase.logic.LogFileInfo[] listLogFiles(String type, String path) throws RemoteException
listLogFiles in interface csbase.remote.LogAdministrationServiceInterfaceRemoteExceptionpublic boolean sendlLogFilesToSuport(String body, String[] filesPaths)
sendlLogFilesToSuport in interface csbase.remote.LogAdministrationServiceInterfacepublic boolean sendlLogFilesToAdmin(String body, String[] filesPaths)
sendlLogFilesToAdmin in interface csbase.remote.LogAdministrationServiceInterfaceprotected void checkDownloadLogFilePermission()
throws csbase.exception.PermissionException
csbase.exception.PermissionException - em caso de falha de permissão.public csbase.logic.LogFile[] downloadLogFile(String[] paths) throws RemoteException
downloadLogFile in interface csbase.remote.LogAdministrationServiceInterfaceRemoteExceptionCopyright © 2021. All rights reserved.