|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.muse.core.AbstractEnvironment
org.ogf.graap.wsag.wsrf.bootstrap.BootstrapEnvironment
public class BootstrapEnvironment
The bootstrap environment implements a AbstractEnvironment in order to start up the WSRF layer
before the initial invocation of the web service interface.
| Constructor Summary | |
|---|---|
BootstrapEnvironment(String realPath,
String defaultDeploymentUri)
Creates a BootstrapEnvironment with a given application path (path of the expanded web
application) and the external URI of the application. |
|
| Method Summary | |
|---|---|
void |
addAddressingContext(org.apache.muse.ws.addressing.MessageHeaders context)
registers a new addressing context |
org.apache.muse.ws.addressing.MessageHeaders |
getAddressingContext()
|
URL |
getDataResource(String path)
looks up a data resource at the given path |
InputStream |
getDataResourceStream(String path)
Returns the data resource at the given path as an InputStream. |
org.apache.muse.ws.addressing.EndpointReference |
getDeploymentEPR()
|
File |
getRealDirectory()
|
| Methods inherited from class org.apache.muse.core.AbstractEnvironment |
|---|
createRelativePath, createSoapClient, getClassLoader, getDefaultEPR, getDefaultURI, getDeploymentURI, getDocument, getSoapClient, removeAddressingContext, setDefaultURI, setSoapClient |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BootstrapEnvironment(String realPath,
String defaultDeploymentUri)
BootstrapEnvironment with a given application path (path of the expanded web
application) and the external URI of the application.
realPath - the real path on the file system used for this environmentdefaultDeploymentUri - the default WSRF deployment URI| Method Detail |
|---|
public org.apache.muse.ws.addressing.EndpointReference getDeploymentEPR()
public File getRealDirectory()
public void addAddressingContext(org.apache.muse.ws.addressing.MessageHeaders context)
addAddressingContext in interface org.apache.muse.core.EnvironmentaddAddressingContext in class org.apache.muse.core.AbstractEnvironmentcontext - the addressing contextpublic org.apache.muse.ws.addressing.MessageHeaders getAddressingContext()
getAddressingContext in interface org.apache.muse.core.EnvironmentgetAddressingContext in class org.apache.muse.core.AbstractEnvironmentpublic URL getDataResource(String path)
getDataResource in interface org.apache.muse.core.EnvironmentgetDataResource in class org.apache.muse.core.AbstractEnvironmentpath - the name of the data resource
public InputStream getDataResourceStream(String path)
InputStream.
getDataResourceStream in interface org.apache.muse.core.EnvironmentgetDataResourceStream in class org.apache.muse.core.AbstractEnvironmentpath - the name of the data resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||