protected final synchronized ServerTopLevelAction present (Uid actUid) { if(_head == null) { return null; } for(ServerTopLevelAction action : _head) { if(actUid.equals(action.get_uid())) { return action; } } return null; }
protected final synchronized ServerTopLevelAction present (Uid actUid) { if(_head == null) { return null; } for(ServerTopLevelAction action : _head) { if(actUid.equals(action.get_uid())) { return action; } } return null; }
private final String hierarchytoString(ServerTopLevelAction action) { String hier = "InterposedHierarchy:"; if (action != null) { hier += action.get_uid(); List<ServerNestedAction> children = action.getChildren(); synchronized (children) { for(ServerNestedAction child : children) { hier += "\n"+child.get_uid(); hier += child.getChildren(2); } } } else hier += "EMPTY"; return hier; }
private final String hierarchytoString(ServerTopLevelAction action) { String hier = "InterposedHierarchy:"; if (action != null) { hier += action.get_uid(); List<ServerNestedAction> children = action.getChildren(); synchronized (children) { for(ServerNestedAction child : children) { hier += "\n"+child.get_uid(); hier += child.getChildren(2); } } } else hier += "EMPTY"; return hier; }
protected synchronized void destroyResource () { if (!_destroyed) { try { if (Interposition.destroy(get_uid())) _destroyed = true; } catch (Exception e) { jtsLogger.i18NLogger.warn_orbspecific_interposition_resources_arjuna_generror("ServerTopLevelAction.destroyResource", e); } try { if (_theResource != null) { ORBManager.getPOA().shutdownObject(_theResource); _theResource = null; } } catch (Exception e) { jtsLogger.i18NLogger.warn_orbspecific_interposition_resources_arjuna_generror("ServerTopLevelAction.destroyResource", e); } } tidyup(); }
if (Interposition.destroy(get_uid())) _destroyed = true;