Java Doc for BaseClassLoaderTag.java in  » Library » Apache-commons-jelly-1.0-src » org » apache » commons » jelly » tags » core » 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 » Library » Apache commons jelly 1.0 src » org.apache.commons.jelly.tags.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.commons.jelly.TagSupport
      org.apache.commons.jelly.tags.core.BaseClassLoaderTag

All known Subclasses:   org.apache.commons.jelly.tags.core.NewTag,  org.apache.commons.jelly.tags.core.ArgTag,
BaseClassLoaderTag
abstract public class BaseClassLoaderTag extends TagSupport (Code)
Abstract base tag providing ClassLoader support.
author:
   James Strachan
author:
   Rodney Waldhoff
version:
   $Revision: 155420 $


Field Summary
protected  ClassLoaderclassLoader
     The class loader to use for instantiating application objects.
protected  booleanuseContextClassLoader
     Do we want to use the Context ClassLoader when loading classes for instantiating new objects? Default is false.


Method Summary
public  ClassLoadergetClassLoader()
     Return the class loader to be used for instantiating application objects when required.
public  booleangetUseContextClassLoader()
     Return the boolean as to whether the context classloader should be used.
public  voidsetClassLoader(ClassLoader classLoader)
     Set the class loader to be used for instantiating application objects when required.
public  voidsetUseContextClassLoader(boolean use)
     Determine whether to use the Context ClassLoader (the one found by calling Thread.currentThread().getContextClassLoader()) to resolve/load classes.

Field Detail
classLoader
protected ClassLoader classLoader(Code)
The class loader to use for instantiating application objects. If not specified, the context class loader, or the class loader used to load XMLParser itself, is used, based on the value of the useContextClassLoader variable.



useContextClassLoader
protected boolean useContextClassLoader(Code)
Do we want to use the Context ClassLoader when loading classes for instantiating new objects? Default is false.





Method Detail
getClassLoader
public ClassLoader getClassLoader()(Code)
Return the class loader to be used for instantiating application objects when required. This is determined based upon the following rules:
  • The class loader set by setClassLoader(), if any
  • The thread context class loader, if it exists and the useContextClassLoader property is set to true
  • The class loader used to load the XMLParser class itself.



getUseContextClassLoader
public boolean getUseContextClassLoader()(Code)
Return the boolean as to whether the context classloader should be used.



setClassLoader
public void setClassLoader(ClassLoader classLoader)(Code)
Set the class loader to be used for instantiating application objects when required.
Parameters:
  classLoader - The new class loader to use, or nullto revert to the standard rules



setUseContextClassLoader
public void setUseContextClassLoader(boolean use)(Code)
Determine whether to use the Context ClassLoader (the one found by calling Thread.currentThread().getContextClassLoader()) to resolve/load classes. If not using Context ClassLoader, then the class-loading defaults to using the calling-class' ClassLoader. boolean determines whether to use JellyContext ClassLoader.



Fields inherited from org.apache.commons.jelly.TagSupport
protected Script body(Code)(Java Doc)
protected JellyContext context(Code)(Java Doc)
protected boolean hasTrimmed(Code)(Java Doc)
protected Tag parent(Code)(Java Doc)
protected Boolean shouldTrim(Code)(Java Doc)

Methods inherited from org.apache.commons.jelly.TagSupport
public static Tag findAncestorWithClass(Tag from, Class tagClass)(Code)(Java Doc)
public static Tag findAncestorWithClass(Tag from, Collection tagClasses)(Code)(Java Doc)
public static Tag findAncestorWithClass(Tag from, Class[] tagClasses)(Code)(Java Doc)
protected Tag findAncestorWithClass(Class parentClass)(Code)(Java Doc)
protected Tag findAncestorWithClass(Class[] parentClasses)(Code)(Java Doc)
protected Tag findAncestorWithClass(Collection parentClasses)(Code)(Java Doc)
public Script getBody()(Code)(Java Doc)
protected String getBodyText() throws JellyTagException(Code)(Java Doc)
protected String getBodyText(boolean shouldEscape) throws JellyTagException(Code)(Java Doc)
public JellyContext getContext()(Code)(Java Doc)
public Tag getParent()(Code)(Java Doc)
public void invokeBody(XMLOutput output) throws JellyTagException(Code)(Java Doc)
public boolean isEscapeText()(Code)(Java Doc)
public boolean isTrim()(Code)(Java Doc)
public void setBody(Script body)(Code)(Java Doc)
public void setContext(JellyContext context) throws JellyTagException(Code)(Java Doc)
public void setEscapeText(boolean escapeText)(Code)(Java Doc)
public void setParent(Tag parent)(Code)(Java Doc)
public void setTrim(boolean shouldTrim)(Code)(Java Doc)
protected void trimBody()(Code)(Java Doc)

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.