| 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.
|
DESCRIPTOR_INITIALCLASS_KEY | final protected static String DESCRIPTOR_INITIALCLASS_KEY(Code) | | |
contentStoreDir | protected String contentStoreDir(Code) | | The root directory of the content store
|
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 |
|
|