public class KillServerService extends Service implements csbase.remote.KillServerServiceInterface
KillServerService foi criada apenas como um facilitador
para os testes automatizados; permite derrubar o servidor programaticamente.| Modifier | Constructor and Description |
|---|---|
protected |
KillServerService()
Constrói a instância do serviço.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
createService()
Constrói a instância do serviço.
|
static KillServerService |
getInstance()
Obtém a instância do serviço
|
protected boolean |
has2Update(java.lang.Object arg,
java.lang.Object event) |
void |
initService()
Inicialização do serviço.
|
void |
shutdown() |
void |
shutdownService()
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 KillServerService()
throws ServerException
ServerException - caso ocorra falha na inicializaçãopublic static KillServerService getInstance()
public void shutdown()
throws csbase.exception.PermissionException
shutdown in interface csbase.remote.KillServerServiceInterfacecsbase.exception.PermissionExceptionpublic void shutdownService()
shutdownService in class Serviceprotected boolean has2Update(java.lang.Object arg,
java.lang.Object event)
has2Update in class csbase.remote.RemoteObjectObservablepublic void initService()
throws ServerException
initService in class ServiceServerException - se ocorrer um erro na inicializaçãopublic static void createService()
throws ServerException
ServerException - caso ocorra falha na inicializaçãoCopyright © 2016. All Rights Reserved.