rabbit.proxy
Class ResourceLoader
java.lang.Object
rabbit.proxy.ResourceLoader
public class ResourceLoader
- extends Object
A class that can load and bind resources for jndi.
- Author:
- Robert Olofsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceLoader
public ResourceLoader()
throws NamingException
- Create a new ResourceLoader
- Throws:
NamingException
- if the initial context can not be created
setupResource
public void setupResource(String name,
SProperties props,
HttpProxy proxy)
- Load and bind the resouce given by the given section name and
properties.
- Parameters:
name
- the name of the resourceprops
- the properties for the resourceproxy
- the HttpProxy loading the classes