001    package railo.runtime.cfx;
002    
003    import java.util.Map;
004    
005    import railo.runtime.cfx.customtag.CFXTagClass;
006    
007    import com.allaire.cfx.CustomTag;
008    
009    /**
010     * Pool for cfx tags
011     */
012    public interface CFXTagPool {
013    
014        /**
015         * @return Returns the classes.
016         */
017        public abstract Map getClasses();
018    
019        /**
020         * return custom tag that match the name
021         * @param name
022         * @return matching tag
023         * @throws CFXTagException
024         */
025        public CustomTag getCustomTag(String name) throws CFXTagException;
026    
027        public CFXTagClass getCFXTagClass(String name) throws CFXTagException;
028        
029        /**
030         * realese custom tag
031         * @param ct
032         */
033        public void releaseCustomTag(CustomTag ct);
034        
035        public void releaseTag(Object tag);
036    
037    }