edu.UCL.xmiddle.framework.appRegistry
Interface AppManager

All Known Implementing Classes:
ApplicationManager

public interface AppManager

AppManager.java The xmiddle application manager is responsible for registering applications to the platform, binding them with a unique application ID, and storing them in Application Profiles. Currently, support is only provided for applications using a single XML document as data, which must be acompanied by a dtd. Created: Thu Jul 19 14:05:18 2001


Method Summary
 ApplicationProfile getProfile(java.lang.Integer appID)
          Returns the application profile of the application represented by appID
 java.lang.Integer registerApp(XApp app)
          Registers an application
 

Method Detail

registerApp

public java.lang.Integer registerApp(XApp app)
Registers an application

Parameters:
app - The Xmiddle application
Returns:
The application ID assigned by the middleware

getProfile

public ApplicationProfile getProfile(java.lang.Integer appID)
Returns the application profile of the application represented by appID

Parameters:
appID - the application id.
Returns:
The application profile (if the caller has sufficient rights)