You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.1 KiB
50 lines
1.1 KiB
package com.teamcenter.rac.kernel;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
import com.teamcenter.rac.util.Registry;
|
|
|
|
// Referenced classes of package com.teamcenter.rac.kernel:
|
|
// InterfaceTCSessionClose, AEShell
|
|
|
|
public class AEShellManager implements InterfaceTCSessionClose {
|
|
|
|
public AEShellManager() {
|
|
}
|
|
|
|
public void addShell(AEShell aeshell) {
|
|
AEShells.add(aeshell);
|
|
}
|
|
|
|
public void removeShell(AEShell aeshell) {
|
|
AEShells.remove(aeshell);
|
|
}
|
|
|
|
public AEShell[] getShells() {
|
|
return (AEShell[]) AEShells.toArray(new AEShell[AEShells.size()]);
|
|
}
|
|
|
|
public int size() {
|
|
return AEShells.size();
|
|
}
|
|
|
|
public void sessionClose() throws Exception {
|
|
if (!AEShells.isEmpty())
|
|
throw new Exception(Registry.getRegistry(this).getString(
|
|
"shellsRunning"));
|
|
else
|
|
return;
|
|
}
|
|
|
|
private final List AEShells = new ArrayList();
|
|
}
|
|
|
|
/*
|
|
* DECOMPILATION REPORT
|
|
*
|
|
* Decompiled from:
|
|
* F:\Teamcenter10.1.4Env\portal\plugins\com.teamcenter.rac.kernel_10000.1.0.jar
|
|
* Total time: 97 ms Jad reported messages/errors: Exit status: 0 Caught
|
|
* exceptions:
|
|
*/ |