Search in sources :

Example 31 with AdministeredObject

use of com.sun.messaging.AdministeredObject in project openmq by eclipse-ee4j.

the class JMSObjFactory method createConnectionFactory.

/**
 * Create a JMS Connection Factory.
 *
 * <P>
 * No verification of valid param values are needed at this point because the assumption is that valid values were
 * checked before this was called.
 *
 * @param objProps the set of Properties to be set when the JMS Topic Connection Factory is created.
 * @return the com.sun.messaging.ConnectionFactory
 */
public static Object createConnectionFactory(Properties objProps) throws JMSException {
    AdministeredObject obj = null;
    obj = new com.sun.messaging.ConnectionFactory();
    setProperties(obj, objProps);
    return (obj);
}
Also used : AdministeredObject(com.sun.messaging.AdministeredObject)

Example 32 with AdministeredObject

use of com.sun.messaging.AdministeredObject in project openmq by eclipse-ee4j.

the class JMSObjFactory method createXAConnectionFactory.

/**
 * Create a JMS XA Connection Factory.
 *
 * <P>
 * No verification of valid param values are needed at this point because the assumption is that valid values were
 * checked before this was called.
 *
 * @param objProps the set of Properties to be set when the JMS XA Queue Connection Factory is created.
 * @return the com.sun.messaging.XAConnectionFactory
 */
public static Object createXAConnectionFactory(Properties objProps) throws JMSException {
    AdministeredObject obj = null;
    obj = new com.sun.messaging.XAConnectionFactory();
    setProperties(obj, objProps);
    return (obj);
}
Also used : AdministeredObject(com.sun.messaging.AdministeredObject)

Aggregations

AdministeredObject (com.sun.messaging.AdministeredObject)32 Properties (java.util.Properties)9 ObjStore (com.sun.messaging.jmq.admin.objstore.ObjStore)6 Enumeration (java.util.Enumeration)6 LabelledComponent (com.sun.messaging.jmq.admin.apps.console.util.LabelledComponent)5 ObjAdminEvent (com.sun.messaging.jmq.admin.apps.console.event.ObjAdminEvent)4 InvalidPropertyException (com.sun.messaging.InvalidPropertyException)3 InvalidPropertyValueException (com.sun.messaging.InvalidPropertyValueException)3 ReadOnlyPropertyException (com.sun.messaging.ReadOnlyPropertyException)3 ObjStoreAttrs (com.sun.messaging.jmq.admin.objstore.ObjStoreAttrs)3 JComponent (javax.swing.JComponent)3 AuthenticationException (com.sun.messaging.jmq.admin.objstore.AuthenticationException)2 AuthenticationNotSupportedException (com.sun.messaging.jmq.admin.objstore.AuthenticationNotSupportedException)2 CommunicationException (com.sun.messaging.jmq.admin.objstore.CommunicationException)2 GeneralNamingException (com.sun.messaging.jmq.admin.objstore.GeneralNamingException)2 InitializationException (com.sun.messaging.jmq.admin.objstore.InitializationException)2 NameAlreadyExistsException (com.sun.messaging.jmq.admin.objstore.NameAlreadyExistsException)2 NameNotFoundException (com.sun.messaging.jmq.admin.objstore.NameNotFoundException)2 NoPermissionException (com.sun.messaging.jmq.admin.objstore.NoPermissionException)2 ObjStoreException (com.sun.messaging.jmq.admin.objstore.ObjStoreException)2