Class JavaWebStartInfo

  • All Implemented Interfaces:
    ConfigListener

    @Service
    @PerLookup
    public class JavaWebStartInfo
    extends Object
    implements ConfigListener
    Encapsulates information related to Java Web Start support for a single app client.

    The AppClientServerApplication creates one instance of this class for each app client that is deployed - either standalone or as part of an EAR.

    Author:
    tjquinn
    • Constructor Detail

      • JavaWebStartInfo

        public JavaWebStartInfo()
    • Method Detail

      • init

        public void init​(AppClientServerApplication acServerApp)
        Completes initialization of the object. Should be invoked immediate after the object is created by the habitat.
        Parameters:
        acServerApp - the per-client AppClientServerApplication object for the client of interest
      • start

        public void start()
        Starts Java Web Start services for this client, if the client is eligible (as decided by the developer) and enabled (as decided by the administrator).
      • stop

        public void stop()
        Stops Java Web Start services for this client.
      • suspend

        public void suspend()
        Suspends Java Web Start services for this client.
      • resume

        public void resume()
        Resumes Java Web Start services for this client.
      • signedFileForProvidedAppFile

        public File signedFileForProvidedAppFile​(File unsignedFile)
      • changed

        public UnprocessedChangeEvents changed​(PropertyChangeEvent[] events)
        Description copied from interface: ConfigListener
        Notification that @Configured objects that were injected have changed
        Specified by:
        changed in interface ConfigListener
        Parameters:
        events - list of changes
        Returns:
        the list of unprocessed events (requiring a restart) or null if all reconfiguration was processed successfully