Package com.swiftmq.swiftlet.jndi
Class JNDISwiftlet
java.lang.Object
com.swiftmq.swiftlet.Swiftlet
com.swiftmq.swiftlet.jndi.JNDISwiftlet
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 Summary
FieldsFields inherited from class com.swiftmq.swiftlet.Swiftlet
STATE_ACTIVE, STATE_INACTIVE, STATE_STANDBY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
deregisterJNDIObject
(String name) Removes a registered JNDI object.abstract void
deregisterJNDIObjects
(Comparable comparable) Removes all registered JNDI objects that matches the comparable.abstract void
deregisterJNDIQueueObject
(String queueName) Removes all JNDI entries for a registered JMS Queue.abstract Serializable
getJNDIObject
(String name) Returns the JNDI Object with that name.abstract void
registerJNDIObject
(String name, Serializable object) Registers a JNDI object.Methods inherited from class com.swiftmq.swiftlet.Swiftlet
getName, getStartupTime, getState, isSnapshotAvailable, resume, setStartupTime, shutdown, standby, startup
-
Field Details
-
JNDI_TOPIC
- See Also:
-
JNDI_QUEUE
- See Also:
-
-
Constructor Details
-
JNDISwiftlet
public JNDISwiftlet()
-
-
Method Details
-
registerJNDIObject
Registers a JNDI object. After registration, clients are able to lookup this object unter that name.- Parameters:
name
- lookup name.object
- the object.
-
deregisterJNDIObject
Removes a registered JNDI object.- Parameters:
name
- lookup name.
-
deregisterJNDIObjects
Removes all registered JNDI objects that matches the comparable.- Parameters:
comparable
- comparable.
-
deregisterJNDIQueueObject
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
Returns the JNDI Object with that name.- Parameters:
name
- Name- Returns:
- Object
-