Class TCPResourceLoader
java.lang.Object
com.sun.xml.ws.transport.tcp.server.TCPResourceLoader
- All Implemented Interfaces:
ResourceLoader
- Author:
- Alexey Stashok
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the catalog XML file that should be consulted when loading resources from thisResourceLoader.getResource(String path) Returns the actual location of the resource from the 'path' that represents a virtual locaion of a file inside a web application.getResourcePaths(String path) Returns the list of files in the given directory.
-
Constructor Details
-
TCPResourceLoader
-
-
Method Details
-
getResource
Description copied from interface:ResourceLoaderReturns the actual location of the resource from the 'path' that represents a virtual locaion of a file inside a web application.- Specified by:
getResourcein interfaceResourceLoader- Parameters:
path- Desiganates an absolute path within an web application, such as: '/WEB-INF/web.xml' or some such.- Returns:
- the actual location, if found, or null if not found.
- Throws:
MalformedURLException
-
getCatalogFile
Description copied from interface:ResourceLoaderGets the catalog XML file that should be consulted when loading resources from thisResourceLoader.- Specified by:
getCatalogFilein interfaceResourceLoader- Throws:
MalformedURLException
-
getResourcePaths
Description copied from interface:ResourceLoaderReturns the list of files in the given directory.- Specified by:
getResourcePathsin interfaceResourceLoader- Returns:
- null if the path is invalid. empty if the path didn't contain any entry in it.
- See Also:
-
ServletContext.getResourcePaths(String)
-