|
Oracle Application Server TopLink API Reference 10g (9.0.4.3) B10491-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.toplink.remote.AbstractClusteringService
oracle.toplink.remote.AbstractJNDIClusteringService
Purpose:To Provide a framework for offering customers the ability to automatically connect multiple sessions for synchrnization.
Descripton:This thread object will place a remote dispatcher in the specified JNDI space. it will also monitor the specified multicast socket to allow other sessions to connect.
CacheSynchronizationManager, AbstractClusteringService| Constructor Summary | |
AbstractJNDIClusteringService(Session session)PUBLIC: Creates an AbstractJNDIClusteringService | |
AbstractJNDIClusteringService(java.lang.String multicastAddress, int multicastPort, Session session)ADVANCED: Creates an AbstractJNDIClusteringService | |
| Method Summary | |
javax.naming.Context |
getContext(java.util.Hashtable properties)INTERNAL: Returns the active JNDI Context to store the remote service in |
javax.naming.Context |
getContext(java.lang.String jndiHostURL)Deprecated. Since 4.5 |
java.util.Hashtable |
getInitialContextProperties()ADVANCED: This method allows the user to get the Context properties that will be used to create the initial context. |
javax.naming.Context |
getLocalContext()INTERNAL: Returns the active JNDI Context to store the remote service in |
java.lang.String |
getPassword()Deprecated. since 4.5 |
java.lang.String |
getUserName()Deprecated. since 4.5 |
void |
setContext(javax.naming.Context context)Sets the active JNDI Context to store the remote service in |
void |
setInitialContextFactoryName(java.lang.String initialContextFactory)ADVANCED: Use this method to set the Initial Conext Factory for accessing JNDI. |
void |
setInitialContextProperties(java.util.Hashtable properties)ADVANCED: This method allows the user to set the Context properties for creating the initial context for a JNDI connection if the properties have not allready been set globally. |
void |
setLocalHostURL(java.lang.String url)INTERNAL: |
void |
setPassword(java.lang.String password)Sets the Password if one is required to access the JNDI service |
void |
setUserName(java.lang.String userName)Sets the Username if one is required to access the JNDI service |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractJNDIClusteringService(Session session)
public AbstractJNDIClusteringService(java.lang.String multicastAddress,
int multicastPort,
Session session)
multicastAddress - The address of the multicast groupmulticastPort - The port the multicast group is listening on| Method Detail |
public javax.naming.Context getLocalContext()
public javax.naming.Context getContext(java.lang.String jndiHostURL)
public javax.naming.Context getContext(java.util.Hashtable properties)
public void setContext(javax.naming.Context context)
public void setLocalHostURL(java.lang.String url)
setLocalHostURL in class AbstractClusteringServiceurl - jndiHostURLpublic java.util.Hashtable getInitialContextProperties()
public void setInitialContextProperties(java.util.Hashtable properties)
public java.lang.String getUserName()
public void setUserName(java.lang.String userName)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public void setInitialContextFactoryName(java.lang.String initialContextFactory)
|
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||