com.prolifics.tconn
Class TConnTool

java.lang.Object
  extended by com.prolifics.tconn.TConnTool
All Implemented Interfaces:
javax.naming.spi.ObjectFactory

public class TConnTool
extends java.lang.Object
implements javax.naming.spi.ObjectFactory


Field Summary
static java.lang.String DEFAULT_INITIAL_CONTEXT_FACTORY
           
static java.lang.String DEFAULT_PROVIDER_URL
           
 
Constructor Summary
TConnTool()
           
 
Method Summary
 void deploy(javax.naming.Context ctx, java.util.HashMap p, java.lang.String name)
           
 void deploy(javax.naming.Context ctx, java.lang.String fullname)
           
 java.lang.Object getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context ctx, java.util.Hashtable hashtable)
           
 java.util.HashMap info(javax.naming.Context ctx, java.lang.String name)
           
 java.lang.String[] list(javax.naming.Context ctx, java.lang.String ctxname)
           
static void main(java.lang.String[] arg)
           
 void println(java.lang.String s)
           
 void remove(javax.naming.Context ctx, java.lang.String name)
           
 void setLogWriter(java.io.PrintWriter pw)
           
 void showinfo(javax.naming.Context ctx, java.lang.String name)
           
 void showlist(javax.naming.Context ctx, java.lang.String ctxname)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PROVIDER_URL

public static final java.lang.String DEFAULT_PROVIDER_URL
See Also:
Constant Field Values

DEFAULT_INITIAL_CONTEXT_FACTORY

public static final java.lang.String DEFAULT_INITIAL_CONTEXT_FACTORY
See Also:
Constant Field Values
Constructor Detail

TConnTool

public TConnTool()
Method Detail

main

public static void main(java.lang.String[] arg)

showlist

public void showlist(javax.naming.Context ctx,
                     java.lang.String ctxname)

list

public java.lang.String[] list(javax.naming.Context ctx,
                               java.lang.String ctxname)

deploy

public void deploy(javax.naming.Context ctx,
                   java.lang.String fullname)

deploy

public void deploy(javax.naming.Context ctx,
                   java.util.HashMap p,
                   java.lang.String name)
            throws java.lang.Exception
Throws:
java.lang.Exception

remove

public void remove(javax.naming.Context ctx,
                   java.lang.String name)
            throws javax.naming.NamingException
Throws:
javax.naming.NamingException

showinfo

public void showinfo(javax.naming.Context ctx,
                     java.lang.String name)

info

public java.util.HashMap info(javax.naming.Context ctx,
                              java.lang.String name)
                       throws javax.naming.NamingException,
                              java.lang.Exception
Throws:
javax.naming.NamingException
java.lang.Exception

getObjectInstance

public java.lang.Object getObjectInstance(java.lang.Object obj,
                                          javax.naming.Name name,
                                          javax.naming.Context ctx,
                                          java.util.Hashtable hashtable)
                                   throws java.lang.Exception
Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory
Throws:
java.lang.Exception

println

public void println(java.lang.String s)

setLogWriter

public void setLogWriter(java.io.PrintWriter pw)