Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jnp.client.* (1)org.jnp.interfaces.* (10)org.jnp.interfaces.java.* (1)
org.jnp.interfaces.jnp.* (1)org.jnp.server.* (3)org.jnp.test.* (1)

Package Samples:

org.jnp.client
org.jnp.interfaces.java
org.jnp.interfaces.jnp
org.jnp.interfaces
org.jnp.server
org.jnp.test

Classes:

FastNamingProperties: This class exists because the JNDI API set wisely uses java.util.Properties which extends Hashtable, a threadsafe class. The NamingParser uses a static instance, making it a global source of contention. This results in a huge scalability problem, which can be seen in ECPerf, as sometimes half of the worker threads are stuck waiting for this stupid lock, sometimes themselves holdings global locks, e.g. to the AbstractInstanceCache.
NamingContext: This class provides the jnp provider Context implementation. It is a Context interface wrapper for a RMI Naming instance that is obtained from either the local server instance or by locating the server given by the Context.PROVIDER_URL value. This class also serves as the jnp url resolution context. jnp style urls passed to the
TimedSocketFactory: A concrete implementation of the SocketFactory that supports a configurable timeout for the initial socket connection as well as the SO_TIMEOUT used to determine how long a read will block waiting for data.
MarshalledValuePair: An encapsulation of a JNDI binding as both the raw object and its MarshalledObject form. When accessed in the same VM as the JNP server, the raw object reference is used to avoid deserialization.
Main: This is a test client of the NamingServer. It calls the server in various ways to test the functionality. The JNDI configuration is provided in the jndi.properties file.
javaURLContextFactory: Implementation of "java:" namespace factory. The context is associated with the thread, so the root context must be set before this is used in a thread
Main: A main() entry point for running the jnp naming service implementation as a standalone process.
NamingContextFactory: The jnp naming provider InitialContextFactory implementation.
TestJNPSockets: A test of RMI custom sockets with the jnp JNDI provider.
NamingParser: The NamingParser for the jnp naming implementation
MainMBean: The Mbean interface for the jnp provider server.
jnpURLContextFactory: The URL context factory for jnp: style URLs.
Naming
NamingEnumerationImpl
NamingServer

Home | Contact Us | Privacy Policy | Terms of Service