All Packages Class Hierarchy This Package Previous Next Index
Interface com.sgi.sysadm.manager.RApp.RAppLaunchListener
- public interface RAppLaunchListener
- extends EventListener
RAppLaunchListener is used as a parameter to the run() and
launchApp() methods.
-
launchAlreadyRunning(RAppLaunchEvent)
- If the application supports run-once and determines that
the application is already running, launchAlreadyRunning()
is called.
-
launchFailed(RAppLaunchEvent)
- If run() or launchApp() fails, launchFailed() will be
called.
-
launchSucceeded(RAppLaunchEvent)
- If run() or launchApp() succeeds, launchSucceeded() will
be called.
launchSucceeded
public abstract void launchSucceeded(RAppLaunchEvent event)
- If run() or launchApp() succeeds, launchSucceeded() will
be called.
- Parameters:
- event - Use event.getDialogParent() to get the
JComponent which can be used as the login
dialog parent in case the connection to the
server is lost.
launchFailed
public abstract void launchFailed(RAppLaunchEvent event)
- If run() or launchApp() fails, launchFailed() will be
called.
- Parameters:
- event - Use event.getMessage() to get the String which
contains a localized error message explaining
the failure.
launchAlreadyRunning
public abstract void launchAlreadyRunning(RAppLaunchEvent event)
- If the application supports run-once and determines that
the application is already running, launchAlreadyRunning()
is called.
- Parameters:
- event - Use event.getResultObject() to get the Object
passed back by the already-running
application. To determine what information is
passed back in the event, check the
documentation of the application you are launching.
All Packages Class Hierarchy This Package Previous Next Index