[jboss-user] [JBoss Microcontainer Development] New message: "How to migrate AssembledDirectory"
Thomas Diesler
do-not-reply at jboss.com
Tue Mar 2 08:20:57 EST 2010
User development,
A new message was posted in the thread "How to migrate AssembledDirectory":
http://community.jboss.org/message/529343#529343
Author : Thomas Diesler
Profile : http://community.jboss.org/people/thomas.diesler@jboss.com
Message:
--------------------------------------------------------------
How do I migratethis to VFS 3.0
public VirtualFile assembleBundle(String name, String[] resourcePaths, Class<?>... packages) throws Exception
{
AssembledDirectory assembledDirectory = createAssembledDirectory(name, "", resourcePaths, packages);
return assembledDirectory;
}
public Bundle deployBundle(String name, OSGiMetaData metaData, String resourcePath, Class<?>... packages) throws Exception
{
AssembledDirectory assembledDirectory = createAssembledDirectory(name, "", new String[] { resourcePath }, packages);
return deployBundle(assembledDirectory, metaData);
}
public Bundle deployBundle(String name, OSGiMetaData metaData, String[] resourcePaths, Class<?>... packages) throws Exception
{
AssembledDirectory assembledDirectory = createAssembledDirectory(name, "", resourcePaths, packages);
return deployBundle(assembledDirectory, metaData);
}
This question relates to the more general issue of VFS not beeing documented adequaltely.
https://jira.jboss.org/jira/browse/JBVFS-113
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529343#529343
More information about the jboss-user
mailing list