@Deprecated public class JNDIClient extends java.lang.Object implements JNDILookupClient
Constructor and Description |
---|
JNDIClient(com.softwareag.eda.webm.configuration.ConfigJMS configJMS)
Deprecated.
The entire class is deprecated. See deprecation notice for
JNDIClient . |
Modifier and Type | Method and Description |
---|---|
javax.naming.NamingEnumeration<javax.naming.Binding> |
getBindings(java.lang.String jndiContext)
Deprecated.
GetBindings
|
protected java.lang.ClassLoader |
getClassLoader()
Deprecated.
|
com.softwareag.eda.webm.configuration.ConfigJMS |
getConfigJMS()
Deprecated.
|
java.util.HashMap<java.lang.String,javax.jms.ConnectionFactory> |
getConnectionFactories()
Deprecated.
Get All Connection Factories
|
java.lang.String |
getDeployedDestinationListAsString(java.util.List<DeployedDestination> deployedDestinations)
Deprecated.
|
java.util.List<DeployedDestination> |
getDeployedDestinations()
Deprecated.
|
java.util.HashMap<java.lang.String,javax.jms.Destination> |
getDestinations()
Deprecated.
|
javax.naming.Context |
getInitialContext()
Deprecated.
The initial context is the starting point for any JNDI lookup - it's similar in concept to the root of a file
system.
|
java.lang.String |
getTopicName(javax.jms.Destination destination)
Deprecated.
|
java.lang.Object |
lookup(java.lang.String name)
Deprecated.
The entire class is deprecated. See deprecation notice for
JNDIClient . |
javax.jms.Destination |
lookupDestination(java.lang.String name)
Deprecated.
The entire class is deprecated. See deprecation notice for
JNDIClient . |
java.util.Map<java.lang.String,javax.jms.Destination> |
lookupDestinationsForCF(java.lang.String cfName)
Deprecated.
The entire class is deprecated. See deprecation notice for
JNDIClient . |
javax.jms.ConnectionFactory |
lookupFactory(java.lang.String name)
Deprecated.
The entire class is deprecated. See deprecation notice for
JNDIClient . |
protected void |
popContextClassLoader(java.lang.ClassLoader prevCL)
Deprecated.
Restore context classloader
|
protected java.lang.ClassLoader |
pushContextClassLoader()
Deprecated.
Set context classloader for JNDI call
|
@Deprecated public JNDIClient(com.softwareag.eda.webm.configuration.ConfigJMS configJMS)
JNDIClient
.public com.softwareag.eda.webm.configuration.ConfigJMS getConfigJMS()
getConfigJMS
in interface JNDILookupClient
public java.util.HashMap<java.lang.String,javax.jms.Destination> getDestinations() throws javax.naming.NamingException
javax.naming.NamingException
public java.util.HashMap<java.lang.String,javax.jms.ConnectionFactory> getConnectionFactories()
getConnectionFactories
in interface JNDILookupClient
public java.util.List<DeployedDestination> getDeployedDestinations() throws javax.naming.NamingException
javax.naming.NamingException
public java.lang.String getDeployedDestinationListAsString(java.util.List<DeployedDestination> deployedDestinations)
deployedDestinations
- list of deployed Destinations to convert to string@Deprecated public javax.jms.ConnectionFactory lookupFactory(java.lang.String name) throws javax.naming.NamingException
JNDIClient
.lookupFactory
in interface JNDILookupClient
name
- name of connection factory to lookupjavax.naming.NamingException
@Deprecated public javax.jms.Destination lookupDestination(java.lang.String name) throws javax.naming.NamingException
JNDIClient
.lookupDestination
in interface JNDILookupClient
name
- name of destination to lookupjavax.naming.NamingException
public java.lang.String getTopicName(javax.jms.Destination destination) throws javax.naming.NamingException
getTopicName
in interface JNDILookupClient
destination
- destination object to lookupjavax.naming.NamingException
public javax.naming.NamingEnumeration<javax.naming.Binding> getBindings(java.lang.String jndiContext) throws javax.naming.NamingException
getBindings
in interface JNDILookupClient
javax.naming.NamingException
@Deprecated public java.lang.Object lookup(java.lang.String name) throws javax.naming.NamingException
JNDIClient
.JNDILookupClient
lookup
in interface JNDILookupClient
name
- name of object to lookupjavax.naming.NamingException
public javax.naming.Context getInitialContext() throws javax.naming.NamingException
JNDILookupClient
JNDILookupClient
instance: see JNDILookupClientFactory.getInstance(ConfigJMS)
.getInitialContext
in interface JNDILookupClient
javax.naming.NamingException
protected java.lang.ClassLoader pushContextClassLoader()
protected void popContextClassLoader(java.lang.ClassLoader prevCL)
prevCL
- previous context classloaderprotected java.lang.ClassLoader getClassLoader()
@Deprecated public java.util.Map<java.lang.String,javax.jms.Destination> lookupDestinationsForCF(java.lang.String cfName) throws javax.naming.NamingException
JNDIClient
.JNDILookupClient
lookupDestinationsForCF
in interface JNDILookupClient
cfName
- the name of the connection factory to look upjavax.jms.JMSException
javax.naming.NamingException