|
Protomatter Classes v1.1.6 | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
JNDIUtil | A utility class for looking up servers in the PAS JNDI tree. |
PASContext | PAS's (incomplete) implementation of the javax.naming.Context interface. |
The JNDI implementation provided by PAS.
Which is enough to get most things done. A full implementation of the 1.1.1 SPI interfaces is planned, but will not be completed until there's a real need for it.Context.bind(String name, Object o) Context.rebind(String name, Object o) Context.lookup(String name)
To obtain a context from PAS, Do the following:
And that's all you have to do.import javax.naming.*; // JNDI stuff ... Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, "com.protomatter.pas.jndi.spi.PASInitialContextFactory"); Context context = new InitialContext(env);
|
Protomatter Classes v1.1.6 Copyright 1998-2001 Nate Sammons |
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Protomatter Classes v1.1.6 | http://protomatter.sourceforge.net/1.1.6 |