/**
  * Under development. A portlet web application can unregister itself from the application server
  */
 public void destroy() {
   // log.debug("removing application tab :" + webApplicationName);
   // PortletTabRegistry.removeGroupTab(webApplicationName);
   PersistenceManagerFactory.destroyPersistenceManagerRdbms(webApplicationName);
   SportletServiceFactory.shutdownServices(webApplicationName);
   appPortlets = null;
 }
 public void init(PortletServiceConfig config) {
   pm = PersistenceManagerFactory.createGridSphereRdbms();
 }