Beispiel #1
0
 /** Returns the transient {@link Action}s associated with the computer. */
 public List<Action> getActions() {
   List<Action> result = new ArrayList<Action>();
   result.addAll(super.getActions());
   synchronized (this) {
     if (transientActions == null) {
       transientActions = TransientComputerActionFactory.createAllFor(this);
     }
     result.addAll(transientActions);
   }
   return result;
 }