1 package org.apache.turbine.services.assemblerbroker; 2 3 18 19 import org.apache.turbine.modules.Assembler; 20 import org.apache.turbine.services.Service; 21 import org.apache.turbine.services.assemblerbroker.util.AssemblerFactory; 22 import org.apache.turbine.util.TurbineException; 23 24 32 public interface AssemblerBrokerService 33 extends Service 34 { 35 36 String SERVICE_NAME = "AssemblerBrokerService"; 37 38 39 String ACTION_TYPE = "action"; 40 41 42 String SCREEN_TYPE = "screen"; 43 44 45 String NAVIGATION_TYPE = "navigation"; 46 47 48 String LAYOUT_TYPE = "layout"; 49 50 51 String PAGE_TYPE = "page"; 52 53 54 String SCHEDULEDJOB_TYPE = "scheduledjob"; 55 56 62 void registerFactory(String type, AssemblerFactory factory); 63 64 73 Assembler getAssembler(String type, String name) throws TurbineException; 74 } 75 | Popular Tags |