soaprmi.jndi
Class Util

java.lang.Object
  extended bysoaprmi.jndi.Util

public class Util
extends java.lang.Object

The bag for useful staff.

Version:
$Revision: 1.6 $
Author:
Aleksander Slominski

Constructor Summary
Util()
           
 
Method Summary
static java.lang.String expandLocation(java.lang.String loc, int defaultHttpPort)
           
static javax.naming.directory.DirContext getInitialDirContext(java.lang.String ldapUrl)
           
static Remote lookupRemote(java.lang.String loc, Remote ref, java.lang.String ctx, java.lang.Class iface)
           
static java.lang.String makeRMIRef(java.lang.String loc, java.lang.String ctx)
           
static void rebindRemote(java.lang.String loc, Remote ref, java.lang.String ctx)
           
static void rebindRemote(java.lang.String loc, Remote ref, java.lang.String ctx, javax.naming.directory.Attributes attrs)
           
static void unbindRemote(java.lang.String loc, java.lang.String ctx)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

getInitialDirContext

public static javax.naming.directory.DirContext getInitialDirContext(java.lang.String ldapUrl)
                                                              throws javax.naming.NamingException
Throws:
javax.naming.NamingException

expandLocation

public static java.lang.String expandLocation(java.lang.String loc,
                                              int defaultHttpPort)

makeRMIRef

public static java.lang.String makeRMIRef(java.lang.String loc,
                                          java.lang.String ctx)

lookupRemote

public static Remote lookupRemote(java.lang.String loc,
                                  Remote ref,
                                  java.lang.String ctx,
                                  java.lang.Class iface)
                           throws RemoteException
Throws:
RemoteException

rebindRemote

public static void rebindRemote(java.lang.String loc,
                                Remote ref,
                                java.lang.String ctx)
                         throws RemoteException
Throws:
RemoteException

rebindRemote

public static void rebindRemote(java.lang.String loc,
                                Remote ref,
                                java.lang.String ctx,
                                javax.naming.directory.Attributes attrs)
                         throws RemoteException
Throws:
RemoteException

unbindRemote

public static void unbindRemote(java.lang.String loc,
                                java.lang.String ctx)
                         throws RemoteException
Throws:
RemoteException


Copyright (c) 2004 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.