Java Doc for JVM.java in  » 6.0-JDK-Modules » j2me » com » sun » cldchi » jvm » 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 » 6.0 JDK Modules » j2me » com.sun.cldchi.jvm 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.cldchi.jvm.JVM

JVM
public class JVM (Code)


Field Summary
final public static  intREMOVE_CLASSES_FROM_JAR
     If this flag is defined and the romization is successful, class files are removed from the JAR file(s) after the romization process.
final public static  intSTATUS_CANCELLED
     Returned by getAppImageProgress() to indicate that the last image creation process has was cancelled before it was completed.
final public static  intSTATUS_FAILED
     Returned by getAppImageProgress() to indicate that the last image creation process has failed before it was completed.
final public static  intSTATUS_START
     Any value returned by getAppImageProgress() that.s greater or equal to STATUS_START, but lower than STATUS_SUCCEEDED, means that the image creation is still taking place.
final public static  intSTATUS_SUCCEEDED
     Returned by getAppImageProgress() to indicate that the last image creation process has succeeded.
final public static  intSTATUS_VERIFY_FAILED
     Returned by verifyJar() to indicate JAR classes verification failed by some reason.
final public static  intSTATUS_VERIFY_NOTHING
     Returned by verifyJar() to indicate no classes verification has ever been started since VM didn't find any classes in JAR.
final public static  intSTATUS_VERIFY_SUCCEEDED
     Returned by verifyJar() to indicate all JAR classes were successfully verified.
final public static  intSTATUS_VIRGIN
     Returned by getAppImageProgress() to indicate that no image creation process has ever been started since the VM was bootstraped.


Method Summary
native public static  voidcancelImageCreation()
     If an image creation process is underway, cancel it.
public static  voidcreateAppImage(String jarFile, String binFile, int flags)
    
native public static  intgetAppImageProgress()
    
native public static  voidloadLibrary(String libName)
     This method is used to load binary library into the VM.
public static  voidunchecked_byte_arraycopy(byte[] src, int srcOffset, byte[] dst, int dstOffset, int length)
     Copy an array from the specified source array, beginning at the specified position, to the specified position of the destination array.
public static  voidunchecked_char_arraycopy(char[] src, int srcOffset, char[] dst, int dstOffset, int length)
    
public static  voidunchecked_int_arraycopy(int[] src, int srcOffset, int[] dst, int dstOffset, int length)
    
public static  voidunchecked_long_arraycopy(long[] src, int srcOffset, long[] dst, int dstOffset, int length)
    
public static  voidunchecked_obj_arraycopy(Object[] src, int srcOffset, Object[] dst, int dstOffset, int length)
    
public static  intverifyJar(String jar, int chunkSize)
     Verifies all classes of the given JAR package within the current VM instance.

Field Detail
REMOVE_CLASSES_FROM_JAR
final public static int REMOVE_CLASSES_FROM_JAR(Code)
If this flag is defined and the romization is successful, class files are removed from the JAR file(s) after the romization process. This parameter is ignored for source romization.



STATUS_CANCELLED
final public static int STATUS_CANCELLED(Code)
Returned by getAppImageProgress() to indicate that the last image creation process has was cancelled before it was completed.



STATUS_FAILED
final public static int STATUS_FAILED(Code)
Returned by getAppImageProgress() to indicate that the last image creation process has failed before it was completed.



STATUS_START
final public static int STATUS_START(Code)
Any value returned by getAppImageProgress() that.s greater or equal to STATUS_START, but lower than STATUS_SUCCEEDED, means that the image creation is still taking place.



STATUS_SUCCEEDED
final public static int STATUS_SUCCEEDED(Code)
Returned by getAppImageProgress() to indicate that the last image creation process has succeeded.



STATUS_VERIFY_FAILED
final public static int STATUS_VERIFY_FAILED(Code)
Returned by verifyJar() to indicate JAR classes verification failed by some reason.



STATUS_VERIFY_NOTHING
final public static int STATUS_VERIFY_NOTHING(Code)
Returned by verifyJar() to indicate no classes verification has ever been started since VM didn't find any classes in JAR.



STATUS_VERIFY_SUCCEEDED
final public static int STATUS_VERIFY_SUCCEEDED(Code)
Returned by verifyJar() to indicate all JAR classes were successfully verified.



STATUS_VIRGIN
final public static int STATUS_VIRGIN(Code)
Returned by getAppImageProgress() to indicate that no image creation process has ever been started since the VM was bootstraped.





Method Detail
cancelImageCreation
native public static void cancelImageCreation()(Code)
If an image creation process is underway, cancel it. This will force createAppImage() to delete all temporary files, as well as the output image file, and return immediately. A future call to getAppImageProgress() will return STATUS_CANCELLED. If an image creation process is not underway, this method has no effect.



createAppImage
public static void createAppImage(String jarFile, String binFile, int flags) throws Error(Code)



getAppImageProgress
native public static int getAppImageProgress()(Code)



loadLibrary
native public static void loadLibrary(String libName) throws Error(Code)
This method is used to load binary library into the VM. It allows to call native function implementations from this library.
Parameters:
  libName - name of the library WITHOUT EXTENSION. It was made to make java code platform-independent.
exception:
  Error - if the VM fails to load the library with this name.



unchecked_byte_arraycopy
public static void unchecked_byte_arraycopy(byte[] src, int srcOffset, byte[] dst, int dstOffset, int length)(Code)
Copy an array from the specified source array, beginning at the specified position, to the specified position of the destination array.

Impose the following restrictions on the input arguments:

  • dst is not null.
  • src is not null.
  • The srcOffset argument is not negative.
  • The dstOffset argument is not negative.
  • The length argument is not negative.
  • srcOffset+length is not greater than src.length, the length of the source array.
  • dstOffset+length is not greater than dst.length, the length of the destination array.
  • any actual component of the source array from position srcOffset through srcOffset+length-1 can be converted to the component type of the destination array

The caller is responsible that these restrictions are not violated. If any of the restrictions above is violated, the behavior is undefined.
Parameters:
  src - the source array.
Parameters:
  srcOffset - start position in the source array.
Parameters:
  dst - the destination array.
Parameters:
  dstOffset - start position in the destination data.
Parameters:
  length - the number of array elements to be copied.




unchecked_char_arraycopy
public static void unchecked_char_arraycopy(char[] src, int srcOffset, char[] dst, int dstOffset, int length)(Code)



unchecked_int_arraycopy
public static void unchecked_int_arraycopy(int[] src, int srcOffset, int[] dst, int dstOffset, int length)(Code)



unchecked_long_arraycopy
public static void unchecked_long_arraycopy(long[] src, int srcOffset, long[] dst, int dstOffset, int length)(Code)



unchecked_obj_arraycopy
public static void unchecked_obj_arraycopy(Object[] src, int srcOffset, Object[] dst, int dstOffset, int length)(Code)



verifyJar
public static int verifyJar(String jar, int chunkSize)(Code)
Verifies all classes of the given JAR package within the current VM instance. The JAR path should be included into classpath(s) of the VM.
Parameters:
  jar - specifies the JAR file to be verified.
Parameters:
  chunkSize - amount of bytecode to be verified with a singlenative call, however not less than one class will beverified with a single call. status of the JAR classes verification, it can be one of thefollowing values STATUS_VERIFY_NOTHING, STATUS_VERIFY_SUCCEEDED orSTATUS_VERIFY_FAILED



Methods inherited from java.lang.Object
public boolean equals(Object obj)(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.