|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mq.server.JMSServerInvoker
public class JMSServerInvoker
A pass through JMSServerInvoker.
| Field Summary | |
|---|---|
protected org.jboss.logging.Logger |
log
|
protected JMSServerInterceptor |
nextInterceptor
Next invoker in chain. |
| Constructor Summary | |
|---|---|
JMSServerInvoker()
|
|
| 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)
#Description of the Method |
javax.jms.Queue |
createQueue(ConnectionToken dc,
String dest)
#Description of the Method |
javax.jms.Topic |
createTopic(ConnectionToken dc,
String dest)
#Description of the Method |
void |
deleteTemporaryDestination(ConnectionToken dc,
SpyDestination dest)
#Description of the Method |
void |
destroySubscription(ConnectionToken dc,
DurableSubscriptionID id)
#Description of the Method |
SpyTopic |
getDurableTopic(DurableSubscriptionID sub)
Get the topic the durable subscription is on. |
String |
getID()
Gets a clientID from server. |
JMSServerInterceptor |
getNext()
|
Subscription |
getSubscription(ConnectionToken dc,
int subscriberId)
Get the subscription that match the id. |
javax.jms.TemporaryQueue |
getTemporaryQueue(ConnectionToken dc)
Gets the TemporaryQueue attribute of the ServerIL object |
javax.jms.TemporaryTopic |
getTemporaryTopic(ConnectionToken dc)
Gets the TemporaryTopic attribute of the ServerIL object |
ThreadGroup |
getThreadGroup()
Get the thread group of the server. |
void |
ping(ConnectionToken dc,
long clientTime)
#Description of the Method |
SpyMessage |
receive(ConnectionToken dc,
int subscriberId,
long wait)
#Description of the Method |
void |
setEnabled(ConnectionToken dc,
boolean enabled)
Sets the Enabled attribute of the ServerIL object |
void |
setNext(JMSServerInterceptor server)
Set next invoker in chain to be called. |
void |
subscribe(ConnectionToken dc,
Subscription s)
|
void |
transact(ConnectionToken dc,
TransactionRequest t)
#Description of the Method |
void |
unsubscribe(ConnectionToken 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 org.jboss.logging.Logger log
protected JMSServerInterceptor nextInterceptor
| Constructor Detail |
|---|
public JMSServerInvoker()
| Method Detail |
|---|
public void setNext(JMSServerInterceptor server)
public JMSServerInterceptor getNext()
JMSServerInterceptor.getNext()public ThreadGroup getThreadGroup()
getThreadGroup in interface Invoker
public String getID()
throws javax.jms.JMSException
getID in interface Invokerjavax.jms.JMSException - Description of Exception
public javax.jms.TemporaryTopic getTemporaryTopic(ConnectionToken dc)
throws javax.jms.JMSException
getTemporaryTopic in interface Invokerdc - Description of Parameter
javax.jms.JMSException - Description of Exception
public javax.jms.TemporaryQueue getTemporaryQueue(ConnectionToken dc)
throws javax.jms.JMSException
getTemporaryQueue in interface Invokerdc - Description of Parameter
javax.jms.JMSException - Description of Exception
public void connectionClosing(ConnectionToken dc)
throws javax.jms.JMSException
connectionClosing in interface Invokerdc - Description of Parameter
javax.jms.JMSException - Description of Exception
public void checkID(String ID)
throws javax.jms.JMSException
checkID in interface InvokerID - a clientID
javax.jms.JMSException - if ID is already taken
public void addMessage(ConnectionToken dc,
SpyMessage message)
throws javax.jms.JMSException
addMessage in interface Invokerdc - 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
createQueue in interface Invokerdc - 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
createTopic in interface Invokerdc - Description of Parameterdest - Description of Parameter
javax.jms.JMSException - Description of Exception
public void deleteTemporaryDestination(ConnectionToken dc,
SpyDestination dest)
throws javax.jms.JMSException
deleteTemporaryDestination in interface Invokerdc - Description of Parameterdest - Description of Parameter
javax.jms.JMSException - Description of Exception
public void transact(ConnectionToken dc,
TransactionRequest t)
throws javax.jms.JMSException
transact in interface Invokerdc - Description of Parametert - Description of Parameter
javax.jms.JMSException - Description of Exception
public void acknowledge(ConnectionToken dc,
AcknowledgementRequest item)
throws javax.jms.JMSException
acknowledge in interface Invokerdc - 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
browse in interface Invokerdc - 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
receive in interface Invokerdc - 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
setEnabled in interface Invokerdc - 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
unsubscribe in interface Invokerdc - Description of ParametersubscriptionId - Description of Parameter
javax.jms.JMSException - Description of Exception
public void destroySubscription(ConnectionToken dc,
DurableSubscriptionID id)
throws javax.jms.JMSException
destroySubscription in interface Invokerid - Description of Parameter
javax.jms.JMSException - Description of Exception
public String checkUser(String userName,
String password)
throws javax.jms.JMSException
checkUser in interface InvokeruserName - 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
authenticate in interface InvokeruserName - 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 Invokerdc - 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
ping in interface Invokerdc - Description of ParameterclientTime - Description of Parameter
javax.jms.JMSException - Description of Exception
public SpyTopic getDurableTopic(DurableSubscriptionID sub)
throws javax.jms.JMSException
Invoker
getDurableTopic in interface Invokerjavax.jms.JMSException
public Subscription getSubscription(ConnectionToken dc,
int subscriberId)
throws javax.jms.JMSException
Invoker
getSubscription in interface Invokerjavax.jms.JMSException - if it can not find the subscription.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||