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 String
getConnectionFactoryName()
Returns the jndi lookup name for the JMSConnectionFactory
to which messages will be published.Map<String,String>
getContextProperties()
Gets the JndiInitialContext
properties.String
getTopicName()
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.
-
-
-
Method Detail
-
getContextProperties
public Map<String,String> getContextProperties()
Gets the JndiInitialContext
properties.- Returns:
- The
InitialContext
properties.
-
setContextProperties
public void setContextProperties(Map<String,String> contextProperties)
Sets the JndiInitialContext
properties.- Parameters:
contextProperties
- TheInitialContext
properties.
-
getTopicName
public String 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:
InitialContext.lookup(String)
-
setJmsTopicName
public void setJmsTopicName(String jmsTopicName)
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:
InitialContext.lookup(String)
-
getConnectionFactoryName
public String 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:
InitialContext.lookup(String)
-
setJmsConnectionFactoryName
public void setJmsConnectionFactoryName(String jmsConnectionFactoryName)
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:
InitialContext.lookup(String)
-
-