Java Doc for SpyConnection.java in  » EJB-Server-JBoss-4.2.1 » messaging » org » jboss » mq » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server JBoss 4.2.1 » messaging » org.jboss.mq 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jboss.mq.Connection
      org.jboss.mq.SpyConnection

All known Subclasses:   org.jboss.mq.SpyXAConnection,
SpyConnection
public class SpyConnection extends Connection implements Serializable,TopicConnection,QueueConnection(Code)
This class implements javax.jms.QueueConnection and javax.jms.TopicConnection
author:
   Norbert Lataille (Norbert.Lataille@m4x.org)
author:
   Hiram Chirino (Cojonudo14@hotmail.com)
author:
   Adrian Brock
version:
   $Revision: 57198 $


Field Summary
final public static  intQUEUE
    
final public static  intTOPIC
    
final public static  intUNIFIED
    

Constructor Summary
public  SpyConnection(String userId, String password, GenericConnectionFactory gcf)
    
public  SpyConnection(GenericConnectionFactory gcf)
    
public  SpyConnection(int type, String userId, String password, GenericConnectionFactory gcf)
    
public  SpyConnection(int type, GenericConnectionFactory gcf)
    

Method Summary
public  ConnectionConsumercreateConnectionConsumer(Destination destination, String messageSelector, ServerSessionPool sessionPool, int maxMessages)
    
public  ConnectionConsumercreateConnectionConsumer(Topic topic, String messageSelector, ServerSessionPool sessionPool, int maxMessages)
    
public  ConnectionConsumercreateConnectionConsumer(Queue queue, String messageSelector, ServerSessionPool sessionPool, int maxMessages)
    
public  ConnectionConsumercreateDurableConnectionConsumer(Topic topic, String subscriptionName, String messageSelector, ServerSessionPool sessionPool, int maxMessages)
    
 QueuecreateQueue(String name)
    
public  QueueSessioncreateQueueSession(boolean transacted, int acknowledgeMode)
    
public  SessioncreateSession(boolean transacted, int acknowledgeMode)
    
 TopiccreateTopic(String name)
    
public  TopicSessioncreateTopicSession(boolean transacted, int acknowledgeMode)
    
 TemporaryQueuegetTemporaryQueue()
    
 TemporaryTopicgetTemporaryTopic()
    

Field Detail
QUEUE
final public static int QUEUE(Code)
Queue



TOPIC
final public static int TOPIC(Code)
Topic



UNIFIED
final public static int UNIFIED(Code)
Unified




Constructor Detail
SpyConnection
public SpyConnection(String userId, String password, GenericConnectionFactory gcf) throws JMSException(Code)
Create a new SpyConnection
Parameters:
  userId - the user
Parameters:
  password - the password
Parameters:
  gcf - the constructing class
throws:
  JMSException - for any error



SpyConnection
public SpyConnection(GenericConnectionFactory gcf) throws JMSException(Code)
Create a new SpyConnection
Parameters:
  gcf - the constructing class
throws:
  JMSException - for any error



SpyConnection
public SpyConnection(int type, String userId, String password, GenericConnectionFactory gcf) throws JMSException(Code)
Create a new SpyConnection
Parameters:
  type - the type of connection
Parameters:
  userId - the user
Parameters:
  password - the password
Parameters:
  gcf - the constructing class
throws:
  JMSException - for any error



SpyConnection
public SpyConnection(int type, GenericConnectionFactory gcf) throws JMSException(Code)
Create a new SpyConnection
Parameters:
  type - the type of connection
Parameters:
  gcf - the constructing class
throws:
  JMSException - for any error




Method Detail
createConnectionConsumer
public ConnectionConsumer createConnectionConsumer(Destination destination, String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException(Code)



createConnectionConsumer
public ConnectionConsumer createConnectionConsumer(Topic topic, String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException(Code)



createConnectionConsumer
public ConnectionConsumer createConnectionConsumer(Queue queue, String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException(Code)



createDurableConnectionConsumer
public ConnectionConsumer createDurableConnectionConsumer(Topic topic, String subscriptionName, String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException(Code)



createQueue
Queue createQueue(String name) throws JMSException(Code)



createQueueSession
public QueueSession createQueueSession(boolean transacted, int acknowledgeMode) throws JMSException(Code)



createSession
public Session createSession(boolean transacted, int acknowledgeMode) throws JMSException(Code)



createTopic
Topic createTopic(String name) throws JMSException(Code)



createTopicSession
public TopicSession createTopicSession(boolean transacted, int acknowledgeMode) throws JMSException(Code)



getTemporaryQueue
TemporaryQueue getTemporaryQueue() throws JMSException(Code)



getTemporaryTopic
TemporaryTopic getTemporaryTopic() throws JMSException(Code)



Fields inherited from org.jboss.mq.Connection
protected String clientID(Code)(Java Doc)
protected ClientILService clientILService(Code)(Java Doc)
protected static ClockDaemon clockDaemon(Code)(Java Doc)
protected ConnectionToken connectionToken(Code)(Java Doc)
HashSet createdSessions(Code)(Java Doc)
public HashMap destinationSubscriptions(Code)(Java Doc)
GenericConnectionFactory genericConnectionFactory(Code)(Java Doc)
static Logger log(Code)(Java Doc)
public boolean modeStop(Code)(Java Doc)
protected long pingPeriod(Code)(Java Doc)
Object pingTaskId(Code)(Java Doc)
Semaphore pingTaskSemaphore(Code)(Java Doc)
protected boolean ponged(Code)(Java Doc)
protected ServerIL serverIL(Code)(Java Doc)
String sessionId(Code)(Java Doc)
SpyXAResourceManager spyXAResourceManager(Code)(Java Doc)
Object subCountLock(Code)(Java Doc)
int subscriptionCounter(Code)(Java Doc)
public HashMap subscriptions(Code)(Java Doc)
protected HashSet temps(Code)(Java Doc)
static boolean trace(Code)(Java Doc)

Methods inherited from org.jboss.mq.Connection
void addConsumer(SpyConsumer consumer) throws JMSException(Code)(Java Doc)
protected void askForAnID() throws JMSException(Code)(Java Doc)
protected void askForAnID(String userName, String password) throws JMSException(Code)(Java Doc)
public void asynchClose()(Code)(Java Doc)
public void asynchDeleteTemporaryDestination(SpyDestination dest)(Code)(Java Doc)
public void asynchDeliver(ReceiveRequest requests)(Code)(Java Doc)
public void asynchFailure(String reason, Throwable t)(Code)(Java Doc)
public void asynchPong(long serverTime)(Code)(Java Doc)
protected void authenticate(String userName, String password) throws JMSException(Code)(Java Doc)
SpyMessage[] browse(Queue queue, String selector) throws JMSException(Code)(Java Doc)
protected synchronized void checkClientID() throws JMSException(Code)(Java Doc)
protected void checkClosed() throws IllegalStateException(Code)(Java Doc)
void checkTemporary(Destination destination) throws JMSException(Code)(Java Doc)
public synchronized void close() throws JMSException(Code)(Java Doc)
public void deleteTemporaryDestination(SpyDestination dest) throws JMSException(Code)(Java Doc)
public void doStop() throws JMSException(Code)(Java Doc)
public String getClientID() throws JMSException(Code)(Java Doc)
public ExceptionListener getExceptionListener() throws JMSException(Code)(Java Doc)
public ConnectionMetaData getMetaData() throws JMSException(Code)(Java Doc)
String getNewMessageID() throws JMSException(Code)(Java Doc)
public ServerIL getServerIL()(Code)(Java Doc)
public static ThreadGroup getThreadGroup()(Code)(Java Doc)
void pingServer(long clientTime) throws JMSException(Code)(Java Doc)
SpyMessage receive(Subscription sub, long wait) throws JMSException(Code)(Java Doc)
protected Xid[] recover(int flags) throws JMSException(Code)(Java Doc)
void removeConsumer(SpyConsumer consumer) throws JMSException(Code)(Java Doc)
protected void send(AcknowledgementRequest item) throws JMSException(Code)(Java Doc)
protected void send(TransactionRequest transaction) throws JMSException(Code)(Java Doc)
void sendToServer(SpyMessage mes) throws JMSException(Code)(Java Doc)
void sessionClosing(SpySession who)(Code)(Java Doc)
public void setClientID(String cID) throws JMSException(Code)(Java Doc)
public void setExceptionListener(ExceptionListener listener) throws JMSException(Code)(Java Doc)
public void start() throws JMSException(Code)(Java Doc)
protected void startILService() throws JMSException(Code)(Java Doc)
public void stop() throws JMSException(Code)(Java Doc)
protected void stopILService() throws JMSException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
void unsubscribe(DurableSubscriptionID id) throws JMSException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.