1 16 19 20 package org.apache.pluto.portalImpl.services.factorymanager; 21 22 import org.apache.pluto.factory.Factory; 23 import org.apache.pluto.portalImpl.services.ServiceManager; 24 25 32 public class FactoryManager 33 { 34 35 36 45 46 public static Factory getFactory (Class theClass) 47 { 48 return cService.getFactory(theClass); 49 } 50 51 public static FactoryManagerService getService() 52 { 53 return cService; 54 } 55 56 private final static FactoryManagerService cService = (FactoryManagerService) ServiceManager.getService (FactoryManagerService.class); 57 58 } 59 | Popular Tags |