| Package | Description | 
|---|---|
| javax.naming | 
 Provides the classes and interfaces for accessing naming services. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
BinaryRefAddr
This class represents the binary form of the address of
 a communications end-point. 
 | 
class  | 
StringRefAddr
This class represents the string form of the address of
 a communications end-point. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected Vector<RefAddr> | 
Reference.addrs
Contains the addresses contained in this Reference. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
RefAddr | 
Reference.get(int posn)
Retrieves the address at index posn. 
 | 
RefAddr | 
Reference.get(String addrType)
Retrieves the first address that has the address type 'addrType'. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Enumeration<RefAddr> | 
Reference.getAll()
Retrieves an enumeration of the addresses in this reference. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Reference.add(int posn,
   RefAddr addr)
Adds an address to the list of addresses at index posn. 
 | 
void | 
Reference.add(RefAddr addr)
Adds an address to the end of the list of addresses. 
 | 
| Constructor and Description | 
|---|
Reference(String className,
         RefAddr addr)
Constructs a new reference for an object with class name 'className' and
 an address. 
 | 
Reference(String className,
         RefAddr addr,
         String factory,
         String factoryLocation)
Constructs a new reference for an object with class name 'className',
 the class name and location of the object's factory, and the address for
 the object. 
 | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2019, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.