Configure PreEmptive Protection™ DashO™ entry points from three pages in the DashO user interface: Entry Points - Methods and Fields, Entry Points - Libraries, and Entry Points - Special Classes. Use them to tell DashO which parts of your software must stay accessible from outside.
To learn what entry points are and when to use each type, see Entry Points.
Prerequisites
- A DashO project in Standard Mode. The Entry Points pages are only available in Standard Mode.
Add Method and Field Entry Points
- Go to Entry Points to open the Entry Points - Methods and Fields page.
- Add entry points in one of these ways:
- Drag classes, methods, or fields from the tree on the left to the rule list.
- Click New Class, New Methods, or New Fields on the right, and define the rule. For more information, see Graphical Rules Editor.
- (Optional) Let DashO rename a class or member entry point:
- Select the item.
- Click Edit....
- Select Rename in the editor dialog.
- Save your project and build it to apply the changes.
Add Library Entry Points
- Go to Entry Points > Libraries to open the Entry Points - Libraries page.
- Add a library in one of these ways:
- Click Add and select the library from the file system.
- Click New, then edit the new entry's name. Names can contain Property References.
- Save your project and build it to apply the changes.
Add Special Class Entry Points
- In the navigation tree on the left, under Entry Points, select Special Classes. The Entry Points - Special Classes page opens.
- Click New. DashO opens the Special Class Rule dialog.
- In the Class Type list, select the type of special class. The rename options at the bottom of the dialog change based on your selection.
- In Type, select Text/Pattern or Regular Expression.
- Under Match Rule, enter the Name of the class to match. (Optional) Enter Annotations and Supertypes to narrow the match. See Special Class Rule Settings.
- Select the rename options for the class type. See Options by Class Type.
- Click OK.
- Save your project and build it to apply the changes.
To change an existing special class rule, select it in the rule list and click Edit.... To remove it, select it and click Delete.
Special Class Rule Settings
| Setting | Description |
| Class Type | A list of special class types, such as Spring Bean or Class; all fields/methods. Your selection determines which rename options appear. For the available types, see Special Class Entry Points. |
| Type | How DashO reads the match fields: Text/Pattern or Regular Expression. See Graphical Rules Editor. |
| Name | The class name to match, as an exact match, a pattern, or a regular expression. |
| Annotations | The annotations a class must have to match. See Graphical Rules Editor. |
| Supertypes | The superclasses or interfaces a class must have to match. See Graphical Rules Editor. |
Options by Class Type
The Class Type list contains the following types, in this order:
- Class; public fields/methods
- Class; all fields/methods
- Applet Class
- Servlet Class
- Enterprise Java Bean
- Midlet Class
- Android Class
- Spring Bean
- i-appli Class
The rename options at the bottom of the Special Class Rule dialog depend on the type you select:
| Class Type | Rename options |
| All types except Spring Bean |
|
| Spring Bean |
|
Limitations and Troubleshooting
| Issue | Resolution |
| The Entry Points pages aren't visible. | They're only available in Standard Mode. In Android Mode, DashO ignores entry points. |
| An entry point is renamed unexpectedly. | Select it, click Edit..., and clear Rename. |