fr.paris5.shaman.insight.server.rmi
Class ShutdownServiceImpl
fr.paris5.shaman.insight.component.AbstractExposedService
|
+--fr.paris5.shaman.insight.server.rmi.ShutdownServiceImpl
- All Implemented Interfaces:
- ExposedService, InsightConfigurationConstants, java.rmi.Remote, java.io.Serializable, ShutdownService, SystemConfigurationConstants
- public class ShutdownServiceImpl
- extends AbstractExposedService
- implements ShutdownService
Implementation of ShutdownService.
- Version:
- $Id: ShutdownServiceImpl.java,v 1.1 2002/06/18 12:23:12 caillette Exp $
- Author:
- Laurent Caillette
- See Also:
- Serialized Form
Method Summary |
boolean |
shutdown(long delay)
Attempts to terminate hosting VM after a given delay. |
Methods inherited from class fr.paris5.shaman.insight.component.AbstractExposedService |
clone, compose, configure, contextualize, dispose, doCompose, doConfigure, doContextualize, doDispose, doInitialize, equals, exportObject, exportObject, exportObject, getInsightManager, getLogManager, getRef, hashCode, initialize, readObject, reexport, setLogKitManager, toString, writeObject |
ShutdownServiceImpl
public ShutdownServiceImpl()
ShutdownServiceImpl
public ShutdownServiceImpl(int port)
throws java.rmi.RemoteException
shutdown
public boolean shutdown(long delay)
throws java.rmi.RemoteException
- Description copied from interface:
ShutdownService
- Attempts to terminate hosting VM after a given delay.
- Specified by:
shutdown
in interface ShutdownService
- Following copied from interface:
fr.paris5.shaman.insight.service.ShutdownService
- Parameters:
delay
- Delay in milliseconds before shutdown.- Returns:
- if the shutdown request was accepted, false
otherwise.
- Throws:
java.rmi.RemoteException
-
Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.