wt.clients.checker
Class RMIConnectChecker
java.lang.Object
wt.clients.checker.Checkable
wt.clients.checker.RMIConnectChecker
- All Implemented Interfaces:
- CheckerLog
- public class RMIConnectChecker
- extends Checkable
Checks if the client can make a RMI connection. If not, then the boot.jar
is installed which includes additional socket factories which may be able to
complete the connection.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BOOT_PROPERTIES
private static final String BOOT_PROPERTIES
- See Also:
- Constant Field Values
VERSION
private static final String VERSION
- See Also:
- Constant Field Values
propAccess
private PropAccess propAccess
fileAccess
private FileAccess fileAccess
localJarProperties
private Properties localJarProperties
remoteJarProperties
private Properties remoteJarProperties
RMIConnectChecker
public RMIConnectChecker()
configureClient
public void configureClient()
- Attempts to set the client's plugin cache size. Prompts the user that the cache
size should be raised and allows the user to raise the cache size directly.
- Specified by:
configureClient
in class Checkable
installExtension
private void installExtension(boolean updateOnly)
getFileFromFileURIString
private File getFileFromFileURIString(String uriString)
decode
private static String decode(String string)
install
private boolean install(String remoteJarResource,
File installFile,
boolean updatingKnownJar)
install
private boolean install(String remoteJarResource,
File installFile,
boolean updatingKnownJar,
boolean showConfirmDialog)
cp
private void cp(InputStream is,
OutputStream os)
throws IOException
- Throws:
IOException
cantWrite
private void cantWrite(String path)
restartBrowserReq
private void restartBrowserReq()
installFailed
private void installFailed()
getRemoteJarProperties
private void getRemoteJarProperties(URL codebase)
throws IOException
- Throws:
IOException
checkVersions
private boolean checkVersions()
main
public static void main(String[] args)