org.mule.transport.legstar.config
Class HostContextFactory
java.lang.Object
org.osjava.sj.SimpleContextFactory
org.mule.transport.legstar.config.HostContextFactory
- All Implemented Interfaces:
- InitialContextFactory
public class HostContextFactory
- extends org.osjava.sj.SimpleContextFactory
A cheap alternative to RefFSContextFactory based on simple-jndi.
The idea is to help declaring z/OS resources when no JNDI environment is
provided.
- See Also:
for documentation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HostContextFactory
public HostContextFactory()
getInitialContext
public Context getInitialContext(Hashtable environment)
throws NamingException
- Redirect the common URL parameter to become simple JNDI root folder.
We replace the '.' as a delimiter so that resources can resemble z/OS PDS
names or MQ Queue names.
- Specified by:
getInitialContext in interface InitialContextFactory- Overrides:
getInitialContext in class org.osjava.sj.SimpleContextFactory
- Throws:
NamingException- See Also:
InitialContextFactory.getInitialContext(java.util.Hashtable)
Copyright © 2013 LegSem. All Rights Reserved.