Java Doc for ConfigContext.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » 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 » EJB Server resin 3.1.5 » resin » com.caucho.config 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.config.ConfigContext

ConfigContext
public class ConfigContext (Code)
The ConfigContext contains the state of the current configuration.

Inner Class :static class ValidatorEntry


Constructor Summary
public  ConfigContext()
    
public  ConfigContext(ComponentImpl component, Object value, ScopeContext scope)
    
public  ConfigContext(ScopeContext scope)
    
 ConfigContext(Config config)
    

Method Summary
public  voidaddDestructor(ComponentImpl comp, Object value)
    
 voidaddValidator(Validator validator)
    
public  booleancanInject(ScopeContext scope)
    
public  Objectconfigure(Object bean, Node top)
     External call to configure a bean based on a top-level node.
public  voidconfigureAttribute(Object bean, Node attribute)
     External call to configure a bean's attribute.
public  voidconfigureBean(Object bean, Node top)
     External call to configure a bean based on a top-level node, calling init() and replaceObject() when done.
 ObjectconfigureCreate(Class type, Node node)
     Configures a new object given the object's type.
 ObjectconfigureValue(Node node)
    
public static  ConfigContextcreate()
    
public static  ConfigContextcreateForProgram()
    
 ConfigTypecreateResinType(Attribute attrStrategy, Element node)
     Create a custom resin:type value.
public static  RuntimeExceptionerror(String msg, Node node)
    
public static  RuntimeExceptionerror(Throwable e, Node node)
    
public  ObjectevalObject(String exprString)
    
public  Objectget(ComponentImpl comp)
    
public  StringgetBaseUri()
    
public  ConfiggetConfig()
    
public static  ConfigContextgetCurrent()
    
public static  ConfigContextgetCurrentBuilder()
    
public  ArrayList<Dependency>getDependencyList()
    
 ArrayList<Dependency>getDependencyList(Node node)
    
public  DependentScopegetDependentScope()
    
public  ConfigELContextgetELContext()
     Returns the variable resolver.
 ObjectgetELValue(Attribute attr, Node node)
     Returns the text value of the node.
 ObjectgetElementValue(Attribute attr, Node node)
     Returns the text value of the node.
 StringgetTextValue(Node node)
     Returns the text value of the node.
static  StringgetValue(QName name, Node node, String defaultValue)
    
static  booleanhasChildren(Node node)
    
public  booleanisIgnoreEnvironment()
    
public  voidput(ComponentImpl comp, Object obj)
    
static  voidsetCurrentBuilder(ConfigContext builder)
    
public  voidsetDependentScope(DependentScope scope)
    
static  StringtextValue(Node node)
     Returns the text value of the node.
static  StringtextValueNoTrim(Node node)
     Returns the text value of the node.
public  StringtoString()
    


Constructor Detail
ConfigContext
public ConfigContext()(Code)



ConfigContext
public ConfigContext(ComponentImpl component, Object value, ScopeContext scope)(Code)



ConfigContext
public ConfigContext(ScopeContext scope)(Code)



ConfigContext
ConfigContext(Config config)(Code)




Method Detail
addDestructor
public void addDestructor(ComponentImpl comp, Object value)(Code)
WebBeans method
Parameters:
  aThis -
Parameters:
  value -



addValidator
void addValidator(Validator validator)(Code)



canInject
public boolean canInject(ScopeContext scope)(Code)



configure
public Object configure(Object bean, Node top) throws LineConfigException(Code)
External call to configure a bean based on a top-level node. The init() and replaceObject() are not called.
Parameters:
  bean - the object to be configured.



configureAttribute
public void configureAttribute(Object bean, Node attribute) throws LineConfigException(Code)
External call to configure a bean's attribute.
Parameters:
  bean - the bean to be configured
Parameters:
  attribute - the node representing the configured attribute
throws:
  LineConfigException -



configureBean
public void configureBean(Object bean, Node top) throws LineConfigException(Code)
External call to configure a bean based on a top-level node, calling init() and replaceObject() when done.
Parameters:
  bean - the bean to be configured
Parameters:
  top - the top-level XML configuration node the configured object, or the factory generated object



configureCreate
Object configureCreate(Class type, Node node) throws Exception(Code)
Configures a new object given the object's type.
Parameters:
  type - the expected type of the object
Parameters:
  node - the configuration node the configured object
throws:
  Exception -



configureValue
Object configureValue(Node node)(Code)



create
public static ConfigContext create()(Code)



createForProgram
public static ConfigContext createForProgram()(Code)



createResinType
ConfigType createResinType(Attribute attrStrategy, Element node) throws Exception(Code)
Create a custom resin:type value.



error
public static RuntimeException error(String msg, Node node)(Code)



error
public static RuntimeException error(Throwable e, Node node)(Code)



evalObject
public Object evalObject(String exprString) throws ELException(Code)
Evaluate as an object



get
public Object get(ComponentImpl comp)(Code)
Returns the component value for the dependent scope
Parameters:
  aThis -



getBaseUri
public String getBaseUri()(Code)
Returns the file var



getConfig
public Config getConfig()(Code)



getCurrent
public static ConfigContext getCurrent()(Code)



getCurrentBuilder
public static ConfigContext getCurrentBuilder()(Code)



getDependencyList
public ArrayList<Dependency> getDependencyList()(Code)



getDependencyList
ArrayList<Dependency> getDependencyList(Node node)(Code)



getDependentScope
public DependentScope getDependentScope()(Code)



getELContext
public ConfigELContext getELContext()(Code)
Returns the variable resolver.



getELValue
Object getELValue(Attribute attr, Node node)(Code)
Returns the text value of the node.



getElementValue
Object getElementValue(Attribute attr, Node node)(Code)
Returns the text value of the node.



getTextValue
String getTextValue(Node node)(Code)
Returns the text value of the node.



getValue
static String getValue(QName name, Node node, String defaultValue)(Code)



hasChildren
static boolean hasChildren(Node node)(Code)



isIgnoreEnvironment
public boolean isIgnoreEnvironment()(Code)



put
public void put(ComponentImpl comp, Object obj)(Code)
WebBeans dependent scope setting
Parameters:
  aThis -
Parameters:
  obj -



setCurrentBuilder
static void setCurrentBuilder(ConfigContext builder)(Code)



setDependentScope
public void setDependentScope(DependentScope scope)(Code)



textValue
static String textValue(Node node)(Code)
Returns the text value of the node.



textValueNoTrim
static String textValueNoTrim(Node node)(Code)
Returns the text value of the node.



toString
public String toString()(Code)



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.