Java Doc for Config.java in  » ESB » open-esb » com » sun » jbi » binding » jms » config » 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 » ESB » open esb » com.sun.jbi.binding.jms.config 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.jbi.binding.jms.util.UtilBase
      com.sun.jbi.binding.jms.config.Config

Config
public class Config extends UtilBase implements JMSBindingResources(Code)
This object defines the JMS binding's runtime configuration information. The runtime is setup when the component is installed and is physically stored in ${COMPONENT_INSTALL_ROOT)/jms_config.xml file. This object uses the XMLReader implementation to read configuration data and initialize itself. The object is created when the binding component is initialized. If changes are manually made to ${COMPONENT_INSTALL_ROOT)/jms_config.xml file, the component needs to be shutdown and restarted for the changes to take affect.
author:
   Sun Microsystems Inc.



Constructor Summary
public  Config(String configFileName)
     Creates a new instance of Config.
Parameters:
  configFileName - configuration file name.

Method Summary
protected  voidclearAll()
     Clears the configuration object details.
public  StringgetDeploymentImplClass()
     Gets the configured deployment implementation class name.
public  PropertiesgetDeploymentProperties()
     Gets the properties configured for the deployment implementation.
public  StringgetInitialContextFactory()
     Get the lookup for initial context factory.
public  LevelgetLogLevel()
     Gets the configured application log level.
public  intgetMaxThreadCount()
     Gets the configured maximum thread count.
public  intgetMinThreadCount()
     Gets the configured minimum thread count.
public  StringgetProviderUrl()
     Gets the provider url.
public  StringgetReceiverConnectionPassword()
     Returns the receiver connection password.
public  StringgetReceiverConnectionUser()
     Returns the receiver connection user.
public  StringgetReceiverDestination()
     Returns the receiver destination.
public  StringgetReceiverFactory()
     Returns the receiver factory.
public  StringgetSecurityCredentials()
     Get the SecurityConfiguration.
public  StringgetSecurityLevel()
     Get the Security level.
public  StringgetSecurityPrincipal()
     Get the SecurityConfiguration.
public  voidloadConfiguration(String componentId)
     Reads data from the configuration object and initializes itself.
public  voidprintDetails()
     Prints the configuration details.


Constructor Detail
Config
public Config(String configFileName)(Code)
Creates a new instance of Config.
Parameters:
  configFileName - configuration file name. This file name should notbe relative and should contain the absolute path.




Method Detail
clearAll
protected void clearAll()(Code)
Clears the configuration object details.



getDeploymentImplClass
public String getDeploymentImplClass()(Code)
Gets the configured deployment implementation class name. This value is extracted from the element
  
 <jmsbc:jms-binding>
 <deployment>
 <impl>
 </impl>
 </deployment>
 </jmsbc:jms-binding>
  
present in the configuration file. Supported runtime deployment implementations
  • SimpleImplementation
. class name.



getDeploymentProperties
public Properties getDeploymentProperties()(Code)
Gets the properties configured for the deployment implementation. The values are extracted from the elements
  
 <jmsbc:jms-binding>
 <deployment>
 <impl>
 <param>
 <paramname/>
 <paramvalue/>
 </param>*
 </impl>
 </deployment>
 </jmsbc:jms-binding>
  
. configured properties.



getInitialContextFactory
public String getInitialContextFactory()(Code)
Get the lookup for initial context factory. the String.



getLogLevel
public Level getLogLevel()(Code)
Gets the configured application log level. This value is extracted from the element
 
 <jmsbc:jms-binding>
 <loglevel/>
 </jmsbc:jms-binding>
  
present in the configuration file. The supported loglevel values are
  • SEVERE
  • WARNING
  • INFO
  • CONFIG
  • FINE
  • FINER
  • FINEST
  • OFF
  • ALL
. log level.



getMaxThreadCount
public int getMaxThreadCount()(Code)
Gets the configured maximum thread count. This value is extracted from the element
  
 <jmsbc:jms-binding>
 <threadpool>
 <maxthreads>
 </maxthreads>
 </threadpool>
 </jmsbc:jms-binding>
  
present in the configuration file. maximum thread count.



getMinThreadCount
public int getMinThreadCount()(Code)
Gets the configured minimum thread count. This value is extracted from the element
  
 <jmsbc:jms-binding>
 <threadpool>
 <minthreads>
 </minthreads>
 </threadpool>
 </jmsbc:jms-binding>
  
present in the configuration file. minimum thread count.



getProviderUrl
public String getProviderUrl()(Code)
Gets the provider url. the provider url.



getReceiverConnectionPassword
public String getReceiverConnectionPassword()(Code)
Returns the receiver connection password. receiver connection password.



getReceiverConnectionUser
public String getReceiverConnectionUser()(Code)
Returns the receiver connection user. receiver connection user name.



getReceiverDestination
public String getReceiverDestination()(Code)
Returns the receiver destination. receiver destination.



getReceiverFactory
public String getReceiverFactory()(Code)
Returns the receiver factory. receiver factory.



getSecurityCredentials
public String getSecurityCredentials()(Code)
Get the SecurityConfiguration. the String.



getSecurityLevel
public String getSecurityLevel()(Code)
Get the Security level. the String.



getSecurityPrincipal
public String getSecurityPrincipal()(Code)
Get the SecurityConfiguration. the SecurityConfig instance.



loadConfiguration
public void loadConfiguration(String componentId) throws JBIException(Code)
Reads data from the configuration object and initializes itself.
Parameters:
  componentId - is the ComponentId obtained from the JBI Context.
throws:
  JBIException - - when the object cannot be initialized.



printDetails
public void printDetails()(Code)
Prints the configuration details.



Methods inherited from com.sun.jbi.binding.jms.util.UtilBase
public void clear()(Code)(Java Doc)
public String getError()(Code)(Java Doc)
public Exception getException()(Code)(Java Doc)
public String getWarning()(Code)(Java Doc)
public boolean isValid()(Code)(Java Doc)
public void setError(String err)(Code)(Java Doc)
public void setException(Exception ex)(Code)(Java Doc)
protected void setValid(boolean valid)(Code)(Java Doc)
protected void setWarning(String warn)(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.