stomp.util
Class JNDIProperties

java.lang.Object
  |
  +--stomp.util.AbstractFactory
        |
        +--stomp.util.JNDIProperties

public class JNDIProperties
extends AbstractFactory

utility class for setting up JNDI properties in a more dynamic way then through a jndi.properties file.

Author:
elindauer

Constructor Summary
JNDIProperties()
           
 
Method Summary
 void setupJNDI()
          sets up system properties that would have been specefied in a jndi.properties file.
static JNDIProperties singleton()
           
static void start()
           
 
Methods inherited from class stomp.util.AbstractFactory
singletonFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JNDIProperties

public JNDIProperties()
Method Detail

start

public static void start()

singleton

public static JNDIProperties singleton()

setupJNDI

public void setupJNDI()
sets up system properties that would have been specefied in a jndi.properties file. Bases the contents on on the current system state, and the contents of runtime.prefs.