Java Doc for DynamicRuntime.java in  » Scripting » Pnuts » pnuts » compiler » 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 » Scripting » Pnuts » pnuts.compiler 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.lang.Runtime
      pnuts.compiler.DynamicRuntime

DynamicRuntime
public class DynamicRuntime extends Runtime (Code)

Inner Class :static class ProxyCache
Inner Class :abstract static class MethodFinder
Inner Class :static class Java2MethodFinder extends MethodFinder
Inner Class :static class NoMemberFoundException extends RuntimeException
Inner Class :static class BeanInfoParam
Inner Class :protected static class DynamicAccessor extends pnuts.lang.Runtime.Accessor

Field Summary
static  booleanhasCollection
    
static  MethodFindermethodFinder
    


Method Summary
protected  Object_callConstructor(Context context, Class c, Object args, Class types)
    
protected  Object_callConstructor(Context context, Class c, Object args, Class types, CodeLoader codeLoader)
    
protected  Object_callMethod(Context context, Class c, String name, Object args, Class types, Object target)
    
protected  Object_getField(Context context, Class c, String name, Object target)
    
 Object_getField(Context context, Class c, String name, Object target, CodeLoader codeLoader)
    
protected  void_putField(Context context, Class c, String name, Object target, Object value)
    
 void_putField(Context context, Class c, String name, Object target, Object value, CodeLoader codeLoader)
    
 ObjectcallMethod(Context context, Class c, String name, Object args, Class types, Object target, CodeLoader codeLoader)
    
static  voidcreateMethodMap(ObjectDesc d, Map readMethods, Map writeMethods)
    
static  DynamicProxycreateReflectionProxy(Class cls, String name, Class stopClass)
    
public  ObjectgetBeanProperty(Object target, String name)
     Gets a Bean property of the specified bean.
protected  ObjectgetBeanProperty(Object target, String name, Class stopClass)
     Gets a Bean property of the specified bean.
public  ClassgetBeanPropertyType(Class cls, String name)
    
static  ClassLoadergetClassLoader(Class clazz)
    
public static  PnutsFunctionmakeProxy(Constructor cons)
     This method maps a proxy object of a Constructor to a PnutsFunction.
public static  PnutsFunctionmakeProxy(Method method)
     This method maps a proxy object of a Method to a PnutsFunction.
public  voidsetBeanProperty(Object target, String name, Object value)
     Sets a Bean property of the specified bean.
protected  voidsetBeanProperty(Object target, String name, Object value, Class stopClass)
     Sets a Bean property of the specified bean.

Field Detail
hasCollection
static boolean hasCollection(Code)



methodFinder
static MethodFinder methodFinder(Code)





Method Detail
_callConstructor
protected Object _callConstructor(Context context, Class c, Object args, Class types)(Code)



_callConstructor
protected Object _callConstructor(Context context, Class c, Object args, Class types, CodeLoader codeLoader) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, InstantiationException(Code)



_callMethod
protected Object _callMethod(Context context, Class c, String name, Object args, Class types, Object target)(Code)
call a method



_getField
protected Object _getField(Context context, Class c, String name, Object target)(Code)



_getField
Object _getField(Context context, Class c, String name, Object target, CodeLoader codeLoader) throws NoSuchFieldException, InstantiationException, IOException, IllegalAccessException(Code)



_putField
protected void _putField(Context context, Class c, String name, Object target, Object value)(Code)



_putField
void _putField(Context context, Class c, String name, Object target, Object value, CodeLoader codeLoader) throws NoSuchFieldException, InstantiationException, IOException, IllegalAccessException(Code)



callMethod
Object callMethod(Context context, Class c, String name, Object args, Class types, Object target, CodeLoader codeLoader) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException(Code)



createMethodMap
static void createMethodMap(ObjectDesc d, Map readMethods, Map writeMethods)(Code)



createReflectionProxy
static DynamicProxy createReflectionProxy(Class cls, String name, Class stopClass)(Code)



getBeanProperty
public Object getBeanProperty(Object target, String name) throws IllegalAccessException(Code)
Gets a Bean property of the specified bean.
Parameters:
  target - the target bean
Parameters:
  name - the Bean property name



getBeanProperty
protected Object getBeanProperty(Object target, String name, Class stopClass) throws IllegalAccessException(Code)
Gets a Bean property of the specified bean.
Parameters:
  target - the target bean
Parameters:
  name - the Bean property name
Parameters:
  stopClass - the Introspector's "stopClass"



getBeanPropertyType
public Class getBeanPropertyType(Class cls, String name)(Code)
Gets the type of a bean property
Parameters:
  cls - the class of the bean
Parameters:
  name - the property name of the bean property the type of the property



getClassLoader
static ClassLoader getClassLoader(Class clazz)(Code)



makeProxy
public static PnutsFunction makeProxy(Constructor cons)(Code)
This method maps a proxy object of a Constructor to a PnutsFunction. Call of the resulting function is faster than reflection API calls.
Parameters:
  cons - a constructor an instance the constructor creates.



makeProxy
public static PnutsFunction makeProxy(Method method)(Code)
This method maps a proxy object of a Method to a PnutsFunction. Call of the resulting function is expected to be faster than reflection API calls.
Parameters:
  method - a method the result of the 'method' call.



setBeanProperty
public void setBeanProperty(Object target, String name, Object value) throws IllegalAccessException, InvocationTargetException(Code)
Sets a Bean property of the specified bean.
Parameters:
  target - the target bean
Parameters:
  name - the Bean property name
Parameters:
  value - the new property value



setBeanProperty
protected void setBeanProperty(Object target, String name, Object value, Class stopClass) throws IllegalAccessException, InvocationTargetException(Code)
Sets a Bean property of the specified bean.
Parameters:
  target - the target bean
Parameters:
  name - the Bean property name
Parameters:
  value - the new property value
Parameters:
  stopClass - the Introspector's "stopClass"



Methods inherited from java.lang.Runtime
public void addShutdownHook(Thread hook)(Code)(Java Doc)
native public int availableProcessors()(Code)(Java Doc)
public Process exec(String command) throws IOException(Code)(Java Doc)
public Process exec(String command, String[] envp) throws IOException(Code)(Java Doc)
public Process exec(String command, String[] envp, File dir) throws IOException(Code)(Java Doc)
public Process exec(String cmdarray) throws IOException(Code)(Java Doc)
public Process exec(String[] cmdarray, String[] envp) throws IOException(Code)(Java Doc)
public Process exec(String[] cmdarray, String[] envp, File dir) throws IOException(Code)(Java Doc)
public void exit(int status)(Code)(Java Doc)
native public long freeMemory()(Code)(Java Doc)
native public void gc()(Code)(Java Doc)
public InputStream getLocalizedInputStream(InputStream in)(Code)(Java Doc)
public OutputStream getLocalizedOutputStream(OutputStream out)(Code)(Java Doc)
public static Runtime getRuntime()(Code)(Java Doc)
public void halt(int status)(Code)(Java Doc)
public void load(String filename)(Code)(Java Doc)
public void loadLibrary(String libname)(Code)(Java Doc)
native public long maxMemory()(Code)(Java Doc)
public boolean removeShutdownHook(Thread hook)(Code)(Java Doc)
public void runFinalization()(Code)(Java Doc)
public static void runFinalizersOnExit(boolean value)(Code)(Java Doc)
native public long totalMemory()(Code)(Java Doc)
native public void traceInstructions(boolean on)(Code)(Java Doc)
native public void traceMethodCalls(boolean on)(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.