Oracle Java Wireless Client

com.sun.ams
Interface LinkInstaller

All Superinterfaces:
SuiteInstaller

public interface LinkInstaller
extends SuiteInstaller

Link Installer interface LinkInstaller should be initialized before using SuiteInstaller methods. Otherwise IllegalStateException will be thrown.


Method Summary
 SuiteInfo initialize(java.lang.String jadUrl, java.lang.String iconUrl, LinkInstallerProgressListener listener)
          Initializes an installer with an address of an resource where an application descriptor can be found, an URL of the application body and installation progress listener.
 
Methods inherited from interface com.sun.ams.SuiteInstaller
cancel, start
 

Method Detail

initialize

SuiteInfo initialize(java.lang.String jadUrl,
                     java.lang.String iconUrl,
                     LinkInstallerProgressListener listener)
Initializes an installer with an address of an resource where an application descriptor can be found, an URL of the application body and installation progress listener.

The function can result in network access for the application descriptor acquiring.

The LinkInstallerProgressListener must be present and ready to handle callback requests. It may be used for login/password querying.

Parameters:
jadUrl - the address where to find the application descriptor
iconUrl - the address where to find icon
listener - the installation progress listener
Returns:
application information acquired from application descriptor.

Oracle Java Wireless Client

Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.