Java Doc for HsqlDBEngineMBean.java in  » Net » Coadunation_1.0.1 » com » rift » coad » daemon » hsqldb » 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 » Net » Coadunation_1.0.1 » com.rift.coad.daemon.hsqldb 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.rift.coad.daemon.hsqldb.HsqlDBEngineMBean

All known Subclasses:   com.rift.coad.daemon.hsqldb.HsqlDBEngine,
HsqlDBEngineMBean
public interface HsqlDBEngineMBean extends Remote(Code)
This interface supplies access to the Hsql server methods.
author:
   Brett Chaldecott




Method Summary
public  StringgetAddress()
     Retrieves, in string form, this server's host address.
public  StringgetDatabaseName(int index, boolean asconfigured)
     Retrieves the url alias (network name) of the i'th database that this Server hosts.
public  StringgetDatabasePath(int index, boolean asconfigured)
     Retrieves the HSQLDB path descriptor (uri) of the i'th Database that this Server hosts.
public  StringgetDatabaseType(int index)
    
public  intgetPort()
     Retrieves this server's host port.
public  StringgetProductName()
     Retrieves this server's product name.
public  StringgetProductVersion()
     Retrieves the server's product version, as a String.
public  StringgetProtocol()
     Retrieves a string respresentaion of the network protocol this server offers, typically one of 'HTTP', HTTPS', 'HSQL' or 'HSQLS'.
public  StringgetServerId()
     Retrieves a String identifying this Server object.
public  intgetState()
     Retrieves current state of this server in numerically coded form.
public  StringgetStateDescriptor()
     Retrieves a character sequence describing this server's current state, including the message of the last exception, if there is one and it is still in context.
public  booleanisTls()
     Retrieves whether the use of secure sockets was requested in the server properties.
public  booleanputPropertiesFromFile(String path)
     Attempts to put properties from the file with the specified path.
public  voidputPropertiesFromString(String s)
     Puts properties from the supplied string argument.



Method Detail
getAddress
public String getAddress() throws RemoteException, HsqlDBEngineException(Code)
Retrieves, in string form, this server's host address. this server's host address
exception:
  RemoteException -
exception:
  HsqlDBEngineException -



getDatabaseName
public String getDatabaseName(int index, boolean asconfigured) throws RemoteException, HsqlDBEngineException(Code)
Retrieves the url alias (network name) of the i'th database that this Server hosts.
Parameters:
  index - the index of the url alias upon which to report
Parameters:
  asconfigured - if true, report the configured value, elsethe live value the url alias component of the i'th databasethat this Server hosts, or null if no such name exists.
exception:
  RemoteException -
exception:
  HsqlDBEngineException -



getDatabasePath
public String getDatabasePath(int index, boolean asconfigured) throws RemoteException, HsqlDBEngineException(Code)
Retrieves the HSQLDB path descriptor (uri) of the i'th Database that this Server hosts.
Parameters:
  index - the index of the uri upon which to report
Parameters:
  asconfigured - if true, report the configured value, elsethe live value the HSQLDB database path descriptor of the i'th databasethat this Server hosts, or null if no such path descriptorexists
exception:
  RemoteException -
exception:
  HsqlDBEngineException -



getDatabaseType
public String getDatabaseType(int index) throws RemoteException, HsqlDBEngineException(Code)
This method returns the HsqlDB type A string containing the type of this db.
Parameters:
  index - The index of this type.
exception:
  RemoteException -
exception:
  HsqlDBEngineException -



getPort
public int getPort() throws RemoteException, HsqlDBEngineException(Code)
Retrieves this server's host port. this server's host port
exception:
  RemoteException -
exception:
  HsqlDBEngineException -



getProductName
public String getProductName() throws RemoteException, HsqlDBEngineException(Code)
Retrieves this server's product name.

Typically, this will be something like: "HSQLDB xxx server". the product name of this server
exception:
  RemoteException -
exception:
  HsqlDBEngineException -




getProductVersion
public String getProductVersion() throws RemoteException, HsqlDBEngineException(Code)
Retrieves the server's product version, as a String.

Typically, this will be something like: "1.x.x" or "2.x.x" and so on. the product version of the server
exception:
  RemoteException -
exception:
  HsqlDBEngineException -




getProtocol
public String getProtocol() throws RemoteException, HsqlDBEngineException(Code)
Retrieves a string respresentaion of the network protocol this server offers, typically one of 'HTTP', HTTPS', 'HSQL' or 'HSQLS'. string respresentation of this server's protocol
exception:
  RemoteException -
exception:
  HsqlDBEngineException -



getServerId
public String getServerId() throws RemoteException, HsqlDBEngineException(Code)
Retrieves a String identifying this Server object. a String identifying this Server object
exception:
  RemoteException -
exception:
  HsqlDBEngineException -



getState
public int getState() throws RemoteException, HsqlDBEngineException(Code)
Retrieves current state of this server in numerically coded form.

Typically, this will be one of:

  1. ServerProperties.SERVER_STATE_ONLINE (1)
  2. ServerProperties.SERVER_STATE_OPENING (4)
  3. ServerProperties.SERVER_STATE_CLOSING (8)
  4. ServerProperties.SERVER_STATE_SHUTDOWN (16)
this server's state code.
exception:
  RemoteException -
exception:
  HsqlDBEngineException -



getStateDescriptor
public String getStateDescriptor() throws RemoteException, HsqlDBEngineException(Code)
Retrieves a character sequence describing this server's current state, including the message of the last exception, if there is one and it is still in context. this server's state represented as a character sequence.
exception:
  RemoteException -
exception:
  HsqlDBEngineException -



isTls
public boolean isTls() throws RemoteException, HsqlDBEngineException(Code)
Retrieves whether the use of secure sockets was requested in the server properties. if true, secure sockets are requested, else not
exception:
  RemoteException -
exception:
  HsqlDBEngineException -



putPropertiesFromFile
public boolean putPropertiesFromFile(String path) throws RemoteException, HsqlDBEngineException(Code)
Attempts to put properties from the file with the specified path. The file extension '.properties' is implicit and should not be included in the path specification.
Parameters:
  path - the path of the desired properties file, without the'.properties' file extension
throws:
  RuntimeException - if this server is running true if the indicated file was read sucessfully, else false
exception:
  RemoteException -
exception:
  HsqlDBEngineException -



putPropertiesFromString
public void putPropertiesFromString(String s) throws RemoteException, HsqlDBEngineException(Code)
Puts properties from the supplied string argument. The relevant key value pairs are the same as those for the (web)server.properties file format, except that the 'server.' prefix should not be specified.
Parameters:
  s - semicolon-delimited key=value pair string,e.g. k1=v1;k2=v2;k3=v3...
throws:
  RuntimeException - if this server is running
exception:
  RemoteException -
exception:
  HsqlDBEngineException -



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