org.jadetower.resolver.impl
Class DefaultResolver
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.jadetower.resolver.impl.DefaultResolver
- All Implemented Interfaces:
- org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled, Resolver
- public class DefaultResolver
- extends org.apache.avalon.framework.logger.AbstractLogEnabled
- implements Resolver, org.apache.avalon.framework.configuration.Configurable
Defualt Resolver. Automatically configures the "class" and "jndi"
ResolverFactories.
Fields inherited from interface org.jadetower.resolver.Resolver |
ROLE |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_factories
protected java.util.HashMap m_factories
DefaultResolver
public DefaultResolver()
configure
public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
- Specified by:
configure
in interface org.apache.avalon.framework.configuration.Configurable
resolve
public java.lang.Object resolve(java.lang.String uri)
throws java.lang.Exception
- Specified by:
resolve
in interface Resolver
- Throws:
java.lang.Exception
registerFactory
public void registerFactory(java.lang.String scheme,
ResolverFactory factory)
registerDefaults
protected void registerDefaults()
Copyright © 2003-2004 JadeTower. All Rights Reserved.