try
{
String actionStoreType = arjPropertyManager.getCoordinatorEnvironmentBean().getActionStore();
Class osImple = Class.forName(actionStoreType);
ObjectStore imple = (ObjectStore) osImple.newInstance();
InputObjectState types = new InputObjectState();
if (imple.allTypes(types))
{
String fullPathName = null;
boolean found = false;
try
{
boolean endOfList = false;
DefaultMutableTreeNode currentNode = null;
DefaultMutableTreeNode currentRoot = top;
topTran.add(currentRoot);
while (!endOfList)
{
fullPathName = types.unpackString();
if (fullPathName.compareTo("") == 0)
endOfList = true;
else
{
found = true;
InputObjectState uids = new InputObjectState();
String nodeName = stripName(fullPathName);
currentNode = new DefaultMutableTreeNode(nodeName);
addDirectory(currentNode, fullPathName);
currentRoot = findRoot(top, currentNode);
currentRoot.add(currentNode);
if (imple.allObjUids(fullPathName, uids))
{
Uid theUid = new Uid(Uid.nullUid());
try
{
boolean endOfUids = false;
while (!endOfUids)
{
theUid = UidHelper.unpackFrom(uids);
if (theUid.equals(Uid.nullUid()))
endOfUids = true;
else
{
DefaultMutableTreeNode tranID = new DefaultMutableTreeNode(
theUid.stringForm());
tranID
.add(new DefaultMutableTreeNode(
new String(
"status: "
+ statusToString(imple
.currentState(
theUid,
fullPathName)))));
currentNode.add(tranID);