1 9 package org.jboss.portal.server.metadata; 10 11 import java.util.Collections ; 12 import java.util.Map ; 13 14 import javax.servlet.ServletContext ; 15 16 import org.jboss.portal.server.PortalConstants; 17 import org.jboss.portal.server.ServerObjectID; 18 19 23 public class PortalServerMetaData extends ServerObjectMetaData 24 { 25 26 private Map componentConfigurations; 27 28 public PortalServerMetaData(String name) 29 { 30 super(ServerObjectID.createPortalContainerID(), name); 31 this.componentConfigurations = Collections.EMPTY_MAP; 32 } 33 34 public InterceptorListMetaData getInterceptorList() 35 { 36 return (InterceptorListMetaData)getPlugin(PortalConstants.PLUGIN_INVOCATION); 37 } 38 39 public void setInterceptorList(InterceptorListMetaData interceptorList) 40 { 41 addPlugin(PortalConstants.PLUGIN_INVOCATION, interceptorList); 42 } 43 44 public Map getComponentConfigurations() 45 { 46 return componentConfigurations; 47 } 48 49 public void setComponentConfigurations(Map componentConfigurations) 50 { 51 this.componentConfigurations = componentConfigurations; 52 } 53 } 54 | Popular Tags |