org.apache.openejb.client
Class ServiceLocator

java.lang.Object
  extended by org.apache.openejb.client.ServiceLocator
Direct Known Subclasses:
GenericServiceLocator

public class ServiceLocator
extends java.lang.Object

Version:
$Rev: 607077 $ $Date: 2007-12-27 15:55:23 +0100 (Do, 27. Dez 2007) $

Constructor Summary
ServiceLocator(javax.naming.Context context)
           
ServiceLocator(java.net.URI serverUri)
           
ServiceLocator(java.net.URI serverUri, java.lang.String username, java.lang.String password)
           
ServiceLocator(java.net.URI serverUri, java.lang.String username, java.lang.String password, java.lang.String realm)
           
 
Method Summary
 java.lang.Object lookup(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceLocator

public ServiceLocator(java.net.URI serverUri)
               throws javax.naming.NamingException
Throws:
javax.naming.NamingException

ServiceLocator

public ServiceLocator(java.net.URI serverUri,
                      java.lang.String username,
                      java.lang.String password)
               throws javax.naming.NamingException
Throws:
javax.naming.NamingException

ServiceLocator

public ServiceLocator(java.net.URI serverUri,
                      java.lang.String username,
                      java.lang.String password,
                      java.lang.String realm)
               throws javax.naming.NamingException
Throws:
javax.naming.NamingException

ServiceLocator

public ServiceLocator(javax.naming.Context context)
Method Detail

lookup

public java.lang.Object lookup(java.lang.String name)


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.