{@link ResourceLoader} relies on the optional bitronix.tm.resource.configuration
propery to load theJDBC datasources ( {@link bitronix.tm.resource.jdbc.PoolingDataSource}) and JMS connection factories ( {@link bitronix.tm.resource.jms.PoolingConnectionFactory}) configuration file and create the resources.
When bitronix.tm.resource.configuration
is not specified, ResourceLoader is disabled and resources should be manually created.
@author Ben YuJan 16, 2006 1:57:58 PM
ResourceLoader
interface. The main difference is that the ClassLoader
is supplied in the getResource()
call. This has the advantage of allowing a single resource loader to be used with different class loaders. It also simplifies the implementation.
@author Phil Zoio
{@link DefaultResourceLoader} is a standalone implementation that isusable outside an ApplicationContext, also used by {@link ResourceEditor}.
Bean properties of type Resource and Resource array can be populated from Strings when running in an ApplicationContext, using the particular context's resource loading strategy. @author Juergen Hoeller @since 10.03.2004 @see Resource @see org.springframework.core.io.support.ResourcePatternResolver @see org.springframework.context.ApplicationContext @see org.springframework.context.ResourceLoaderAware
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|