Java Doc for Configuration.java in  » ESB » celtix-1.0 » org » objectweb » celtix » configuration » 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 » celtix 1.0 » org.objectweb.celtix.configuration 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.celtix.configuration.Configuration

All known Subclasses:   org.objectweb.celtix.configuration.impl.AbstractConfigurationImpl,
Configuration
public interface Configuration (Code)




Method Summary
 booleangetBoolean(String name)
     Convenience method to extract the value of a boolean type configuration item from its holder object.
Parameters:
  name - the name of the configuration item.
 ConfigurationgetChild(String namespaceURI, Object id)
     Returns the child configuration of the type specified in the namespaceURI and with the specified identifier if there is one, otherwise null.
Parameters:
  id - the identifier of the child configuration.
 doublegetDouble(String name)
     Convenience method to extract the value of a double type configuration item from its holder object.
Parameters:
  name - the name of the configuration item.
 floatgetFloat(String name)
     Convenience method to extract the value of a float type configuration item from its holder object.
Parameters:
  name - the name of the configuration item.
 ObjectgetId()
     Returns the identifier for this configuration instance (unique within all instances configuration instances for the same metadata model).
 intgetInt(String name)
     Convenience method to extract the value of an int type configuration item from its holder object.
Parameters:
  name - the name of the configuration item.
 longgetLong(String name)
     Convenience method to extract the value of a long type configuration item from its holder object.
Parameters:
  name - the name of the configuration item.
 ConfigurationMetadatagetModel()
     Returns the configuration metadata model for this Configuration.
 ObjectgetObject(String name)
     Returns the object holding the value for the configuration item with the specified name.
 TgetObject(Class<T> cls, String name)
     Returns the object holding the value for the configuration item with the specified name.
 ConfigurationgetParent()
     Returns the parent configuration of this configuration, or null if there is no parent.
 List<ConfigurationProvider>getProviders()
     Returns the list of configuration providers for this configuration.
 shortgetShort(String name)
     Convenience method to extract the value of a short type configuration item from its holder object.
Parameters:
  name - the name of the configuration item.
 StringgetString(String name)
     Convenience method to extract the value of a string type configuration item from its holder object.
Parameters:
  name - the name of the configuration item.
 List<String>getStringList(String name)
     Convenience method to extract the value of a string list type configuration item from its holder object.
Parameters:
  name - the name of the configuration item.
 booleansave()
    
 booleansetBoolean(String name, boolean value)
     Convenience method to set the value of a boolean type configuration item to its holder object.
Parameters:
  name - the name of the configuration item.
Parameters:
  value - the value of the configuration item.
 booleansetDouble(String name, double value)
     Convenience method to set the value of a double type configuration item to its holder object.
Parameters:
  name - the name of the configuration item.
Parameters:
  value - the value of the configuration item.
 booleansetFloat(String name, float value)
     Convenience method to set the value of a float type configuration item to its holder object.
Parameters:
  name - the name of the configuration item.
Parameters:
  value - the value of the configuration item.
 booleansetInt(String name, int value)
     Convenience method to set the value of a int type configuration item to its holder object.
Parameters:
  name - the name of the configuration item.
Parameters:
  value - the value of the configuration item.
 booleansetLong(String name, long value)
     Convenience method to set the value of a long type configuration item to its holder object.
Parameters:
  name - the name of the configuration item.
Parameters:
  value - the value of the configuration item.
 booleansetObject(String name, Object value)
     Changes the value of the configuration item identified by the name to the given value.
throws:
  ConfigurationException - if no such item is defined in this configuration's metadata model, or if the value is illegal.
 voidsetProviders(List<ConfigurationProvider> providers)
     Sets the list of configuration providers for this configuration - these will be consulted in orde when looking up the value for a particular configuration item.
 booleansetShort(String name, short value)
     Convenience method to set the value of a short type configuration item to its holder object.
Parameters:
  name - the name of the configuration item.
Parameters:
  value - the value of the configuration item.
 booleansetString(String name, String value)
     Convenience method to set the value of a String type configuration item to its holder object.
Parameters:
  name - the name of the configuration item.
Parameters:
  value - the value of the configuration item.



Method Detail
getBoolean
boolean getBoolean(String name)(Code)
Convenience method to extract the value of a boolean type configuration item from its holder object.
Parameters:
  name - the name of the configuration item. the value of the configuration item.



getChild
Configuration getChild(String namespaceURI, Object id)(Code)
Returns the child configuration of the type specified in the namespaceURI and with the specified identifier if there is one, otherwise null.
Parameters:
  id - the identifier of the child configuration. the configuration metadata model.



getDouble
double getDouble(String name)(Code)
Convenience method to extract the value of a double type configuration item from its holder object.
Parameters:
  name - the name of the configuration item. the value of the configuration item.



getFloat
float getFloat(String name)(Code)
Convenience method to extract the value of a float type configuration item from its holder object.
Parameters:
  name - the name of the configuration item. the value of the configuration item.



getId
Object getId()(Code)
Returns the identifier for this configuration instance (unique within all instances configuration instances for the same metadata model). the name for this configuration.



getInt
int getInt(String name)(Code)
Convenience method to extract the value of an int type configuration item from its holder object.
Parameters:
  name - the name of the configuration item. the value of the configuration item.



getLong
long getLong(String name)(Code)
Convenience method to extract the value of a long type configuration item from its holder object.
Parameters:
  name - the name of the configuration item. the value of the configuration item.



getModel
ConfigurationMetadata getModel()(Code)
Returns the configuration metadata model for this Configuration. the configuration metadata model.



getObject
Object getObject(String name)(Code)
Returns the object holding the value for the configuration item with the specified name. The runtime class of this object is determined by the jaxb mapping of the configuration item's type, e.g. for a boolean item it is an instance of java.lang.Boolean.
throws:
  ConfigurationException - if no such item is defined in this configuration's metadata model, or if no value for this item can be found in either this configurationor any of its parent configuration's and if no default value is specified for theitem in the metadata model.
Parameters:
  name - the name of the configuration item. the object holding the configuration item's value.



getObject
T getObject(Class<T> cls, String name)(Code)
Returns the object holding the value for the configuration item with the specified name. The runtime class of this object is determined by the jaxb mapping of the configuration item's type, e.g. for a boolean item it is an instance of java.lang.Boolean.
throws:
  ConfigurationException - if no such item is defined in this configuration's metadata model, or if no value for this item can be found in either this configurationor any of its parent configuration's and if no default value is specified for theitem in the metadata model.
Parameters:
  name - the name of the configuration item.
Parameters:
  cls - the class of the configuration item. the object holding the configuration item's value.



getParent
Configuration getParent()(Code)
Returns the parent configuration of this configuration, or null if there is no parent. the parent configuration.



getProviders
List<ConfigurationProvider> getProviders()(Code)
Returns the list of configuration providers for this configuration. the list of configuration providers for this configuration.



getShort
short getShort(String name)(Code)
Convenience method to extract the value of a short type configuration item from its holder object.
Parameters:
  name - the name of the configuration item. the value of the configuration item.



getString
String getString(String name)(Code)
Convenience method to extract the value of a string type configuration item from its holder object.
Parameters:
  name - the name of the configuration item. the value of the configuration item.



getStringList
List<String> getStringList(String name)(Code)
Convenience method to extract the value of a string list type configuration item from its holder object.
Parameters:
  name - the name of the configuration item. the value of the configuration item.



save
boolean save()(Code)
Save the changes true if the save was successful.



setBoolean
boolean setBoolean(String name, boolean value)(Code)
Convenience method to set the value of a boolean type configuration item to its holder object.
Parameters:
  name - the name of the configuration item.
Parameters:
  value - the value of the configuration item. true if the change was accepted.



setDouble
boolean setDouble(String name, double value)(Code)
Convenience method to set the value of a double type configuration item to its holder object.
Parameters:
  name - the name of the configuration item.
Parameters:
  value - the value of the configuration item. true if the change was accepted.



setFloat
boolean setFloat(String name, float value)(Code)
Convenience method to set the value of a float type configuration item to its holder object.
Parameters:
  name - the name of the configuration item.
Parameters:
  value - the value of the configuration item. true if the change was accepted.



setInt
boolean setInt(String name, int value)(Code)
Convenience method to set the value of a int type configuration item to its holder object.
Parameters:
  name - the name of the configuration item.
Parameters:
  value - the value of the configuration item. true if the change was accepted.



setLong
boolean setLong(String name, long value)(Code)
Convenience method to set the value of a long type configuration item to its holder object.
Parameters:
  name - the name of the configuration item.
Parameters:
  value - the value of the configuration item. true if the change was accepted.



setObject
boolean setObject(String name, Object value)(Code)
Changes the value of the configuration item identified by the name to the given value.
throws:
  ConfigurationException - if no such item is defined in this configuration's metadata model, or if the value is illegal. Returns true if the change was accepted.
Parameters:
  name - the name of the configuration item.
Parameters:
  value - the new value for the configuration item. true if the change was accepted.



setProviders
void setProviders(List<ConfigurationProvider> providers)(Code)
Sets the list of configuration providers for this configuration - these will be consulted in orde when looking up the value for a particular configuration item.
Parameters:
  providers - the configuration providers to use for this configuration.



setShort
boolean setShort(String name, short value)(Code)
Convenience method to set the value of a short type configuration item to its holder object.
Parameters:
  name - the name of the configuration item.
Parameters:
  value - the value of the configuration item. true if the change was accepted.



setString
boolean setString(String name, String value)(Code)
Convenience method to set the value of a String type configuration item to its holder object.
Parameters:
  name - the name of the configuration item.
Parameters:
  value - the value of the configuration item. true if the change was accepted.



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