|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mq.server.JMSServerInterceptorSupport
org.jboss.mq.server.TracingInterceptor
public class TracingInterceptor
A pass through Interceptor, wich will trace all calls.
| Field Summary |
|---|
| Fields inherited from class org.jboss.mq.server.JMSServerInterceptorSupport |
|---|
log, nextInterceptor |
| Constructor Summary | |
|---|---|
TracingInterceptor()
|
|
| Method Summary | |
|---|---|
void |
acknowledge(ConnectionToken dc,
AcknowledgementRequest item)
#Description of the Method |
void |
addMessage(ConnectionToken dc,
SpyMessage message)
Add the message to the destination. |
String |
authenticate(String userName,
String password)
Check user for autentication. |
SpyMessage[] |
browse(ConnectionToken dc,
javax.jms.Destination dest,
String selector)
#Description of the Method |
void |
checkID(String ID)
Check id, must not be taken. |
String |
checkUser(String userName,
String password)
Check user for autentication. |
void |
connectionClosing(ConnectionToken dc)
Close connection. |
javax.jms.Queue |
createQueue(ConnectionToken dc,
String dest)
Create a queue. |
javax.jms.Topic |
createTopic(ConnectionToken dc,
String dest)
Create a topic. |
void |
deleteTemporaryDestination(ConnectionToken dc,
SpyDestination dest)
#Description of the Method |
void |
destroySubscription(ConnectionToken dc,
DurableSubscriptionID id)
Unsubscribe from the durable subscription. |
SpyTopic |
getDurableTopic(DurableSubscriptionID sub)
Get the topic the durable subscription is on. |
String |
getID()
Gets a clientID from server. |
Subscription |
getSubscription(ConnectionToken dc,
int subscriberId)
Get the subscription that match the id. |
javax.jms.TemporaryQueue |
getTemporaryQueue(ConnectionToken dc)
Get a temporary queue |
javax.jms.TemporaryTopic |
getTemporaryTopic(ConnectionToken dc)
Get a temporary topic. |
ThreadGroup |
getThreadGroup()
Get the thread group of the server. |
void |
ping(ConnectionToken dc,
long clientTime)
Ping the server. |
SpyMessage |
receive(ConnectionToken dc,
int subscriberId,
long wait)
#Description of the Method |
Xid[] |
recover(ConnectionToken dc,
int flags)
Recover |
void |
setEnabled(ConnectionToken dc,
boolean enabled)
Sets the Enabled attribute of the ServerIL object |
void |
subscribe(ConnectionToken dc,
Subscription s)
|
void |
transact(ConnectionToken dc,
TransactionRequest t)
#Description of the Method |
void |
unsubscribe(ConnectionToken dc,
int subscriptionId)
Close the server side message consumer. |
| Methods inherited from class org.jboss.mq.server.JMSServerInterceptorSupport |
|---|
getNext, setNext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TracingInterceptor()
| Method Detail |
|---|
public ThreadGroup getThreadGroup()
JMSServerInterceptor
getThreadGroup in interface JMSServerInterceptorgetThreadGroup in class JMSServerInterceptorSupport
public String getID()
throws javax.jms.JMSException
JMSServerInterceptor
getID in interface JMSServerInterceptorgetID in class JMSServerInterceptorSupportjavax.jms.JMSException - Description of Exception
public javax.jms.TemporaryTopic getTemporaryTopic(ConnectionToken dc)
throws javax.jms.JMSException
JMSServerInterceptor
getTemporaryTopic in interface JMSServerInterceptorgetTemporaryTopic in class JMSServerInterceptorSupportdc - Description of Parameter
javax.jms.JMSException - Description of Exception
public javax.jms.TemporaryQueue getTemporaryQueue(ConnectionToken dc)
throws javax.jms.JMSException
JMSServerInterceptor
getTemporaryQueue in interface JMSServerInterceptorgetTemporaryQueue in class JMSServerInterceptorSupportdc - Description of Parameter
javax.jms.JMSException - Description of Exception
public void connectionClosing(ConnectionToken dc)
throws javax.jms.JMSException
JMSServerInterceptor
connectionClosing in interface JMSServerInterceptorconnectionClosing in class JMSServerInterceptorSupportdc - Description of Parameter
javax.jms.JMSException - Description of Exception
public void checkID(String ID)
throws javax.jms.JMSException
JMSServerInterceptor
checkID in interface JMSServerInterceptorcheckID in class JMSServerInterceptorSupportID - Description of Parameter
javax.jms.JMSException - Description of Exception
public void addMessage(ConnectionToken dc,
SpyMessage message)
throws javax.jms.JMSException
JMSServerInterceptor
addMessage in interface JMSServerInterceptoraddMessage in class JMSServerInterceptorSupportdc - The feature to be added to the Message attributemessage - The feature to be added to the Message attribute
javax.jms.JMSException - Description of Exception
public javax.jms.Queue createQueue(ConnectionToken dc,
String dest)
throws javax.jms.JMSException
JMSServerInterceptor
createQueue in interface JMSServerInterceptorcreateQueue in class JMSServerInterceptorSupportdc - Description of Parameterdest - Description of Parameter
javax.jms.JMSException - Description of Exception
public javax.jms.Topic createTopic(ConnectionToken dc,
String dest)
throws javax.jms.JMSException
JMSServerInterceptor
createTopic in interface JMSServerInterceptorcreateTopic in class JMSServerInterceptorSupportdc - Description of Parameterdest - Description of Parameter
javax.jms.JMSException - Description of Exception
public void deleteTemporaryDestination(ConnectionToken dc,
SpyDestination dest)
throws javax.jms.JMSException
JMSServerInterceptor
deleteTemporaryDestination in interface JMSServerInterceptordeleteTemporaryDestination in class JMSServerInterceptorSupportdc - Description of Parameterdest - Description of Parameter
javax.jms.JMSException - Description of Exception
public void transact(ConnectionToken dc,
TransactionRequest t)
throws javax.jms.JMSException
JMSServerInterceptor
transact in interface JMSServerInterceptortransact in class JMSServerInterceptorSupportdc - Description of Parametert - Description of Parameter
javax.jms.JMSException - Description of Exception
public void acknowledge(ConnectionToken dc,
AcknowledgementRequest item)
throws javax.jms.JMSException
JMSServerInterceptor
acknowledge in interface JMSServerInterceptoracknowledge in class JMSServerInterceptorSupportdc - Description of Parameteritem - Description of Parameter
javax.jms.JMSException - Description of Exception
public SpyMessage[] browse(ConnectionToken dc,
javax.jms.Destination dest,
String selector)
throws javax.jms.JMSException
JMSServerInterceptor
browse in interface JMSServerInterceptorbrowse in class JMSServerInterceptorSupportdc - Description of Parameterdest - Description of Parameterselector - Description of Parameter
javax.jms.JMSException - Description of Exception
public SpyMessage receive(ConnectionToken dc,
int subscriberId,
long wait)
throws javax.jms.JMSException
JMSServerInterceptor
receive in interface JMSServerInterceptorreceive in class JMSServerInterceptorSupportdc - Description of ParametersubscriberId - Description of Parameterwait - Description of Parameter
javax.jms.JMSException - Description of Exception
public void setEnabled(ConnectionToken dc,
boolean enabled)
throws javax.jms.JMSException
JMSServerInterceptor
setEnabled in interface JMSServerInterceptorsetEnabled in class JMSServerInterceptorSupportdc - The new Enabled valueenabled - The new Enabled value
javax.jms.JMSException - Description of Exception
public void unsubscribe(ConnectionToken dc,
int subscriptionId)
throws javax.jms.JMSException
JMSServerInterceptor
unsubscribe in interface JMSServerInterceptorunsubscribe in class JMSServerInterceptorSupportdc - Description of ParametersubscriptionId - Description of Parameter
javax.jms.JMSException - Description of Exception
public void destroySubscription(ConnectionToken dc,
DurableSubscriptionID id)
throws javax.jms.JMSException
JMSServerInterceptor
destroySubscription in interface JMSServerInterceptordestroySubscription in class JMSServerInterceptorSupportid - Description of Parameter
javax.jms.JMSException - Description of Exception
public String checkUser(String userName,
String password)
throws javax.jms.JMSException
JMSServerInterceptor
checkUser in interface JMSServerInterceptorcheckUser in class JMSServerInterceptorSupportuserName - Description of Parameterpassword - Description of Parameter
javax.jms.JMSException - if user was not allowed to login
public String authenticate(String userName,
String password)
throws javax.jms.JMSException
JMSServerInterceptor
authenticate in interface JMSServerInterceptorauthenticate in class JMSServerInterceptorSupportuserName - Description of Parameterpassword - Description of Parameter
javax.jms.JMSException - if user was not allowed to login
public void subscribe(ConnectionToken dc,
Subscription s)
throws javax.jms.JMSException
subscribe in interface JMSServerInterceptorsubscribe in class JMSServerInterceptorSupportdc - org.jboss.mq.ConnectionTokens - org.jboss.mq.Subscription
javax.jms.JMSException - The exception description.
public void ping(ConnectionToken dc,
long clientTime)
throws javax.jms.JMSException
JMSServerInterceptor
ping in interface JMSServerInterceptorping in class JMSServerInterceptorSupportdc - Description of ParameterclientTime - Description of Parameter
javax.jms.JMSException - Description of Exception
public SpyTopic getDurableTopic(DurableSubscriptionID sub)
throws javax.jms.JMSException
JMSServerInterceptor
getDurableTopic in interface JMSServerInterceptorgetDurableTopic in class JMSServerInterceptorSupportjavax.jms.JMSException
public Subscription getSubscription(ConnectionToken dc,
int subscriberId)
throws javax.jms.JMSException
JMSServerInterceptor
getSubscription in interface JMSServerInterceptorgetSubscription in class JMSServerInterceptorSupportjavax.jms.JMSException - if it can not find the subscription.
public Xid[] recover(ConnectionToken dc,
int flags)
throws Exception
Recoverable
recover in interface Recoverablerecover in class JMSServerInterceptorSupportdc - the connnection tokenflags - the recovery flags
Exception - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||