Interface ApplicationClient

  • All Known Implementing Classes:
    ApplicationShutdownActionTask, OpenWindowCommand

    public interface ApplicationClient

    Definition of an interface for objects that need a reference to the central Application object.

    This interface can be implemented by objects that are automatically created by the dependency injection framework during the initialization phase of an application. It indicates that the implementing object needs access to the global Application object. The framework will recognize this and pass a reference to the Application to the object after its creation.

    Version:
    $Id: ApplicationClient.java 205 2012-01-29 18:29:57Z oheger $
    Author:
    Oliver Heger
    See Also:
    Application
    • Method Detail

      • setApplication

        void setApplication​(Application app)
        Sets a reference to the global Application object. This method is automatically invoked by the framework.
        Parameters:
        app - the reference to the global application