Java Doc for ConnectionProfile.java in  » Database-Client » iSQL-Viewer » org » isqlviewer » sql » 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 » Database Client » iSQL Viewer » org.isqlviewer.sql 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.isqlviewer.sql.ConnectionProfile

ConnectionProfile
final public class ConnectionProfile implements Serializable(Code)
Connection profile to control some statement and connection behavior with the JdbcService class.

This is a somewhat typical bean class, with getters/setters for the respective parameters. Each connection profile can be chained together using the ConnectionProfile.ConnectionProfile(ConnectionProfile) constructor.

The parameters of this class historically were embedded into the actually connection wrapper class. This proved to be extremely cumbersome and fragile. This implementation should proved to be more extensible and does not force to expose any internals of the connection wrapper.

This implementation also allows for changes on the fly to the profile or parent profiles without having a reference to the actual connection, and still having a live change event.
author:
   Mark A. Kobold <mkobold at isqlviewer dot com>
version:
   1.0



Field Summary
final public static  StringCONNECTION_KEEPALIVE
     Boolean property to ensure that the connection is valid and reconnects automatically when queries are executed.
final public static  StringJDBC_ESCAPE_PROC
     Boolean property to turn on/off escaping processing in the JDBC driver.
final public static  StringJDBC_GENERATE_KEYS
     Boolean property to tell database connection that you want genereated keys if available from ResultSets.
final public static  StringJDBC_HOLDABILITY
     Integer property for configuring resultset holdability.
final public static  StringJDBC_MAX_FIELD_SIZE
     Integer property to configure the maximum field size a Statement object should return.
final public static  StringJDBC_MAX_ROWS
     Integer property to configure the maximum number of rows a Statement object should return.
final public static  StringJDBC_REVERSE_FETCHING
     Boolean property for enabling reverse fetching of ResultSet data.
final public static  StringJDBC_TRACE_ENABLED
     Boolean property for enabling JDBC tracing through the java.sql.DriverManager mechanisim.
final public static  StringLOGIN_TIMEOUT
     Integer property for the number of seconds that should pass before a connection times-out when connecting.
final public static  StringMAX_EXCEPTION_CHAIN_LENGTH
     Integer property to determine how deep to process chained SQLExceptions & SQLWarnings.
final public static  StringPREFERRED_CATALOG
     String property for declaring a specifc catalog to use for catalog sensitive operations.
final public static  StringPREFERRED_SCHEMA
     String property for declaring a specifc schema to use for schema sensitive operations.
final public static  StringPRINT_STACKTRACES
     Boolean property to debug JDBC activity by printing stack traces on exceptions.
final public static  StringQUERY_TIMEOUT
     Integer property for the number of seconds that should pass before a statement execution times-out.
final public static  StringSTORE_CREDENTIALS
     Boolean property that indicates wheter the storage of the service credentials actually occurs.
final public static  StringUSE_SECURE_CREDENTIALS
     Boolean property that indicates wheter the storage of the service credentials are un-encrypted.

Constructor Summary
public  ConnectionProfile()
     Creates default connection profile with no default settings.
public  ConnectionProfile(ConnectionProfile defaults)
     Creates a connection profile with default profile.

Method Summary
public synchronized  voidaddPropertyChangeListener(PropertyChangeListener listener)
     Add a PropertyChangeListener to the listener list.
public synchronized  voidaddPropertyChangeListener(String propertyName, PropertyChangeListener listener)
     Add a PropertyChangeListener for a specific property.
public  booleanaddResource(File location)
     Adds a resourceURL as part of creating a custom classloader for a connection.

This method will always return false if a null resourceURL is received.

public  booleancontainsSettings()
     Helper method for determining if this profile contains any settings.
public  intgetLoginTimeout()
     Get the number of seconds allowed before timing out on creating a connection.
public  longgetMaxExceptionLength()
     Get the maximum number of chained exceptions to show for SQLExceptions.
public  longgetMaxFieldSize()
     Get the connections' preferred maximum field size for a data recieved from statements.
public  longgetMaxRowCount()
     Gets the maximum number of rows to receive from a statement.
public  StringgetPreferredCatalog()
     Gets the preferred schema to use for schema sensitive operations.
public  StringgetPreferredSchema()
     Gets the preferred schema to use for schema sensitive operations.
public  intgetQueryTimeout()
     Get the number of seconds allowed before timing out on execution of statements.
public  booleanisCredentialsPersistent()
     Gets the flag for determining is service passwords are persistent.
public  booleanisCredentialsSecure()
     Gets the flag for determining is service passwords are encrypted.
public  booleanisDebuggingEnabled()
     Determines if stacktraces should be displayed when exceptions occur.
public  booleanisEscapeProcessing()
     Sets the preferred escape processing flag for configuring statements.
public  booleanisKeepAlive()
     Determines if connections are automatically recovered when disconnected.
public  booleanisResultsetKeys()
     Sets the parameter for accessing ResultSet keys for each statement.
public  booleanisReverseFetching()
     Gets the flag for enabling reverse-fetchings when executing statements.
public  booleanisTracingEnabled()
     Determines if JDBC tracing through the java.sql.DriverManager is enabled.
public synchronized  voidremovePropertyChangeListener(PropertyChangeListener listener)
     Remove a PropertyChangeListener from the listener list.
public synchronized  voidremovePropertyChangeListener(String propertyName, PropertyChangeListener listener)
     Remove a PropertyChangeListener for a specific profile setting.
public  booleanremoveResource(File location)
     Removes given resourceURL from this profile.


Parameters:
  location - to needs to be removed from this profile.

public  Enumeration<File>resourceElements()
     Returns a enumeration of the resource URLs defined in this class.
public  voidsetCredentialsPersistent(boolean credentialsPersistent)
     Sets whether the credentials for a service are persistent with the rest of the configuration.
public  voidsetCredentialsSecure(boolean credentialsSecure)
     Sets whether the credentials for a service are encrypted or plain-text.
public  voidsetDebuggingEnabled(boolean debuggingEnabled)
     Sets stacktraces on exceptions from JDBC operations to be displayed.
public  voidsetEscapeProcessing(boolean escapeProcessing)
     Sets the preferred escape processing flag when configuring statements.
public  voidsetKeepAlive(boolean keepAlive)
     Sets the preferred keep-alive parameter for the connection.
public  voidsetLoginTimeout(int loginTimeout)
     Sets the number of seconds to wait for a connection to be made.
public  voidsetMaxExceptionLength(int maxExceptionLength)
     Sets the maximum number of chained exceptions to display for SQLExceptions.
public  voidsetMaxFieldSize(long maxFieldSize)
     Sets the preferred max field size for data recieved from statements.
public  voidsetMaxRowCount(long maxRowCount)
     Sets the preferred maximum number of rows to recieve from a statement.
public  voidsetPreferredCatalog(String preferredCatalog)
     Sets the preferred catalog name to use when performing catalog sensitve operations.
public  voidsetPreferredSchema(String preferredSchema)
     Sets the preferred schema name to use when performing schema sensitve operations.
public  voidsetQueryTimeout(int queryTimeout)
     Sets the number of seconds to wait for a connection to be made.
public  voidsetResultsetKeys(boolean resultsetKeys)
     Sets the parameter to access generated keys from executed statements.
public  voidsetReverseFetching(boolean reverseFetching)
     Sets the flag to enable reverse-fetching when results are recieve from a statement.
public  voidsetTracingEnabled(boolean tracingEnabled)
     Configures JDBC tracing through the java.sql.DriverManager.
public synchronized  ClassLoadertoClassLoader()
     Create a ClassLoader using the implied classloader of this class.
public synchronized  PropertiestoProperties()
     Exports the settings of this profile as a properties object.

Field Detail
CONNECTION_KEEPALIVE
final public static String CONNECTION_KEEPALIVE(Code)
Boolean property to ensure that the connection is valid and reconnects automatically when queries are executed.



JDBC_ESCAPE_PROC
final public static String JDBC_ESCAPE_PROC(Code)
Boolean property to turn on/off escaping processing in the JDBC driver.


See Also:   java.sql.Statement.setEscapeProcessing(boolean)




JDBC_GENERATE_KEYS
final public static String JDBC_GENERATE_KEYS(Code)
Boolean property to tell database connection that you want genereated keys if available from ResultSets.


See Also:   java.sql.Statement.getGeneratedKeys




JDBC_HOLDABILITY
final public static String JDBC_HOLDABILITY(Code)
Integer property for configuring resultset holdability.
See Also:   java.sql.Connection.setHoldability(int)



JDBC_MAX_FIELD_SIZE
final public static String JDBC_MAX_FIELD_SIZE(Code)
Integer property to configure the maximum field size a Statement object should return.


See Also:   java.sql.Statement.setMaxFieldSize(int)




JDBC_MAX_ROWS
final public static String JDBC_MAX_ROWS(Code)
Integer property to configure the maximum number of rows a Statement object should return.


See Also:   java.sql.Statement.setMaxRows(int)




JDBC_REVERSE_FETCHING
final public static String JDBC_REVERSE_FETCHING(Code)
Boolean property for enabling reverse fetching of ResultSet data.


See Also:   java.sql.Statement.setFetchDirection(int)




JDBC_TRACE_ENABLED
final public static String JDBC_TRACE_ENABLED(Code)
Boolean property for enabling JDBC tracing through the java.sql.DriverManager mechanisim.


See Also:   java.sql.DriverManager.setLogWriter(java.io.PrintWriter)




LOGIN_TIMEOUT
final public static String LOGIN_TIMEOUT(Code)
Integer property for the number of seconds that should pass before a connection times-out when connecting.



MAX_EXCEPTION_CHAIN_LENGTH
final public static String MAX_EXCEPTION_CHAIN_LENGTH(Code)
Integer property to determine how deep to process chained SQLExceptions & SQLWarnings.



PREFERRED_CATALOG
final public static String PREFERRED_CATALOG(Code)
String property for declaring a specifc catalog to use for catalog sensitive operations.

This will also cause the connection to for a change to this catalog if is not a null value.




PREFERRED_SCHEMA
final public static String PREFERRED_SCHEMA(Code)
String property for declaring a specifc schema to use for schema sensitive operations.

By default on most RDBMS the default schema is the user-name for the connection.




PRINT_STACKTRACES
final public static String PRINT_STACKTRACES(Code)
Boolean property to debug JDBC activity by printing stack traces on exceptions.



QUERY_TIMEOUT
final public static String QUERY_TIMEOUT(Code)
Integer property for the number of seconds that should pass before a statement execution times-out.



STORE_CREDENTIALS
final public static String STORE_CREDENTIALS(Code)
Boolean property that indicates wheter the storage of the service credentials actually occurs.



USE_SECURE_CREDENTIALS
final public static String USE_SECURE_CREDENTIALS(Code)
Boolean property that indicates wheter the storage of the service credentials are un-encrypted.




Constructor Detail
ConnectionProfile
public ConnectionProfile()(Code)
Creates default connection profile with no default settings.




ConnectionProfile
public ConnectionProfile(ConnectionProfile defaults)(Code)
Creates a connection profile with default profile.

If a profile setting is not available in this instance an attempt to defaults profile will be made.
Parameters:
  defaults - parent profile for settings if not available in this profile; can be null.





Method Detail
addPropertyChangeListener
public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)
Add a PropertyChangeListener to the listener list.

The listener is registered for all profile setting changes.
Parameters:
  listener - The PropertyChangeListener to be added




addPropertyChangeListener
public synchronized void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)
Add a PropertyChangeListener for a specific property.

The listener will be invoked only when a call on firePropertyChange names that specific profile setting.
Parameters:
  propertyName - value should be one of the declared constants of this class.
Parameters:
  listener - The PropertyChangeListener to be added




addResource
public boolean addResource(File location)(Code)
Adds a resourceURL as part of creating a custom classloader for a connection.

This method will always return false if a null resourceURL is received. All duplicates are discarded and not added.
Parameters:
  location - resource containing runtime resources required for the connection implementation. true if the resourceURL was sucessfully added.




containsSettings
public boolean containsSettings()(Code)
Helper method for determining if this profile contains any settings.

true if all settings from this profile are coming from the defaults.




getLoginTimeout
public int getLoginTimeout()(Code)
Get the number of seconds allowed before timing out on creating a connection.

This settings defaults to 0 number of seconds to wait before giving up on creating a connection; 0 means wait forever.




getMaxExceptionLength
public long getMaxExceptionLength()(Code)
Get the maximum number of chained exceptions to show for SQLExceptions.

This settings defaults to 10 depth of chained exceptions to expose for SQLExceptions
See Also:   java.sql.SQLException.getNextException




getMaxFieldSize
public long getMaxFieldSize()(Code)
Get the connections' preferred maximum field size for a data recieved from statements.

This settings defaults to 0 maximum number of bytes allowed to be recieved from a single record; 0 means no limit.
See Also:   java.sql.Statement.getMaxFieldSize




getMaxRowCount
public long getMaxRowCount()(Code)
Gets the maximum number of rows to receive from a statement.

This settings defaults to 0 maximum number of rows to receive from a statement; 0 means no limit.
See Also:   java.sql.Statement.getMaxRows




getPreferredCatalog
public String getPreferredCatalog()(Code)
Gets the preferred schema to use for schema sensitive operations.

This settings defaults to null null if no schema is preferred; schema will be determined by connection.
See Also:   java.sql.Connection.getCatalog




getPreferredSchema
public String getPreferredSchema()(Code)
Gets the preferred schema to use for schema sensitive operations.

This settings defaults to null null if no schema is preferred; schema will be determined by connection.




getQueryTimeout
public int getQueryTimeout()(Code)
Get the number of seconds allowed before timing out on execution of statements.

This settings defaults to 0 number of seconds to wait before giving up statement to finish; 0 means wait forever.




isCredentialsPersistent
public boolean isCredentialsPersistent()(Code)
Gets the flag for determining is service passwords are persistent.

This settings defaults to false false if credentials for the service were not persisted.




isCredentialsSecure
public boolean isCredentialsSecure()(Code)
Gets the flag for determining is service passwords are encrypted.

This settings defaults to true true if credentials for the service are not in plain-text.




isDebuggingEnabled
public boolean isDebuggingEnabled()(Code)
Determines if stacktraces should be displayed when exceptions occur.

This settings defaults to false true stacktraces should be displayed when an exception occurs.




isEscapeProcessing
public boolean isEscapeProcessing()(Code)
Sets the preferred escape processing flag for configuring statements.

This settings defaults to false true if escape processing should be done by the driver on queries.
See Also:   java.sql.Statement.setEscapeProcessing(boolean)




isKeepAlive
public boolean isKeepAlive()(Code)
Determines if connections are automatically recovered when disconnected.

This settings defaults to false true if the connection is recovered when disconnected upon statement execution.




isResultsetKeys
public boolean isResultsetKeys()(Code)
Sets the parameter for accessing ResultSet keys for each statement.

This settings defaults to false true if generated keys from ResultSet objects are queried for.
See Also:   java.sql.Statement.getGeneratedKeys




isReverseFetching
public boolean isReverseFetching()(Code)
Gets the flag for enabling reverse-fetchings when executing statements.

This settings defaults to false true if statements should use reverse-fetching direction for results.
See Also:   java.sql.Statement.setFetchDirection(int)




isTracingEnabled
public boolean isTracingEnabled()(Code)
Determines if JDBC tracing through the java.sql.DriverManager is enabled.

This settings defaults to false trueif tracing through the java.sql.DriverManager is enabled.




removePropertyChangeListener
public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)
Remove a PropertyChangeListener from the listener list.

This removes a PropertyChangeListener that was registered for all profile settings.
Parameters:
  listener - The PropertyChangeListener to be removed




removePropertyChangeListener
public synchronized void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)
Remove a PropertyChangeListener for a specific profile setting.


Parameters:
  propertyName - value should be one of the declared constants of this class.
Parameters:
  listener - The PropertyChangeListener to be removed.




removeResource
public boolean removeResource(File location)(Code)
Removes given resourceURL from this profile.


Parameters:
  location - to needs to be removed from this profile. true if the URL was actually removed.




resourceElements
public Enumeration<File> resourceElements()(Code)
Returns a enumeration of the resource URLs defined in this class.

collection of all added resource urls prior.




setCredentialsPersistent
public void setCredentialsPersistent(boolean credentialsPersistent)(Code)
Sets whether the credentials for a service are persistent with the rest of the configuration.

For situations of paranoia or just general security practice of not storing passwords in files this is the setting to turn on/off this behavior.

This method will fire a property change event for ConnectionProfile.STORE_CREDENTIALS .
Parameters:
  credentialsPersistent - flag to enable/disable storage of service passwords.




setCredentialsSecure
public void setCredentialsSecure(boolean credentialsSecure)(Code)
Sets whether the credentials for a service are encrypted or plain-text.

This method will fire a property change event for ConnectionProfile.USE_SECURE_CREDENTIALS .
Parameters:
  credentialsSecure - flag to enable/disable the encryption of service passwords.




setDebuggingEnabled
public void setDebuggingEnabled(boolean debuggingEnabled)(Code)
Sets stacktraces on exceptions from JDBC operations to be displayed.

This method will fire a property change event for ConnectionProfile.PRINT_STACKTRACES .
Parameters:
  debuggingEnabled - flag to enable/disable the display of stacktraces from exceptions.




setEscapeProcessing
public void setEscapeProcessing(boolean escapeProcessing)(Code)
Sets the preferred escape processing flag when configuring statements.

This method will fire a property change event for ConnectionProfile.JDBC_ESCAPE_PROC .
Parameters:
  escapeProcessing - flag to enable/disable escape processing on the JDBC driver.
See Also:   java.sql.Statement.setEscapeProcessing(boolean)




setKeepAlive
public void setKeepAlive(boolean keepAlive)(Code)
Sets the preferred keep-alive parameter for the connection.

This method will fire a property change event for ConnectionProfile.CONNECTION_KEEPALIVE .
Parameters:
  keepAlive - flag to enable/disable automatically recovering a broken connection.




setLoginTimeout
public void setLoginTimeout(int loginTimeout)(Code)
Sets the number of seconds to wait for a connection to be made.

This method will fire a property change event for ConnectionProfile.LOGIN_TIMEOUT .
Parameters:
  loginTimeout - number of seconds to wait for a connection to be made; use 0 to wait forever.




setMaxExceptionLength
public void setMaxExceptionLength(int maxExceptionLength)(Code)
Sets the maximum number of chained exceptions to display for SQLExceptions.

This method will fire a property change event for ConnectionProfile.MAX_EXCEPTION_CHAIN_LENGTH .
Parameters:
  maxExceptionLength - depth of chained exceptions to expose.




setMaxFieldSize
public void setMaxFieldSize(long maxFieldSize)(Code)
Sets the preferred max field size for data recieved from statements.

This method will fire a property change event for ConnectionProfile.JDBC_MAX_FIELD_SIZE .
Parameters:
  maxFieldSize - maximum number of bytes to recieve from a single record;0 means no limit.
See Also:   java.sql.Statement.setMaxFieldSize(int)




setMaxRowCount
public void setMaxRowCount(long maxRowCount)(Code)
Sets the preferred maximum number of rows to recieve from a statement.

This method will fire a property change event for ConnectionProfile.JDBC_MAX_ROWS .
Parameters:
  maxRowCount - The maxRowCount to set.




setPreferredCatalog
public void setPreferredCatalog(String preferredCatalog)(Code)
Sets the preferred catalog name to use when performing catalog sensitve operations.

If this property is a non-null value, the connection will also attempt to switch to this catalog upon connection to the server.

This method will fire a property change event for ConnectionProfile.PREFERRED_CATALOG .
Parameters:
  preferredCatalog - preferred catalog name to use; null to use default or disable.
See Also:   java.sql.Connection.getCatalog




setPreferredSchema
public void setPreferredSchema(String preferredSchema)(Code)
Sets the preferred schema name to use when performing schema sensitve operations.

This method will fire a property change event for ConnectionProfile.PREFERRED_SCHEMA .
Parameters:
  preferredSchema - preferred schema name to use; null to use default or disable.




setQueryTimeout
public void setQueryTimeout(int queryTimeout)(Code)
Sets the number of seconds to wait for a connection to be made.

This method will fire a property change event for ConnectionProfile.QUERY_TIMEOUT .
Parameters:
  queryTimeout - number of seconds to wait for a statement to execute; use 0 to wait forever.




setResultsetKeys
public void setResultsetKeys(boolean resultsetKeys)(Code)
Sets the parameter to access generated keys from executed statements.

This method will fire a property change event for ConnectionProfile.JDBC_GENERATE_KEYS .
Parameters:
  resultsetKeys - flag to enable/disable generated key acquisition
See Also:   java.sql.Statement.getGeneratedKeys




setReverseFetching
public void setReverseFetching(boolean reverseFetching)(Code)
Sets the flag to enable reverse-fetching when results are recieve from a statement.

This method will fire a property change event for ConnectionProfile.JDBC_GENERATE_KEYS .
Parameters:
  reverseFetching - flag to configure fetch direction; true = reverse; false = forward.
See Also:   java.sql.Statement.setFetchDirection(int)




setTracingEnabled
public void setTracingEnabled(boolean tracingEnabled)(Code)
Configures JDBC tracing through the java.sql.DriverManager.

This method will fire a property change event for ConnectionProfile.JDBC_TRACE_ENABLED .
Parameters:
  tracingEnabled - flag to enable/disable JDBC tracing using the java.sql.DriverManager.




toClassLoader
public synchronized ClassLoader toClassLoader()(Code)
Create a ClassLoader using the implied classloader of this class.

The parent class-loader will either be the classloader of the parent profile when this instance was created, if no parent profile was referenced then the parent classloader will be the classloader for this class. new class loader instance based on resource URLS added to this profile.




toProperties
public synchronized Properties toProperties()(Code)
Exports the settings of this profile as a properties object.

Each property can be accessed respectively by the constants defined in this class. properties object containing all profile settings.




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.