|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mq.server.JMSServerInterceptorSupport
A pass through JMSServerInvoker.
Field Summary | |
protected Logger (src) |
log
|
protected JMSServerInterceptor (src) |
nextInterceptor
Next invoker in chain. |
Constructor Summary | |
JMSServerInterceptorSupport()
|
Method Summary | |
void |
acknowledge(ConnectionToken (src) dc,
AcknowledgementRequest (src) item)
#Description of the Method |
void |
addMessage(ConnectionToken (src) dc,
SpyMessage (src) message)
Add the message to the destination. |
java.lang.String |
authenticate(java.lang.String userName,
java.lang.String password)
Check user for autentication. |
SpyMessage (src) [] |
browse(ConnectionToken (src) dc,
Destination (src) dest,
java.lang.String selector)
#Description of the Method |
void |
checkID(java.lang.String ID)
Check id, must not be taken. |
java.lang.String |
checkUser(java.lang.String userName,
java.lang.String password)
Check user for autentication. |
void |
connectionClosing(ConnectionToken (src) dc)
#Description of the Method |
Queue (src) |
createQueue(ConnectionToken (src) dc,
java.lang.String dest)
#Description of the Method |
Topic (src) |
createTopic(ConnectionToken (src) dc,
java.lang.String dest)
#Description of the Method |
void |
deleteTemporaryDestination(ConnectionToken (src) dc,
SpyDestination (src) dest)
#Description of the Method |
void |
destroySubscription(ConnectionToken (src) dc,
DurableSubscriptionID (src) id)
#Description of the Method |
SpyTopic (src) |
getDurableTopic(DurableSubscriptionID (src) sub)
Get the topic the durable subscription is on. |
java.lang.String |
getID()
Gets a clientID from server. |
JMSServerInterceptor (src) |
getNext()
Get next invoker in chain to be called. |
Subscription (src) |
getSubscription(ConnectionToken (src) dc,
int subscriberId)
Get the subscription that match the id. |
TemporaryQueue (src) |
getTemporaryQueue(ConnectionToken (src) dc)
Gets the TemporaryQueue attribute of the ServerIL object |
TemporaryTopic (src) |
getTemporaryTopic(ConnectionToken (src) dc)
Gets the TemporaryTopic attribute of the ServerIL object |
java.lang.ThreadGroup |
getThreadGroup()
Get the thread group of the server. |
void |
ping(ConnectionToken (src) dc,
long clientTime)
#Description of the Method |
SpyMessage (src) |
receive(ConnectionToken (src) dc,
int subscriberId,
long wait)
#Description of the Method |
void |
setEnabled(ConnectionToken (src) dc,
boolean enabled)
Sets the Enabled attribute of the ServerIL object |
void |
setNext(JMSServerInterceptor (src) server)
Set next invoker in chain to be called. |
void |
subscribe(ConnectionToken (src) dc,
Subscription (src) s)
|
void |
transact(ConnectionToken (src) dc,
TransactionRequest (src) t)
#Description of the Method |
void |
unsubscribe(ConnectionToken (src) dc,
int subscriptionId)
#Description of the Method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Logger (src) log
protected JMSServerInterceptor (src) nextInterceptor
Constructor Detail |
public JMSServerInterceptorSupport()
Method Detail |
public void setNext(JMSServerInterceptor (src) server)
setNext
in interface JMSServerInterceptor (src)
public JMSServerInterceptor (src) getNext()
JMSServerInterceptor (src)
getNext
in interface JMSServerInterceptor (src)
JMSServerInterceptor.getNext()
public java.lang.ThreadGroup getThreadGroup()
getThreadGroup
in interface JMSServerInterceptor (src)
public java.lang.String getID() throws JMSException (src)
getID
in interface JMSServerInterceptor (src)
JMSException (src)
- Description of Exceptionpublic TemporaryTopic (src) getTemporaryTopic(ConnectionToken (src) dc) throws JMSException (src)
getTemporaryTopic
in interface JMSServerInterceptor (src)
dc
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic TemporaryQueue (src) getTemporaryQueue(ConnectionToken (src) dc) throws JMSException (src)
getTemporaryQueue
in interface JMSServerInterceptor (src)
dc
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic void connectionClosing(ConnectionToken (src) dc) throws JMSException (src)
connectionClosing
in interface JMSServerInterceptor (src)
dc
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic void checkID(java.lang.String ID) throws JMSException (src)
checkID
in interface JMSServerInterceptor (src)
ID
- a clientID
JMSException (src)
- if ID is already takenpublic void addMessage(ConnectionToken (src) dc, SpyMessage (src) message) throws JMSException (src)
addMessage
in interface JMSServerInterceptor (src)
dc
- The feature to be added to the Message attributemessage
- The feature to be added to the Message attribute
JMSException (src)
- Description of Exceptionpublic Queue (src) createQueue(ConnectionToken (src) dc, java.lang.String dest) throws JMSException (src)
createQueue
in interface JMSServerInterceptor (src)
dc
- Description of Parameterdest
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic Topic (src) createTopic(ConnectionToken (src) dc, java.lang.String dest) throws JMSException (src)
createTopic
in interface JMSServerInterceptor (src)
dc
- Description of Parameterdest
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic void deleteTemporaryDestination(ConnectionToken (src) dc, SpyDestination (src) dest) throws JMSException (src)
deleteTemporaryDestination
in interface JMSServerInterceptor (src)
dc
- Description of Parameterdest
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic void transact(ConnectionToken (src) dc, TransactionRequest (src) t) throws JMSException (src)
transact
in interface JMSServerInterceptor (src)
dc
- Description of Parametert
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic void acknowledge(ConnectionToken (src) dc, AcknowledgementRequest (src) item) throws JMSException (src)
acknowledge
in interface JMSServerInterceptor (src)
dc
- Description of Parameteritem
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic SpyMessage (src) [] browse(ConnectionToken (src) dc, Destination (src) dest, java.lang.String selector) throws JMSException (src)
browse
in interface JMSServerInterceptor (src)
dc
- Description of Parameterdest
- Description of Parameterselector
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic SpyMessage (src) receive(ConnectionToken (src) dc, int subscriberId, long wait) throws JMSException (src)
receive
in interface JMSServerInterceptor (src)
dc
- Description of ParametersubscriberId
- Description of Parameterwait
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic void setEnabled(ConnectionToken (src) dc, boolean enabled) throws JMSException (src)
setEnabled
in interface JMSServerInterceptor (src)
dc
- The new Enabled valueenabled
- The new Enabled value
JMSException (src)
- Description of Exceptionpublic void unsubscribe(ConnectionToken (src) dc, int subscriptionId) throws JMSException (src)
unsubscribe
in interface JMSServerInterceptor (src)
dc
- Description of ParametersubscriptionId
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic void destroySubscription(ConnectionToken (src) dc, DurableSubscriptionID (src) id) throws JMSException (src)
destroySubscription
in interface JMSServerInterceptor (src)
id
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic java.lang.String checkUser(java.lang.String userName, java.lang.String password) throws JMSException (src)
checkUser
in interface JMSServerInterceptor (src)
userName
- Description of Parameterpassword
- Description of Parameter
JMSException (src)
- if user was not allowed to loginpublic java.lang.String authenticate(java.lang.String userName, java.lang.String password) throws JMSException (src)
authenticate
in interface JMSServerInterceptor (src)
userName
- Description of Parameterpassword
- Description of Parameter
JMSException (src)
- if user was not allowed to loginpublic void subscribe(ConnectionToken (src) dc, Subscription (src) s) throws JMSException (src)
subscribe
in interface JMSServerInterceptor (src)
dc
- org.jboss.mq.ConnectionTokens
- org.jboss.mq.Subscription
JMSException (src)
- The exception description.public void ping(ConnectionToken (src) dc, long clientTime) throws JMSException (src)
ping
in interface JMSServerInterceptor (src)
dc
- Description of ParameterclientTime
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic SpyTopic (src) getDurableTopic(DurableSubscriptionID (src) sub) throws JMSException (src)
JMSServerInterceptor (src)
getDurableTopic
in interface JMSServerInterceptor (src)
JMSException (src)
public Subscription (src) getSubscription(ConnectionToken (src) dc, int subscriberId) throws JMSException (src)
JMSServerInterceptor (src)
getSubscription
in interface JMSServerInterceptor (src)
JMSException (src)
- if it can not find the subscription.
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |