com.sap.ip.me.api.runtime
Interface Application

All Known Subinterfaces:
AwtApplication, PreActivatedAwtApp
All Known Implementing Classes:
AbstractMEHttpServlet

public interface Application

The base interface for Mobile Engine applications. Every application that should run within the Mobile Engine has to implement this interface or any subclass interface.

Author:
SAP

Method Summary
 void activateApplication()
          Activates an application.
 void deactivateApplication()
          Deactivates an application.
 void destroyApplication()
          Destroys an application.
 java.lang.String getApplicationName()
          Returns the technical name of an application.
 void initApplication()
          Initializes the Application before it will be displayed by the framework.
 

Method Detail

initApplication

public void initApplication()
Initializes the Application before it will be displayed by the framework. This method will be called by the framework if the application was loaded. The application will resist until the user log off or the Mobile Engine will be shut down.


activateApplication

public void activateApplication()
Activates an application. Every time the application becomes active the framework calls this method before it will be displayed. Only one application can be active at the same time.


deactivateApplication

public void deactivateApplication()
Deactivates an application. Every time the application has been left the framework calls this method before another application will be displayed. Only one application can be active at the same time. Deactivates an application


destroyApplication

public void destroyApplication()
Destroys an application. The framework calls this method if the user logs off or if the Mobile Engine will be shut down. So you can clean up your application.


getApplicationName

public java.lang.String getApplicationName()
Returns the technical name of an application.

Returns:
The application name


Copyright © 2005 SAP AG. All Rights Reserved.