Package railo.runtime.extension

Examples of railo.runtime.extension.ExtensionProvider


    private void doGetExtensionProviders() throws PageException {
      ExtensionProvider[] providers = config.getExtensionProviders();
      railo.runtime.type.Query qry=new QueryImpl(new String[]{"url","isReadOnly"},providers.length,"query");
       
        ExtensionProvider provider;
        for(int i=0;i<providers.length;i++) {
          provider=providers[i];
            int row=i+1;
            //qry.setAt("name",row,provider.getName());
            qry.setAt(KeyConstants._url,row,provider.getUrlAsString());
            qry.setAt("isReadOnly",row,Caster.toBoolean(provider.isReadOnly()));
            //qry.setAt("cacheTimeout",row,Caster.toDouble(provider.getCacheTimeout()/1000));
        }
        pageContext.setVariable(getString("admin",action,"returnVariable"),qry);
    }
View Full Code Here

TOP

Related Classes of railo.runtime.extension.ExtensionProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.