org.openmobileis.bundle.osgi.terminal
Class OSGIModuleManagerListener

java.lang.Object
  extended byorg.openmobileis.bundle.osgi.terminal.OSGIModuleManagerListener
All Implemented Interfaces:
ModuleManagerListener

public final class OSGIModuleManagerListener
extends java.lang.Object
implements ModuleManagerListener


Constructor Summary
OSGIModuleManagerListener(BundleContext bundleContext)
           
 
Method Summary
 java.lang.String getJarInstallPath()
          return the path where module jar must be stored.
 java.lang.String getXMLInstallPath()
           
 void initManager()
          call during module management init.
 void notifyModuleLoading(ProfileModule module)
          call when a new module must be loaded.
 void notifyModuleUpdate(ProfileModule module)
          call when a module has been updated by the synchro.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGIModuleManagerListener

public OSGIModuleManagerListener(BundleContext bundleContext)
Method Detail

getJarInstallPath

public java.lang.String getJarInstallPath()
Description copied from interface: ModuleManagerListener
return the path where module jar must be stored.

Specified by:
getJarInstallPath in interface ModuleManagerListener
Returns:

getXMLInstallPath

public java.lang.String getXMLInstallPath()

initManager

public void initManager()
                 throws ServiceException
Description copied from interface: ModuleManagerListener
call during module management init. Do all init needed before module loading.

Specified by:
initManager in interface ModuleManagerListener
Throws:
ServiceException

notifyModuleLoading

public void notifyModuleLoading(ProfileModule module)
                         throws ServiceException
Description copied from interface: ModuleManagerListener
call when a new module must be loaded. Do all the module loading.

Specified by:
notifyModuleLoading in interface ModuleManagerListener
Parameters:
module -
Throws:
ServiceException

notifyModuleUpdate

public void notifyModuleUpdate(ProfileModule module)
                        throws ServiceException
Description copied from interface: ModuleManagerListener
call when a module has been updated by the synchro.

Specified by:
notifyModuleUpdate in interface ModuleManagerListener
Parameters:
module -
Throws:
ServiceException


Copyright 2006 OpenMobileIS. All Rights Reserved.