001    package railo.runtime;
002    
003    import java.lang.ref.SoftReference;
004    
005    import railo.runtime.component.ImportDefintion;
006    import railo.runtime.type.Struct;
007    import railo.runtime.type.UDFProperties;
008    
009    
010    // FUTURE move all this to page and delete this class
011    public abstract class PagePlus extends Page {
012            
013            private static final ImportDefintion[] ZERO=new ImportDefintion[0];
014            
015            
016            /**
017             * @see railo.runtime.Page#call(railo.runtime.PageContext)
018             */
019            @Override
020            public void call(PageContext pc) throws Throwable {
021                    // TODO Auto-generated method stub
022                    
023            }
024    
025    
026    
027            /**
028             * @see railo.runtime.Page#getPageSource()
029             */
030            @Override
031            public PageSource getPageSource() {
032                    //print.ds("getPS");
033                    return super.getPageSource();
034            }
035    
036    
037    
038            public ImportDefintion[] getImportDefintions() {
039                    
040                    return ZERO;//new ImportDefintion[]{ImportDefintion.getInstance("jm.test.components.*",null),ImportDefintion.getInstance("jm.test.*",null)};
041            }
042            
043            public SoftReference<Struct> metaData;
044            
045            protected UDFProperties[] udfs;
046    }