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


java.lang.Object
   org.objectweb.jonas.jonasadmin.test.util.JProperties

JProperties
public class JProperties (Code)
JOnAS property accessor
author:
   kemlerp




Method Summary
public  StringgetJvmVendor()
    
public  StringgetJvmVersion()
    
public  PropertiesgetProperties(String fileName)
     Get properties from a file in resources directory.
Parameters:
  fileName - name of the property file with ".properties".
public  PropertiesgetPropertiesEnv()
    
public  StringgetRegistryProtocol()
    
public  StringgetRegistryUrl()
    
public  String[]getServices()
    
public  booleanisCatalina()
    
public  booleanisDb()
    
public  booleanisDbm()
    
public  booleanisDiscovery()
    
public  booleanisEar()
    
public  booleanisEjb()
    
public  booleanisJMSCollocated()
    
public  booleanisJms()
    
public  booleanisJmx()
    
public  booleanisJtm()
    
public  booleanisJtmRemote()
    
public  booleanisMail()
    
public  booleanisRegistry()
    
public  booleanisResource()
    
public  booleanisSecurity()
    
public  booleanisWeb()
    
public  booleanisWs()
    
public  booleansearchService(String service)
    



Method Detail
getJvmVendor
public String getJvmVendor()(Code)
Get Jvm vendor value of the property java.vm.specification.vendor



getJvmVersion
public String getJvmVersion()(Code)
Get Jvm Version the java version



getProperties
public Properties getProperties(String fileName) throws Exception(Code)
Get properties from a file in resources directory.
Parameters:
  fileName - name of the property file with ".properties". Properties.
throws:
  Exception - if the file is not found.



getPropertiesEnv
public Properties getPropertiesEnv() throws Exception(Code)
Get list environnement JOnAS protperties
throws:
  Exception - if list environnement cannot be got



getRegistryProtocol
public String getRegistryProtocol()(Code)
Get registry protocol protocol name (jrmp, jeremie, iiop, cmi)



getRegistryUrl
public String getRegistryUrl()(Code)
Get registry url url of the registry



getServices
public String[] getServices() throws Exception(Code)
Get services in jonas properties A table of string with services in jonas properties
throws:
  Exception - if properties cannot be got



isCatalina
public boolean isCatalina() throws Exception(Code)
Catalina in jonas properties True if Catalina is the web service, else false
throws:
  Exception - if property cannot be got



isDb
public boolean isDb() throws Exception(Code)
Db in service property True if db is a value of service property
throws:
  Exception - if service property cannot be got



isDbm
public boolean isDbm() throws Exception(Code)
Dbm in service property True if dbm is a value of service property
throws:
  Exception - if service property cannot be got



isDiscovery
public boolean isDiscovery() throws Exception(Code)
Discovery in service property True if discovery is a value of service property
throws:
  Exception - if service property cannot be got



isEar
public boolean isEar() throws Exception(Code)
Ear in service property True if ear is a value of service property
throws:
  Exception - if service property cannot be got



isEjb
public boolean isEjb() throws Exception(Code)
Ejb in service property True if ejb is a value of service property
throws:
  Exception - if service property cannot be got



isJMSCollocated
public boolean isJMSCollocated() throws Exception(Code)
JMS service location True if it is collocated, else False
throws:
  Exception - if property cannot be got



isJms
public boolean isJms() throws Exception(Code)
Jms in service property True if jms is a value of service property
throws:
  Exception - if service property cannot be got



isJmx
public boolean isJmx() throws Exception(Code)
Jmx in service property True if Jmx is a value of service property
throws:
  Exception - if service property cannot be got



isJtm
public boolean isJtm() throws Exception(Code)
Jtm in service property True if jtm is a value of service property
throws:
  Exception - if service property cannot be got



isJtmRemote
public boolean isJtmRemote() throws Exception(Code)
Jtm location True if jtm is remote, False if it is collocated
throws:
  Exception - if property cannot be got



isMail
public boolean isMail() throws Exception(Code)
Mail in service property True if db is a value of service property
throws:
  Exception - if service property cannot be got



isRegistry
public boolean isRegistry() throws Exception(Code)
Registry in service property True if registry is a value of service property
throws:
  Exception - if service property cannot be got



isResource
public boolean isResource() throws Exception(Code)
Resource in service property True if resource is a value of service property
throws:
  Exception - if service property cannot be got



isSecurity
public boolean isSecurity() throws Exception(Code)
Security in service property True if security is a value of service property
throws:
  Exception - if service property cannot be got



isWeb
public boolean isWeb() throws Exception(Code)
Web in service property True if web is a value of service property
throws:
  Exception - if service property cannot be got



isWs
public boolean isWs() throws Exception(Code)
Ws in service property True if ws is a value of service property
throws:
  Exception - if service property cannot be got



searchService
public boolean searchService(String service) throws Exception(Code)
Search a service in services
Parameters:
  service - The string that is searched true if there is the service in services else false
throws:
  Exception - if services cannot be got



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.