1 package org.apache.turbine.services.avaloncomponent; 2 3 18 19 import org.apache.avalon.framework.component.Component; 20 import org.apache.avalon.framework.component.ComponentException; 21 22 import org.apache.turbine.services.Service; 23 24 31 public interface AvalonComponentService 32 extends Service 33 { 34 35 String SERVICE_NAME = "AvalonComponentService"; 36 37 38 String AVALON_LOG_CATEGORY = "avalon"; 39 40 41 String COMPONENT_CONFIG_KEY = "componentConfiguration"; 42 43 44 String COMPONENT_CONFIG_VALUE = "/WEB-INF/conf/componentConfiguration.xml"; 45 46 47 String COMPONENT_ROLE_KEY = "componentRoles"; 48 49 50 String COMPONENT_ROLE_VALUE = "/WEB-INF/conf/roleConfiguration.xml"; 51 52 53 String COMPONENT_LOOKUP_KEY = "lookup"; 54 55 56 String COMPONENT_APP_ROOT = "componentAppRoot"; 57 58 65 Component lookup(String roleName) 66 throws ComponentException; 67 68 73 void release(Component component); 74 75 } 76 | Popular Tags |