edu.UCL.xmiddle.appRegistry
Class ApplicationManager

java.lang.Object
  |
  +--edu.UCL.xmiddle.appRegistry.ApplicationManager
All Implemented Interfaces:
AppManager

public class ApplicationManager
extends java.lang.Object
implements AppManager

ApplicationManager.java Registers application according to the AppManager guidelines. Issues Integer application id's, unique on the platform it's running rights Objects are currently ignored Created: Tue Jul 24 15:18:12 2001 Modified: July 2002


Constructor Summary
ApplicationManager()
          Creates a new ApplicationManager instance.
 
Method Summary
 ApplicationProfile getProfile(java.lang.Integer appID)
          Returns an application profile
 java.lang.Integer registerApp(XApp app)
          Registers an application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationManager

public ApplicationManager()
Creates a new ApplicationManager instance.

Method Detail

getProfile

public ApplicationProfile getProfile(java.lang.Integer appID)
Returns an application profile

Specified by:
getProfile in interface AppManager
Parameters:
appID - The id of the application the profile of which is to be returned
Returns:
The ApplicationProfile of the given ID or NULL if the ID wa invalid

registerApp

public java.lang.Integer registerApp(XApp app)
Registers an application. It assigns it the default access and reconciliation policies, and no DTD

Specified by:
registerApp in interface AppManager
Parameters:
app - The Xmiddle application
Returns:
the application ID