Package org.emrys.webosgi.core.resource.extension

Examples of org.emrys.webosgi.core.resource.extension.IPublishedFileResolver


      String rootPath) {
    DefinesRoot root = new DefinesRoot();
    ResFolder webContentFoler = new ResFolder();
    webContentFoler.setPath(wabCtxPath);
    webContentFoler.setAlias(wabCtxPath);
    IPublishedFileResolver resolver = new BundleWebContentFileResolver(
        bundle, rootPath);
    webContentFoler.setResolverID(resolver.getClass().getName());
    webContentFoler.setResolver(resolver);
    root.getResResolvers().put(resolver.getClass().getName(), resolver);
    root.getResources().add(webContentFoler);
    root.setSourceBundle(bundle);
    root.setName(wabCtxPath);
    root.setId(bundle.getSymbolicName());
    root.setVisitControler(new DefaultResourceVisitController() {
View Full Code Here

TOP

Related Classes of org.emrys.webosgi.core.resource.extension.IPublishedFileResolver

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.