Top Description Constructors Methods
org.mortbay.naming.java

public Class javaURLContextFactory

extends Object
implements ObjectFactory
Class Inheritance
All Implemented Interfaces
javax.naming.spi.ObjectFactory
Imports
java.util.Hashtable, javax.naming.Context, .Name, .NamingException, javax.naming.spi.ObjectFactory, org.mortbay.log.Log

javaURLContextFactory

This is the URL context factory for the java: URL.

Notes

Usage

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

a new context or the resolved object for the url
getObjectInstance
(Object
an Object value
url
,
Name
a Name value
name
,
Context
a Context value
ctx
,
Hashtable<K, V>
a Hashtable value
env
)

Implements javax.naming.spi.ObjectFactory.getObjectInstance.

Either return a new context or the resolution of a url.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

javaURLContextFactoryback to summary
public javaURLContextFactory()

Method Detail

getObjectInstanceback to summary
public Object getObjectInstance(Object url, Name name, Context ctx, Hashtable<K, V> env) throws Exception

Implements javax.naming.spi.ObjectFactory.getObjectInstance.

Either return a new context or the resolution of a url.

Parameters
url:Object

an Object value

name:Name

a Name value

ctx:Context

a Context value

env:Hashtable<K, V>

a Hashtable value

Returns:Object

a new context or the resolved object for the url

Exceptions
Exception:
if an error occurs