|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mq.server.JMSServerInterceptorSupport (src)
org.jboss.mq.server.TracingInterceptor
A pass through Interceptor, wich will trace all calls.
Field Summary | |
protected static Logger (src) |
log
|
Fields inherited from class org.jboss.mq.server.JMSServerInterceptorSupport (src) |
nextInterceptor |
Constructor Summary | |
TracingInterceptor()
|
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. |
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 |
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 org.jboss.mq.server.JMSServerInterceptorSupport (src) |
getNext, setNext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static Logger (src) log
Constructor Detail |
public TracingInterceptor()
Method Detail |
public java.lang.ThreadGroup getThreadGroup()
getThreadGroup
in interface JMSServerInterceptor (src)
getThreadGroup
in class JMSServerInterceptorSupport (src)
public java.lang.String getID() throws JMSException (src)
getID
in interface JMSServerInterceptor (src)
getID
in class JMSServerInterceptorSupport (src)
JMSException (src)
- Description of Exceptionpublic TemporaryTopic (src) getTemporaryTopic(ConnectionToken (src) dc) throws JMSException (src)
getTemporaryTopic
in interface JMSServerInterceptor (src)
getTemporaryTopic
in class JMSServerInterceptorSupport (src)
dc
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic TemporaryQueue (src) getTemporaryQueue(ConnectionToken (src) dc) throws JMSException (src)
getTemporaryQueue
in interface JMSServerInterceptor (src)
getTemporaryQueue
in class JMSServerInterceptorSupport (src)
dc
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic void connectionClosing(ConnectionToken (src) dc) throws JMSException (src)
connectionClosing
in interface JMSServerInterceptor (src)
connectionClosing
in class JMSServerInterceptorSupport (src)
dc
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic void checkID(java.lang.String ID) throws JMSException (src)
checkID
in interface JMSServerInterceptor (src)
checkID
in class JMSServerInterceptorSupport (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)
addMessage
in class JMSServerInterceptorSupport (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)
createQueue
in class JMSServerInterceptorSupport (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)
createTopic
in class JMSServerInterceptorSupport (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)
deleteTemporaryDestination
in class JMSServerInterceptorSupport (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)
transact
in class JMSServerInterceptorSupport (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)
acknowledge
in class JMSServerInterceptorSupport (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)
browse
in class JMSServerInterceptorSupport (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)
receive
in class JMSServerInterceptorSupport (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)
setEnabled
in class JMSServerInterceptorSupport (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)
unsubscribe
in class JMSServerInterceptorSupport (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)
destroySubscription
in class JMSServerInterceptorSupport (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)
checkUser
in class JMSServerInterceptorSupport (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)
authenticate
in class JMSServerInterceptorSupport (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)
subscribe
in class JMSServerInterceptorSupport (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)
ping
in class JMSServerInterceptorSupport (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)
getDurableTopic
in class JMSServerInterceptorSupport (src)
JMSException (src)
public Subscription (src) getSubscription(ConnectionToken (src) dc, int subscriberId) throws JMSException (src)
JMSServerInterceptor (src)
getSubscription
in interface JMSServerInterceptor (src)
getSubscription
in class JMSServerInterceptorSupport (src)
JMSException (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |