You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Apache Wiki <wi...@apache.org> on 2011/08/25 14:08:53 UTC
[Tapestry Wiki] Update of "HowToRunTapestry5OnJBoss5" by GeoffCallender
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The "HowToRunTapestry5OnJBoss5" page has been changed by GeoffCallender:
http://wiki.apache.org/tapestry/HowToRunTapestry5OnJBoss5?action=diff&rev1=4&rev2=5
{{{
public class ClasspathURLConverterJBoss5 implements ClasspathURLConverter
{
- private static Logger log = Logger.getLogger(ClasspathURLConverterJBoss5.class);
+ private static Logger log = Logger.getLogger(ClasspathURLConverterJBoss5.class);
- public URL convert(URL url)
+ public URL convert(URL url)
- {
+ {
if (url != null && url.getProtocol().startsWith("vfs"))
{
// supports virtual filesystem used by JBoss 5.x
@@ -25, +25 @@
log.info(e.getCause());
}
}
- return url;
+ return url;
- }
+ }
private Object invokerGetter(Object target, String getter) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException
{
@@ -51, +51 @@
{{{
public static void contributeServiceOverride(MappedConfiguration<Class,Object> configuration)
- {
+ {
- configuration.add(ClasspathURLConverter.class, new ClasspathURLConverterJBoss5());
+ configuration.add(ClasspathURLConverter.class, new ClasspathURLConverterJBoss5());
- }
-
+ }
}}}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org