1 9 package org.jboss.portal.server.metadata; 10 11 import org.jboss.portal.server.PortalConstants; 12 import org.jboss.portal.server.ServerObjectID; 13 14 18 public abstract class ComponentMetaData extends ServerObjectMetaData 19 { 20 21 private String expirationCache; 23 protected ComponentMetaData(String applicationName, String name) 24 { 25 super(ServerObjectID.createComponentID(applicationName, name), name); 26 this.depends.add(ServerObjectID.createApplicationID(applicationName)); 27 } 28 29 32 public abstract String getClassName(); 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 String getExpirationCache() 45 { 46 return expirationCache; 47 } 48 49 public void setExpirationCache(String expirationCache) 50 { 51 this.expirationCache = expirationCache; 52 } 53 } 54 | Popular Tags |