Package net.sf.jguiraffe.gui.app
Interface ApplicationClient
-
- All Known Implementing Classes:
ApplicationShutdownActionTask,OpenWindowCommand
public interface ApplicationClientDefinition of an interface for objects that need a reference to the central
Applicationobject.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
Applicationobject. The framework will recognize this and pass a reference to theApplicationto the object after its creation.- Version:
- $Id: ApplicationClient.java 205 2012-01-29 18:29:57Z oheger $
- Author:
- Oliver Heger
- See Also:
Application
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetApplication(Application app)Sets a reference to the globalApplicationobject.
-
-
-
Method Detail
-
setApplication
void setApplication(Application app)
Sets a reference to the globalApplicationobject. This method is automatically invoked by the framework.- Parameters:
app- the reference to the global application
-
-