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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the jndi lookup name for the JMSConnectionFactoryto which messages will be published.Gets the JndiInitialContextproperties.Returns the jndi lookup name for the JMSTopicto which messages will be published.voidsetContextProperties(Map<String, String> contextProperties) Sets the JndiInitialContextproperties.voidsetJmsConnectionFactoryName(String jmsConnectionFactoryName) Sets the jndi lookup name for the JMSConnectionFactoryfor which the messages will be published on.voidsetJmsTopicName(String jmsTopicName) Sets the jndi lookup name for the JMSTopicfor which the messages will be published on.
-
Constructor Details
-
JndiConfiguration
public JndiConfiguration()
-
-
Method Details
-
getContextProperties
Gets the JndiInitialContextproperties.- Returns:
- The
InitialContextproperties.
-
setContextProperties
Sets the JndiInitialContextproperties.- Parameters:
contextProperties- TheInitialContextproperties.
-
getTopicName
Returns the jndi lookup name for the JMSTopicto which messages will be published. Do not confuse this with Audit Topics.- Returns:
- The jndi lookup name for the JMS
Topicto which messages will be published. - See Also:
-
setJmsTopicName
Sets the jndi lookup name for the JMSTopicfor 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 JMSConnectionFactoryto which messages will be published. Do not confuse this with Audit Topics.- Returns:
- The jndi lookup name for the JMS
ConnectionFactoryto which messages will be published. - See Also:
-
setJmsConnectionFactoryName
Sets the jndi lookup name for the JMSConnectionFactoryfor which the messages will be published on.- Parameters:
jmsConnectionFactoryName- The jndi lookup name for the JMSConnectionFactory.- See Also:
-