JpdProxy.ContextHandler Interface
- public static interface JpdProxy.ContextHandler
extends Serializable
Clients pass an instance of this interface to the
create
method. The proxy implementation uses this
instance at runtime to allocate a JNDI context. This context is
used to login to the server and lookup server-side resources that
handle incoming proxy requests.
-
All Superinterfaces
-
Serializable
-
Enclosing class
-
JpdProxy
public Context |
-
getContext ()
- Returns a JNDI context used to lookup the server-side bean
that this proxy talks to.
|
serialVersionUID
public static final long serialVersionUID
getContext() Method
public Context
getContext()
throws NamingException
Returns a JNDI context used to lookup the server-side bean
that this proxy talks to.
Returns
- a JNDI context, must be properly configured to
connect to the server
Exceptions
-
NamingException
- if the context could not be created