|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.mmapps.modules.config.URLApplicationConfigurationReader
Util class to read an mmbase application configuration from an url(or the classpath).
| Constructor Summary | |
URLApplicationConfigurationReader()
|
|
| Method Summary | |
static ApplicationConfiguration |
getConfiguration(java.net.URL url)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public URLApplicationConfigurationReader()
| Method Detail |
public static ApplicationConfiguration getConfiguration(java.net.URL url)
throws java.lang.Exception
url - an url to the application configuration file (eg http://www.mmbase.org/applicaitons/config/applications/MyNews.xml)
YourClass.class.getClassLoader().getResources("config/applications/" + name + ".xml"); to get an url to the
application xml and feed it to the method
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||