Class JNDISwiftlet

java.lang.Object
com.swiftmq.swiftlet.Swiftlet
com.swiftmq.swiftlet.jndi.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
  • Field Details

  • Constructor Details

    • JNDISwiftlet

      public JNDISwiftlet()
  • Method Details

    • registerJNDIObject

      public abstract void registerJNDIObject(String name, 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(String name)
      Removes a registered JNDI object.
      Parameters:
      name - lookup name.
    • deregisterJNDIObjects

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

      public abstract void deregisterJNDIQueueObject(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 Serializable getJNDIObject(String name)
      Returns the JNDI Object with that name.
      Parameters:
      name - Name
      Returns:
      Object