Java Doc for JmsServiceImpl.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » jms » 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 » J2EE » JOnAS 4.8.6 » org.objectweb.jonas.jms 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.jonas.service.AbsServiceImpl
   org.objectweb.jonas.jms.JmsServiceImpl

JmsServiceImpl
public class JmsServiceImpl extends AbsServiceImpl implements JmsService,JmsServiceImplMBean(Code)
JMS Service implementation.
author:
   Philippe Coq
author:
   Contributor(s):
author:
   Adriana Danes: highlight configuration properties
author:
   03.05.27 - Add support for monitoring of JMS destinations


Field Summary
final public static  StringCLASS
    
final public static  StringCOLLOCATED
    
final public static  StringDESTINATIONS
    
final public static  StringMOM
    
final public static  StringQUEUES
    
final public static  StringSERVICE_NAME
    
final public static  StringTOPICS
    
final public static  StringURL
    
 StringjmsClass
    
 JmsJmxManagementjmsjmx
    
 JmsManagerjonasjms
    
 StringmomProviderClassName
    
 VectorqueueNames
    
 longsequenceNumber
    
 VectortopicNames
    
 TransactionServicetransactionService
    
 Stringurl
    


Method Summary
public  voidcreateJmsQueueDestination(String jndiName)
    
public  voidcreateJmsTopicDestination(String jndiName)
    
public  voiddoInit(Context ctx)
     Init the Service.
public  voiddoStart()
     Start the Service Initialization of the service is already done.
public  voiddoStop()
    
public  SetgetAllJmsConnectionFactoryNames()
    
public  SetgetAllJmsQueueConnectionFactoryNames()
    
public  SetgetAllJmsQueueDestinationNames()
    
public  SetgetAllJmsTopicConnectionFactoryNames()
    
public  SetgetAllJmsTopicDestinationNames()
    
public  StringgetConnectionFactoryMode(String jndiName)
    
public  IntegergetCurrentNumberOfJmsConnectionFactory()
    
public  IntegergetCurrentNumberOfJmsQueueConnectionFactory()
    
public  IntegergetCurrentNumberOfJmsQueueDestination()
    
public  IntegergetCurrentNumberOfJmsTopicConnectionFactory()
    
public  IntegergetCurrentNumberOfJmsTopicDestination()
    
public  StringgetDefaultConnectionFactoryName()
    
public  StringgetDefaultQueueConnectionFactoryName()
    
public  StringgetDefaultTopicConnectionFactoryName()
    
public  JmsManagergetJmsManager()
    
public  StringgetMom()
    
public  IntegergetPendingMessages(String jndiName)
    
public  IntegergetPendingRequests(String jndiName)
     Get number of pending requests on a queue
Parameters:
  jndiName - queue name number of pending requests.
public  IntegergetSubscriptions(String jndiName)
    
public  StringgetUrl()
    
public  BooleanisMomLocal()
    
public  voidremoveJmsDestination(String jndiName)
    
public  voidremoveJmsQueueDestination(String jndiName)
    
public  voidremoveJmsTopicDestination(String jndiName)
    
public  voidsaveConfig()
    

Field Detail
CLASS
final public static String CLASS(Code)



COLLOCATED
final public static String COLLOCATED(Code)



DESTINATIONS
final public static String DESTINATIONS(Code)



MOM
final public static String MOM(Code)



QUEUES
final public static String QUEUES(Code)



SERVICE_NAME
final public static String SERVICE_NAME(Code)



TOPICS
final public static String TOPICS(Code)



URL
final public static String URL(Code)



jmsClass
String jmsClass(Code)



jmsjmx
JmsJmxManagement jmsjmx(Code)



jonasjms
JmsManager jonasjms(Code)



momProviderClassName
String momProviderClassName(Code)



queueNames
Vector queueNames(Code)



sequenceNumber
long sequenceNumber(Code)



topicNames
Vector topicNames(Code)



transactionService
TransactionService transactionService(Code)



url
String url(Code)





Method Detail
createJmsQueueDestination
public void createJmsQueueDestination(String jndiName)(Code)
MBean method Create a new Jms queue destination
Parameters:
  String - jndi Namenot yet implement with a remote host



createJmsTopicDestination
public void createJmsTopicDestination(String jndiName)(Code)
MBean method Create a new Jms topic destination
Parameters:
  String - jndi Namenot yet implement with a remote host



doInit
public void doInit(Context ctx) throws ServiceException(Code)
Init the Service. Configuration information is passed thru a Context object.



doStart
public void doStart() throws ServiceException(Code)
Start the Service Initialization of the service is already done. For administrating objects we use the class specified in the jms.provider property by default we use the Joram implementation



doStop
public void doStop() throws ServiceException(Code)
Stop the JMS Service



getAllJmsConnectionFactoryNames
public Set getAllJmsConnectionFactoryNames()(Code)
MBean method return Set of Connection Factory Names



getAllJmsQueueConnectionFactoryNames
public Set getAllJmsQueueConnectionFactoryNames()(Code)
MBean method return Set of Queue Connection Factory Names



getAllJmsQueueDestinationNames
public Set getAllJmsQueueDestinationNames()(Code)
MBean method return Set of Queue Destinations Names



getAllJmsTopicConnectionFactoryNames
public Set getAllJmsTopicConnectionFactoryNames()(Code)
MBean method return Set of Topic Connection Factory Names



getAllJmsTopicDestinationNames
public Set getAllJmsTopicDestinationNames()(Code)
MBean method return Set of Topic Destination Names



getConnectionFactoryMode
public String getConnectionFactoryMode(String jndiName)(Code)
Get the messaging mode a connection factory belongs to
Parameters:
  jndiName - connection factory name messaging mode



getCurrentNumberOfJmsConnectionFactory
public Integer getCurrentNumberOfJmsConnectionFactory()(Code)
MBean method the current number of Jms Connection Factory



getCurrentNumberOfJmsQueueConnectionFactory
public Integer getCurrentNumberOfJmsQueueConnectionFactory()(Code)
MBean method the current number of Queue Jms Connection Factory



getCurrentNumberOfJmsQueueDestination
public Integer getCurrentNumberOfJmsQueueDestination()(Code)
MBean method the current number of Queue Jms Destination



getCurrentNumberOfJmsTopicConnectionFactory
public Integer getCurrentNumberOfJmsTopicConnectionFactory()(Code)
MBean method the current number of Topic Jms Connection Factory



getCurrentNumberOfJmsTopicDestination
public Integer getCurrentNumberOfJmsTopicDestination()(Code)
MBean method the current number of Topic Jms Destination



getDefaultConnectionFactoryName
public String getDefaultConnectionFactoryName()(Code)
String name of default Connection factory



getDefaultQueueConnectionFactoryName
public String getDefaultQueueConnectionFactoryName()(Code)
MBean method String name of default Queue Connection factory



getDefaultTopicConnectionFactoryName
public String getDefaultTopicConnectionFactoryName()(Code)
MBean method String name of default Topic Connection factory



getJmsManager
public JmsManager getJmsManager()(Code)



getMom
public String getMom()(Code)



getPendingMessages
public Integer getPendingMessages(String jndiName)(Code)
Get number of pending messages on a queue
Parameters:
  jndiName - queue name number of pending messages



getPendingRequests
public Integer getPendingRequests(String jndiName)(Code)
Get number of pending requests on a queue
Parameters:
  jndiName - queue name number of pending requests. If nb null, could not get this information.



getSubscriptions
public Integer getSubscriptions(String jndiName)(Code)
Get number of subscriptions on a topic
Parameters:
  jndiName - topic name number of subscriptions



getUrl
public String getUrl()(Code)
the MOM's URL if distant or "" if collocated



isMomLocal
public Boolean isMomLocal()(Code)



removeJmsDestination
public void removeJmsDestination(String jndiName)(Code)
Remove a Jms destination
Parameters:
  String - jndi name



removeJmsQueueDestination
public void removeJmsQueueDestination(String jndiName)(Code)
MBean method Remove a Jms destination
Parameters:
  String - jndi name



removeJmsTopicDestination
public void removeJmsTopicDestination(String jndiName)(Code)
MBean method Remove a Jms destination
Parameters:
  String - jndi name



saveConfig
public void saveConfig()(Code)
MBean method: save updated configuration



Methods inherited from org.objectweb.jonas.service.AbsServiceImpl
abstract protected void doInit(Context ctx) throws ServiceException(Code)(Java Doc)
abstract protected void doStart() throws ServiceException(Code)(Java Doc)
abstract protected void doStop() throws ServiceException(Code)(Java Doc)
public String getDomainName()(Code)(Java Doc)
public String getJonasServerName()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public void init(Context ctx) throws ServiceException(Code)(Java Doc)
public boolean isStarted()(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void start() throws ServiceException(Code)(Java Doc)
public void stop() throws ServiceException(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.