00001 package org.openmobileis.bundle.osgi.terminal; 00002 00003 import org.openmobileis.common.util.exception.ServiceException; 00004 import org.openmobileis.module.core.ProfileModule; 00005 import org.openmobileis.module.terminal.ModuleManagerListener; 00006 import org.openmobileis.synchro.openmsp.client.EmptyOpenMSPSyncListener; 00007 00008 public final class OSGIOpenMSPSyncListener extends EmptyOpenMSPSyncListener 00009 implements ModuleManagerListener { 00010 00011 public String getJarInstallPath() { 00012 return System.getProperty("user.dir")+"/WEB-INF/module/jar"; 00013 } 00014 00015 public String getXMLInstallPath() { 00016 return System.getProperty("user.dir")+"/WEB-INF/module/xml"; 00017 } 00018 00019 public void initManager() throws ServiceException { 00020 } 00021 00022 public void notifyModuleLoading(ProfileModule module) 00023 throws ServiceException { 00024 // TODO Auto-generated method stub 00025 00026 } 00027 00028 public void notifyModuleUpdate(ProfileModule module) 00029 throws ServiceException { 00030 // TODO Auto-generated method stub 00031 00032 } 00033 00034 public String getSyncName() { 00035 return "FWK OSGIModuleManagerListener"; 00036 } 00037 00038 }