|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjautil.install.AvatarsConfigManager
public class AvatarsConfigManager
The purpose of an AvatarsConfigManager
is to ensure that
the JA_HOME preferences key is properly defined, so that a JA
app has access to the necessary avatar definition files.
An instance of this class does its main work in the
establishJAHome()
method. This method checks whether there
is a valid local setting for the JA_HOME key, and if not it either
establishes a valid remote setting for the key or, subject to user
approval, downloads the necessary files and establishes a valid local
setting for it.
The user can specify the base URL for remote avatar definition files
by setting the ja.remote.base.url
system property. If this
property is not set, an internal default is used.
This default is obtained by appending the current JASigning version
tag to the stem
http://www.visicast.cmp.uea.ac.uk/eSIGN/jasigning/
,
as defined in the DeploymentParameters
class.
Constructor Summary | |
---|---|
AvatarsConfigManager()
Constructs a new avatars configuration manager. |
Method Summary | |
---|---|
void |
establishJAHome()
Ensures that there is a setting for the JA_HOME preferences key, possibly after performing a local installation of the avatars folder. |
static void |
main(java.lang.String[] args)
Main method for testing: creates a new instance and invokes establishJAHome() on it. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AvatarsConfigManager()
Method Detail |
---|
public static void main(java.lang.String[] args)
establishJAHome()
on it.
public void establishJAHome()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |