Java Doc for Config.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.Config

Config
public class Config (Code)
Facade for Resin's configuration builder.



Constructor Summary
public  Config()
    
public  Config(ClassLoader loader)
    

Method Summary
public static  voidcheckCanInstantiate(Class beanClass)
     Returns true if the class can be instantiated.
public  Objectconfigure(Object obj, Path path)
     Configures a bean with a configuration file.
public  Objectconfigure(Object obj, InputStream is)
     Configures a bean with a configuration file.
public  Objectconfigure(Object obj, Path path, String schemaLocation)
     Configures a bean with a configuration file and schema.
public  Objectconfigure(Object obj, Path path, Schema schema)
     Configures a bean with a configuration file and schema.
public  Objectconfigure(Object obj, InputStream is, String schemaLocation)
     Configures a bean with a configuration file.
public  Objectconfigure(Object obj, InputStream is, Schema schema)
     Configures a bean with a configuration file.
public  Objectconfigure(Object obj, Node topNode)
     Configures a bean with a DOM.
public  voidconfigureBean(Object obj, Path path, String schemaLocation)
     Configures a bean with a configuration file and schema.
public  voidconfigureBean(Object obj, Path path)
     Configures a bean with a configuration file and schema.
public  voidconfigureBean(Object obj, Node topNode)
     Configures a bean with a DOM.
public  voidconfigureBean(Object obj, Path path, Schema schema)
     Configures a bean with a configuration file and schema.
public static  ConfigExceptionerror(Field field, String msg)
    
public static  ConfigExceptionerror(Method method, String msg)
    
public static  booleanevalBoolean(String str)
     Evaluates an EL boolean in the context.
public static  StringevalString(String str)
     Evaluates an EL string in the context.
public static  StringevalString(String str, HashMap<String, Object> varMap)
     Evaluates an EL string in the context.
public static  ObjectgetCurrentVar(String var)
     Sets an EL configuration variable.
public static  ConfigELContextgetELContext()
     Returns the variable resolver.
public static  ELContextgetEnvironment()
     Returns the variable resolver.
public static  ELContextgetEnvironment(HashMap<String, Object> varMap)
    
public static  voidinit(Object bean)
    
public static  voidinject(Object bean)
    
public  booleanisEL()
    
public  booleanisIgnoreEnvironment()
    
public static  Stringlocation(Field field)
    
public static  Stringlocation(Method method)
    
public static  ObjectreplaceObject(Object bean)
    
public static  voidsetAttribute(Object obj, String attr, Object value)
     Sets an attribute with a value.
public  voidsetEL(boolean isEL)
    
public  voidsetIgnoreEnvironment(boolean isIgnore)
    
public  voidsetResinInclude(boolean useResinInclude)
     Set true if resin:include should be allowed.
public static  voidsetStringAttribute(Object obj, String attr, String value)
     Sets an attribute with a value.
public static  voidvalidate(Class cl, Class api)
     Returns true if the class can be instantiated.


Constructor Detail
Config
public Config()(Code)



Config
public Config(ClassLoader loader)(Code)

Parameters:
  loader - the class loader environment to use.




Method Detail
checkCanInstantiate
public static void checkCanInstantiate(Class beanClass) throws ConfigException(Code)
Returns true if the class can be instantiated.



configure
public Object configure(Object obj, Path path) throws ConfigException(Code)
Configures a bean with a configuration file.



configure
public Object configure(Object obj, InputStream is) throws Exception(Code)
Configures a bean with a configuration file.



configure
public Object configure(Object obj, Path path, String schemaLocation) throws ConfigException(Code)
Configures a bean with a configuration file and schema.



configure
public Object configure(Object obj, Path path, Schema schema) throws ConfigException(Code)
Configures a bean with a configuration file and schema.



configure
public Object configure(Object obj, InputStream is, String schemaLocation) throws Exception(Code)
Configures a bean with a configuration file.



configure
public Object configure(Object obj, InputStream is, Schema schema) throws Exception(Code)
Configures a bean with a configuration file.



configure
public Object configure(Object obj, Node topNode) throws Exception(Code)
Configures a bean with a DOM.



configureBean
public void configureBean(Object obj, Path path, String schemaLocation) throws Exception(Code)
Configures a bean with a configuration file and schema.



configureBean
public void configureBean(Object obj, Path path) throws Exception(Code)
Configures a bean with a configuration file and schema.



configureBean
public void configureBean(Object obj, Node topNode) throws Exception(Code)
Configures a bean with a DOM. configureBean does not apply init() or replaceObject().



configureBean
public void configureBean(Object obj, Path path, Schema schema) throws Exception(Code)
Configures a bean with a configuration file and schema.



error
public static ConfigException error(Field field, String msg)(Code)



error
public static ConfigException error(Method method, String msg)(Code)



evalBoolean
public static boolean evalBoolean(String str) throws ELException(Code)
Evaluates an EL boolean in the context.



evalString
public static String evalString(String str) throws ELException(Code)
Evaluates an EL string in the context.



evalString
public static String evalString(String str, HashMap<String, Object> varMap) throws ELException(Code)
Evaluates an EL string in the context.



getCurrentVar
public static Object getCurrentVar(String var)(Code)
Sets an EL configuration variable.



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



getEnvironment
public static ELContext getEnvironment()(Code)
Returns the variable resolver.



getEnvironment
public static ELContext getEnvironment(HashMap<String, Object> varMap)(Code)



init
public static void init(Object bean) throws ConfigException(Code)



inject
public static void inject(Object bean) throws ConfigException(Code)



isEL
public boolean isEL()(Code)
True if EL expressions are allowed



isIgnoreEnvironment
public boolean isIgnoreEnvironment()(Code)
True if environment tags are ignored



location
public static String location(Field field)(Code)



location
public static String location(Method method)(Code)



replaceObject
public static Object replaceObject(Object bean) throws Exception(Code)



setAttribute
public static void setAttribute(Object obj, String attr, Object value) throws Exception(Code)
Sets an attribute with a value.
Parameters:
  obj - the bean to be set
Parameters:
  attr - the attribute name
Parameters:
  value - the attribute value



setEL
public void setEL(boolean isEL)(Code)
True if EL expressions are allowed



setIgnoreEnvironment
public void setIgnoreEnvironment(boolean isIgnore)(Code)
True if environment tags are ignored



setResinInclude
public void setResinInclude(boolean useResinInclude)(Code)
Set true if resin:include should be allowed.



setStringAttribute
public static void setStringAttribute(Object obj, String attr, String value) throws Exception(Code)
Sets an attribute with a value.
Parameters:
  obj - the bean to be set
Parameters:
  attr - the attribute name
Parameters:
  value - the attribute value



validate
public static void validate(Class cl, Class api) throws ConfigException(Code)
Returns true if the class can be instantiated.



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.