harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Harmony Wiki] Update of "PolicytoolDev" by AndrasBelicza
Date Sat, 19 Jul 2008 12:18:45 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification.

The following page has been changed by AndrasBelicza:

The comment on the change is:
backup commit

  This page is part of the ["Policytool"] development documentation. It's about the architecture
and methods used to implement ["Policytool"].
+ = Overview =
+ The source of policytool is located in the package org.apache.harmony.tools.policytool.
The entry point is the Main class.
+ The '''MVC''' ''(Model-View-Controller)'' pattern was used to implement the tool.
+  *The '''model''' package contains the classes modeling a policy file decomposed to entries
and put into a tree or a list.
+  *The '''view''' package contains the GUI elements of the user interface.
+  *The '''control''' package contains the classes handling the policy files and policy syntax,
and a main Controller class which handles the user interactions and connects the view and
the model.
+ = The model package =
+ The base class of all entries is the PolicyEntry class. Defines 2 abstract methods to get
and set the string representation of a policy entry.
+ There are basically 2 entry types:
+  *GrantEntry: - this is used to define access and grant to various system resources.
+  *KeystoreEntry and KeystorePasswordURLEntry: these 2 define the location and other parameters
to the keystore

View raw message