com.sap.ip.me.api.deploy
Class ClassPathManager

java.lang.Object
  extended bycom.sap.ip.me.api.deploy.ClassPathManager

public abstract class ClassPathManager
extends java.lang.Object

Upon startup of the Mobile Infrastructure, a classloader loads a number of .jar / .zip files. The absolute path of these files that are loaded upon startup are listed in a text file. This class is a means of updating the content of this text file. The text file has the following format: it contains the absolute paths of all the Mobile Infrastructure files or directories that have to be included in the classpath upon startup.

Author:
SAP

Constructor Summary
ClassPathManager()
           
 
Method Summary
abstract  void addToClassPath(java.lang.String absoluteFilePath)
          Adds a file to the Mobile Infrastructue classpath
static ClassPathManager getInstance()
          Gets the only one instance of the ClassPathManager class
abstract  void removeFromClassPath(java.lang.String absoluteFilePath)
          Removes a file from the Mobile Infrastructue classpath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassPathManager

public ClassPathManager()
Method Detail

getInstance

public static ClassPathManager getInstance()
Gets the only one instance of the ClassPathManager class

Returns:
ClassPathManager singleton

addToClassPath

public abstract void addToClassPath(java.lang.String absoluteFilePath)
Adds a file to the Mobile Infrastructue classpath

Parameters:
absoluteFilePath - The absolute path of the file to be added

removeFromClassPath

public abstract void removeFromClassPath(java.lang.String absoluteFilePath)
Removes a file from the Mobile Infrastructue classpath

Parameters:
absoluteFilePath - The absolute path of the file to be removed


Copyright © 2005 SAP AG. All Rights Reserved.