Class JNDISwiftlet


  • public abstract class JNDISwiftlet
    extends Swiftlet
    The JNDI Swiftlet provides an interface to the JNDI subsystem of SwiftMQ. It is implementation depending whether this points to an internal or external JNDI.
    Author:
    IIT GmbH, Bremen/Germany, Copyright (c) 2000-2002, All Rights Reserved
    • Constructor Detail

      • JNDISwiftlet

        public JNDISwiftlet()
    • Method Detail

      • registerJNDIObject

        public abstract void registerJNDIObject​(java.lang.String name,
                                                java.io.Serializable object)
        Registers a JNDI object. After registration, clients are able to lookup this object unter that name.
        Parameters:
        name - lookup name.
        object - the object.
      • deregisterJNDIObject

        public abstract void deregisterJNDIObject​(java.lang.String name)
        Removes a registered JNDI object.
        Parameters:
        name - lookup name.
      • deregisterJNDIObjects

        public abstract void deregisterJNDIObjects​(java.lang.Comparable comparable)
        Removes all registered JNDI objects that matches the comparable.
        Parameters:
        comparable - comparable.
      • deregisterJNDIQueueObject

        public abstract void deregisterJNDIQueueObject​(java.lang.String queueName)
        Removes all JNDI entries for a registered JMS Queue. Say, there are 3 registrations in JNDI which are all pointing to the same queue name 'testqueue@router1', all registrations are deleted after calling this method with 'testqueue@router1'.
        Parameters:
        queueName - queue name.
      • getJNDIObject

        public abstract java.io.Serializable getJNDIObject​(java.lang.String name)
        Returns the JNDI Object with that name.
        Parameters:
        name - Name
        Returns:
        Object