|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.policy.privateutil.PolicyUtils.ConfigFile
public static class PolicyUtils.ConfigFile
| Constructor Summary | |
|---|---|
PolicyUtils.ConfigFile()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
generateFullName(java.lang.String configFileIdentifier)
Generates a config file resource name from provided config file identifier. |
static java.net.URL |
loadFromClasspath(java.lang.String configFileName)
Returns a URL pointing to the given config file. |
static java.net.URL |
loadFromContext(java.lang.String configFileName,
java.lang.Object context)
Returns a URL pointing to the given config file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PolicyUtils.ConfigFile()
| Method Detail |
|---|
public static java.lang.String generateFullName(java.lang.String configFileIdentifier)
throws PolicyException
loadFromContext(String, Object) or loadFromClasspath(String)
method.
configFileIdentifier - the string used to generate the config file URL that will be parsed. Each WSIT config
file is in form of wsit-{configFileIdentifier}.xml. Must not be null.
PolicyException
public static java.net.URL loadFromContext(java.lang.String configFileName,
java.lang.Object context)
configFileName - The name of the file resourcecontext - A ServletContext object. May not be null.public static java.net.URL loadFromClasspath(java.lang.String configFileName)
configFileName - the name of the file resource. May not be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||