|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.adfnmc.javax.naming.Reference
oracle.adf.share.jndi.ConnectionReference
oracle.adf.share.jndi.MergedConnectionReference
public class MergedConnectionReference
| Field Summary | |
|---|---|
static java.lang.Class |
CLASS_INSTANCE
|
protected Hashtable |
m_overrideRefs
|
protected Hashtable |
m_refs
|
| Fields inherited from class oracle.adf.share.jndi.ConnectionReference |
|---|
adfCredentialStoreKey, adfCredentialStoreMapName, isPartial |
| Fields inherited from class oracle.adfnmc.javax.naming.Reference |
|---|
addrs, classFactory, classFactoryLocation, className |
| Constructor Summary | |
|---|---|
MergedConnectionReference(java.lang.String className,
ConnectionReference resourceRef,
ConnectionReference fileRef)
Constructs a ConnectionReference instance with an empty list of
addresses using the supplied class name. |
|
| Method Summary | |
|---|---|
void |
add(int index,
oracle.adfnmc.javax.naming.RefAddr addr)
Inserts an address within the list at the specified index. |
void |
add(oracle.adfnmc.javax.naming.RefAddr addr)
Appends an address to the list. |
void |
clear()
Deletes all the addresses from the address list. |
boolean |
equals(java.lang.Object o)
Returns true if this Reference instance is equal to the
supplied object o. |
oracle.adfnmc.javax.naming.RefAddr |
get(int index)
Gets the address held at the specified index in the address list. |
oracle.adfnmc.javax.naming.RefAddr |
get(java.lang.String type)
Gets an address where the address type matches the specified string. |
java.lang.String |
getAdfCredentialStoreKey()
|
java.lang.String |
getAdfCredentialStoreMapName()
|
java.util.Enumeration |
getAll()
Gets all the addresses. |
int |
hashCode()
Returns the hashcode for this Reference instance. |
boolean |
isPartial()
|
java.lang.Object |
remove(int index)
Removes an address from the address list. |
void |
setPartial(boolean partialValue)
|
int |
size()
Gets the number of addresses in the address list. |
java.lang.String |
toString()
Returns the string representation of the class name together with the list of addresses. |
| Methods inherited from class oracle.adf.share.jndi.ConnectionReference |
|---|
isDeployable, isManageInOracleEnterpriseManager, setAdfCredentialStoreKey, setAdfCredentialStoreMapName, setDeployable, setManageInOracleEnterpriseManager |
| Methods inherited from class oracle.adfnmc.javax.naming.Reference |
|---|
getClassName, getFactoryClassLocation, getFactoryClassName |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.Class CLASS_INSTANCE
protected Hashtable m_refs
protected Hashtable m_overrideRefs
| Constructor Detail |
|---|
public MergedConnectionReference(java.lang.String className,
ConnectionReference resourceRef,
ConnectionReference fileRef)
ConnectionReference instance with an empty list of
addresses using the supplied class name.
className - the class of the object which is referenced. It cannot be
null.propertyBag - the property bag of the object which is referenced. It cannot be
null.| Method Detail |
|---|
public boolean isPartial()
isPartial in class ConnectionReferencepublic void setPartial(boolean partialValue)
setPartial in class ConnectionReferencepublic java.lang.String getAdfCredentialStoreMapName()
getAdfCredentialStoreMapName in class ConnectionReferencepublic java.lang.String getAdfCredentialStoreKey()
getAdfCredentialStoreKey in class ConnectionReferencepublic java.util.Enumeration getAll()
getAll in class oracle.adfnmc.javax.naming.Referencepublic oracle.adfnmc.javax.naming.RefAddr get(java.lang.String type)
get in class oracle.adfnmc.javax.naming.Referencetype - the address type to look for
public oracle.adfnmc.javax.naming.RefAddr get(int index)
get in class oracle.adfnmc.javax.naming.Referenceindex - the index of the required address. It must be greater than or
equal to 0 and less than the number of entries in the list.
java.lang.ArrayIndexOutOfBoundsException - If the index is invalid.public void add(oracle.adfnmc.javax.naming.RefAddr addr)
add in class oracle.adfnmc.javax.naming.Referenceaddr - the address to append. It cannot be null.
public void add(int index,
oracle.adfnmc.javax.naming.RefAddr addr)
add in class oracle.adfnmc.javax.naming.Referenceaddr - the address to insert into the list. It cannot be null.index - the index where to insert the address. It must be greater than
or equal to 0 and less than or equal to the number of entries
in the list(size()).
java.lang.ArrayIndexOutOfBoundsException - If the index is invalid.public java.lang.Object remove(int index)
remove in class oracle.adfnmc.javax.naming.Referenceindex - the index of the address to remove. It must be greater than or
equal to 0 and less than size().
java.lang.ArrayIndexOutOfBoundsException - If the index is invalid.public int size()
size in class oracle.adfnmc.javax.naming.Referencepublic void clear()
clear in class oracle.adfnmc.javax.naming.Referencepublic boolean equals(java.lang.Object o)
Reference instance is equal to the
supplied object o. They are considered equal if their
class name and list of addresses are equivalent (including the order of
the addresses in the list). The factory class and location are ignored
for the purposes of this comparison.
equals in class oracle.adfnmc.javax.naming.Referenceo - the object to compare with
o, otherwise
falsepublic int hashCode()
Reference instance. The
result is calculated by summing the hashcode of the class name and the
hash codes of each of the addresses in the address list.
hashCode in class oracle.adfnmc.javax.naming.ReferenceReference instancepublic java.lang.String toString()
toString in class oracle.adfnmc.javax.naming.Reference
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||