Package org.forgerock.audit.handlers.jms
Class JmsAuditEventHandlerConfiguration.JndiConfiguration
- java.lang.Object
-
- org.forgerock.audit.handlers.jms.JmsAuditEventHandlerConfiguration.JndiConfiguration
-
- Enclosing class:
- JmsAuditEventHandlerConfiguration
public static class JmsAuditEventHandlerConfiguration.JndiConfiguration extends Object
Stores the JNDI context properties and lookup names.
-
-
Constructor Summary
Constructors Constructor Description JndiConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConnectionFactoryName()Returns the jndi lookup name for the JMSConnectionFactoryto which messages will be published.Map<String,String>getContextProperties()Gets the JndiInitialContextproperties.StringgetTopicName()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.
-
-
-
Method Detail
-
getContextProperties
public Map<String,String> getContextProperties()
Gets the JndiInitialContextproperties.- Returns:
- The
InitialContextproperties.
-
setContextProperties
public void setContextProperties(Map<String,String> contextProperties)
Sets the JndiInitialContextproperties.- Parameters:
contextProperties- TheInitialContextproperties.
-
getTopicName
public String 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:
InitialContext.lookup(String)
-
setJmsTopicName
public void setJmsTopicName(String jmsTopicName)
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:
InitialContext.lookup(String)
-
getConnectionFactoryName
public String 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:
InitialContext.lookup(String)
-
setJmsConnectionFactoryName
public void setJmsConnectionFactoryName(String jmsConnectionFactoryName)
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:
InitialContext.lookup(String)
-
-