Package org.forgerock.audit.handlers.jms
Class JmsAuditEventHandlerConfiguration.JndiConfiguration
java.lang.Object
org.forgerock.audit.handlers.jms.JmsAuditEventHandlerConfiguration.JndiConfiguration
- Enclosing class:
- JmsAuditEventHandlerConfiguration
Stores the JNDI context properties and lookup names.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the jndi lookup name for the JMSConnectionFactory
to which messages will be published.Gets the JndiInitialContext
properties.Returns the jndi lookup name for the JMSTopic
to which messages will be published.void
setContextProperties
(Map<String, String> contextProperties) Sets the JndiInitialContext
properties.void
setJmsConnectionFactoryName
(String jmsConnectionFactoryName) Sets the jndi lookup name for the JMSConnectionFactory
for which the messages will be published on.void
setJmsTopicName
(String jmsTopicName) Sets the jndi lookup name for the JMSTopic
for which the messages will be published on.
-
Constructor Details
-
JndiConfiguration
public JndiConfiguration()
-
-
Method Details
-
getContextProperties
Gets the JndiInitialContext
properties.- Returns:
- The
InitialContext
properties.
-
setContextProperties
Sets the JndiInitialContext
properties.- Parameters:
contextProperties
- TheInitialContext
properties.
-
getTopicName
Returns the jndi lookup name for the JMSTopic
to which messages will be published. Do not confuse this with Audit Topics.- Returns:
- The jndi lookup name for the JMS
Topic
to which messages will be published. - See Also:
-
setJmsTopicName
Sets the jndi lookup name for the JMSTopic
for which the messages will be published on.- Parameters:
jmsTopicName
- The jndi lookup name for the JMSTopic
.- See Also:
-
getConnectionFactoryName
Returns the jndi lookup name for the JMSConnectionFactory
to which messages will be published. Do not confuse this with Audit Topics.- Returns:
- The jndi lookup name for the JMS
ConnectionFactory
to which messages will be published. - See Also:
-
setJmsConnectionFactoryName
Sets the jndi lookup name for the JMSConnectionFactory
for which the messages will be published on.- Parameters:
jmsConnectionFactoryName
- The jndi lookup name for the JMSConnectionFactory
.- See Also:
-