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


java.lang.Object
   com.sun.jump.module.contentstore.JUMPContentStore
      com.sun.jumpimpl.module.installer.XLETInstallerImpl

All known Subclasses:   com.sun.jumpimpl.module.installer.MAINInstallerImpl,
XLETInstallerImpl
public class XLETInstallerImpl extends JUMPContentStore implements JUMPInstallerModule(Code)
XLETInstallerImpl contains the implementation of the JUMPInstallerModule for XLET applications within JUMP. Note: XLET and Main installations within JUMP in CDC behave almost the same. For this reason, MAINInstallerImpl simply subclasses XLETInstallerImpl and overrides a small set of methods to define specific Main application behavior. In the future, if the behavior of XLET and Main application installation start to differ much more, it may be wise to extract a base class out of this class and create a subclass each for XLETs and Main applications.


Field Summary
final protected static  StringDESCRIPTOR_INITIALCLASS_KEY
    
protected  StringcontentStoreDir
    


Method Summary
protected  JUMPApplicationcreateJUMPApplicationObject(String bundle, String clazz, URL classPathURL, String title, URL iconPathURL, int id)
    
protected  StringgetAppClasspath(JUMPApplication app)
    
protected  JUMPApplication[]getAppsInBundle(String bundle)
    
protected  StringgetBundleName(JUMPApplication app)
    
public  JUMPContent[]getInstalled()
    
protected  JUMPAppModelgetInstallerAppModel()
    
protected  StringgetInstallerInitialClassKey()
    
protected  StringgetPropertyInstallerInitialClassKey()
    
protected  JUMPStoregetStore()
     Returns an instance of the content store to be used with the installer.
public  JUMPContent[]install(URL location, JUMPDownloadDescriptor desc)
     install content specified by the given descriptor and location.
public  voidload(Map map)
    
public  voiduninstall(JUMPContent content)
     Uninstall content.
public  voidunload()
    
public  voidupdate(JUMPContent content, URL location, JUMPDownloadDescriptor desc)
     Update content from given location.

Field Detail
DESCRIPTOR_INITIALCLASS_KEY
final protected static String DESCRIPTOR_INITIALCLASS_KEY(Code)



contentStoreDir
protected String contentStoreDir(Code)
The root directory of the content store





Method Detail
createJUMPApplicationObject
protected JUMPApplication createJUMPApplicationObject(String bundle, String clazz, URL classPathURL, String title, URL iconPathURL, int id)(Code)
Create an instance of JUMPApplication
Parameters:
  bundle - Name of application bundle that this application belongs to
Parameters:
  clazz - Initial class of application
Parameters:
  classPathURL - URL of the classpath of this application
Parameters:
  title - The user visible title of this application
Parameters:
  iconPathURL - URL to the path of the icon for this application application object



getAppClasspath
protected String getAppClasspath(JUMPApplication app)(Code)
Obtain the classpath value of the application object
Parameters:
  app - application object classpath value of the application object



getAppsInBundle
protected JUMPApplication[] getAppsInBundle(String bundle)(Code)
Given the bundle name, return the application objects within the bundle
Parameters:
  bundle - name of content bundle the application objects belonging to the bundle



getBundleName
protected String getBundleName(JUMPApplication app)(Code)
Given the application object, return the name of the bundle the application belongs to
Parameters:
  app - application object the names of the bundle this application belongs to



getInstalled
public JUMPContent[] getInstalled()(Code)
Get all installed content of type XLET Array of JUMPApplication objects that are XLETs



getInstallerAppModel
protected JUMPAppModel getInstallerAppModel()(Code)
Return the application type that this installer module can install the application type



getInstallerInitialClassKey
protected String getInstallerInitialClassKey()(Code)
Get the key value used to specify an application's initial class initial class key value



getPropertyInstallerInitialClassKey
protected String getPropertyInstallerInitialClassKey()(Code)
Get the key value used to specify an application's initial class from Properties object initial class key value



getStore
protected JUMPStore getStore()(Code)
Returns an instance of the content store to be used with the installer. Instance of JUMPStore



install
public JUMPContent[] install(URL location, JUMPDownloadDescriptor desc)(Code)
install content specified by the given descriptor and location. the installed content
Parameters:
  location - URL of content to be installed
Parameters:
  desc - object describing the content to be installed



load
public void load(Map map)(Code)
load the installer module
Parameters:
  map - the configuration data required for loading this service.



uninstall
public void uninstall(JUMPContent content)(Code)
Uninstall content.
Parameters:
  content - the object to be uninstalled



unload
public void unload()(Code)
Implementation of JUMPInstaler.unload()



update
public void update(JUMPContent content, URL location, JUMPDownloadDescriptor desc)(Code)
Update content from given location. For XLET and Main applications, the behavior is to uninstall the current bundle and install the new bundle.
Parameters:
  content - object to be updated
Parameters:
  location - URL location of content to update with
Parameters:
  desc - object describing the bundle to update with



Methods inherited from com.sun.jump.module.contentstore.JUMPContentStore
protected void closeStore(JUMPStoreHandle storeHandle)(Code)(Java Doc)
abstract protected JUMPStore getStore()(Code)(Java Doc)
protected JUMPStoreHandle openStore(boolean accessExclusive)(Code)(Java Doc)

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.