|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Contract interface for service assembly configuration loader. This interface decouples loading the configuration from actual management of the assembly.
| Method Summary | |
AssemblyConfig |
load()
Loads the service assembly configuration from the supplied resource. |
AssemblyConfig |
load(java.io.File file)
Loads the service assembly configuration path from the specified URL |
AssemblyConfig |
load(java.io.InputStream inputStream)
Loads the service assembly configuration path from the specified URL |
AssemblyConfig |
load(java.lang.String uri)
Loads the service assembly configuration path from the specified URL |
void |
setFile(java.io.File file)
Set the system file for the service assembly configuration |
void |
setInputStream(java.io.InputStream inputStream)
Set the input stream for the service assembly configuration |
void |
setUri(java.lang.String uri)
Set the URI path for the service assembly configuration |
| Method Detail |
public void setUri(java.lang.String uri)
uri -
public void setFile(java.io.File file)
public void setInputStream(java.io.InputStream inputStream)
public AssemblyConfig load()
InputStream,
if it is found, and the stream is opened and available,
then method uses the stream.
File exists, then the method loads the
configuration from the system file.
AssemblyConfigException - if the configuration fails to loadpublic AssemblyConfig load(java.lang.String uri)
AssemblyConfigException - if the configuration fails to loadpublic AssemblyConfig load(java.io.File file)
AssemblyConfigException - if the configuration fails to loadpublic AssemblyConfig load(java.io.InputStream inputStream)
AssemblyConfigException - if the configuration fails to load
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||