1 package com.loribel.commons.abstraction;
2
3 import java.util.*;
4
5 /***
6 * Memory Manager.
7 */
8 public interface GB_MemoryMgr
9 {
10 /***
11 * Add a object to manage.
12 */
13 void add(
14 Object a_object);
15
16 /***
17 * Return all objects referenced by this manager.
18 */
19 List getAll();
20
21 /***
22 * Return all objects (type a_class) referenced by this manager.
23 */
24 List getAll(
25 Class a_class);
26
27 /***
28 * Return all Business Objects with the BOName a_bOName. If a_bOName is null, return all
29 * BusinessObject.
30 */
31 List getAllBO(
32 String a_bOname);
33
34 /***
35 * Return all Swing Objects.
36 */
37 List getAllSwing(
38 Class a_class);
39
40 /***
41 * Return all other Objects (other than VM, Swing, BO).
42 */
43 List getAllOther();
44
45 /***
46 * Return all View Manager Objects.
47 */
48 List getAllVM();
49
50 String[] getCalledMethods(
51 Object a_item);
52 }