org.apache.struts2.osgi.loaders
Class StaticContentBundleResourceLoader

java.lang.Object
  extended by org.apache.struts2.dispatcher.DefaultStaticContentLoader
      extended by org.apache.struts2.osgi.loaders.StaticContentBundleResourceLoader
All Implemented Interfaces:
StaticContentLoader

public class StaticContentBundleResourceLoader
extends DefaultStaticContentLoader

Loads static resources from bundles


Field Summary
 
Fields inherited from class org.apache.struts2.dispatcher.DefaultStaticContentLoader
encoding, lastModifiedCal, pathPrefixes, serveStatic, serveStaticBrowserCache
 
Constructor Summary
StaticContentBundleResourceLoader()
           
 
Method Summary
protected  java.net.URL findResource(java.lang.String path)
           
 void setBundleAccessor(BundleAccessor bundleAccessor)
           
 
Methods inherited from class org.apache.struts2.dispatcher.DefaultStaticContentLoader
buildPath, canHandle, cleanupPath, copy, findStaticResource, getAdditionalPackages, getContentType, parse, process, setEncoding, setHostConfig, setServeStaticBrowserCache, setServeStaticContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticContentBundleResourceLoader

public StaticContentBundleResourceLoader()
Method Detail

findResource

protected java.net.URL findResource(java.lang.String path)
                             throws java.io.IOException
Overrides:
findResource in class DefaultStaticContentLoader
Throws:
java.io.IOException

setBundleAccessor

public void setBundleAccessor(BundleAccessor bundleAccessor)


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.