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() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkDownloadLogFilePermission() |
static void |
createService() |
csbase.logic.LogFile[] |
downloadLogFile(java.lang.String[] paths) |
static LogAdministrationService |
getInstance()
Obtém uma instância do serviço.
|
csbase.logic.diagnosticservice.LogType[] |
getLogTypes() |
protected boolean |
has2Update(java.lang.Object arg,
java.lang.Object event) |
protected void |
initService()
Método abstrato de inicialização do serviço.
|
csbase.logic.LogFileInfo[] |
listLogFiles(java.lang.String type,
java.lang.String path) |
boolean |
sendlLogFilesToAdmin(java.lang.String body,
java.lang.String[] filesPaths) |
boolean |
sendlLogFilesToSuport(java.lang.String body,
java.lang.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
ServerExceptionpublic 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(java.lang.Object arg,
java.lang.Object event)
has2Update in class csbase.remote.RemoteObjectObservablepublic static void createService()
throws ServerException
ServerExceptionpublic csbase.logic.diagnosticservice.LogType[] getLogTypes()
throws java.rmi.RemoteException
getLogTypes in interface csbase.remote.LogAdministrationServiceInterfacejava.rmi.RemoteExceptionpublic csbase.logic.LogFileInfo[] listLogFiles(java.lang.String type,
java.lang.String path)
throws java.rmi.RemoteException
listLogFiles in interface csbase.remote.LogAdministrationServiceInterfacejava.rmi.RemoteExceptionpublic boolean sendlLogFilesToSuport(java.lang.String body,
java.lang.String[] filesPaths)
sendlLogFilesToSuport in interface csbase.remote.LogAdministrationServiceInterfacepublic boolean sendlLogFilesToAdmin(java.lang.String body,
java.lang.String[] filesPaths)
sendlLogFilesToAdmin in interface csbase.remote.LogAdministrationServiceInterfaceprotected void checkDownloadLogFilePermission()
throws csbase.exception.PermissionException
csbase.exception.PermissionExceptionpublic csbase.logic.LogFile[] downloadLogFile(java.lang.String[] paths)
throws java.rmi.RemoteException
downloadLogFile in interface csbase.remote.LogAdministrationServiceInterfacejava.rmi.RemoteExceptionCopyright © 2018. All Rights Reserved.