[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: vfsmemory url problem
alesj
do-not-reply at jboss.com
Wed Aug 20 04:31:23 EDT 2008
And even if you got past this,
it's still wrong, since /classes/ part is then never used.
MemoryContextFactory.java:
| public VFSContext createRoot(URL url)
| {
| try
| {
| String rootName = url.getHost();
| MemoryContext ctx = registry.get(rootName);
| if (ctx == null)
| {
| String urlPath = url.getPath();
| if (urlPath != null && urlPath.length() > 0)
| throw new IllegalArgumentException("Root can not contain '/' - " + urlPath);
|
| URL ctxURL = new URL("vfsmemory://" + rootName);
| ctx = new MemoryContext(ctxURL);
| registry.put(rootName, ctx);
| }
| return ctx;
|
I'll see what can be done.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171436#4171436
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171436
More information about the jboss-dev-forums
mailing list