diff --git a/activemq-client/src/main/java/org/apache/activemq/jndi/ActiveMQWASInitialContextFactory.java b/activemq-client/src/main/java/org/apache/activemq/jndi/ActiveMQWASInitialContextFactory.java index 5340ae2862..20c224cb08 100644 --- a/activemq-client/src/main/java/org/apache/activemq/jndi/ActiveMQWASInitialContextFactory.java +++ b/activemq-client/src/main/java/org/apache/activemq/jndi/ActiveMQWASInitialContextFactory.java @@ -24,14 +24,15 @@ import javax.naming.Context; import javax.naming.NamingException; /** - * This implementation of InitialContextFactory should be used - * when ActiveMQ is used as WebSphere Generic JMS Provider. It is proved that it - * works on WebSphere 5.1. The reason for using this class is that custom - * property defined for Generic JMS Provider are passed to InitialContextFactory - * only if it begins with java.naming or javax.naming prefix. Additionally - * provider url for the JMS provider can not contain ',' character that is - * necessary when the list of nodes is provided. So the role of this class is to - * transform properties before passing it to ActiveMQInitialContextFactory. + * A InitialContextFactory for WebSphere Generic JMS Provider. + *

+ * Works on WebSphere 5.1. The reason for using this class is that custom + * property defined for Generic JMS Provider are passed to {@link InitialContextFactory} + * only if it begins with {@code java.naming} or {@code javax.naming} prefix. + * Additionally provider url for the JMS provider can not contain {@code ','} + * character that is necessary when the list of nodes is provided. So the role + * of this class is to transform properties before passing it to + * {@link ActiveMQInitialContextFactory}. */ public class ActiveMQWASInitialContextFactory extends ActiveMQInitialContextFactory { @@ -45,10 +46,10 @@ public class ActiveMQWASInitialContextFactory extends ActiveMQInitialContextFact /** * Performs following transformation of properties: *