79 lines
2.6 KiB
Java
79 lines
2.6 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*
|
|
* Could not load the following classes:
|
|
* javax.baja.security.AuthenticationException
|
|
* javax.baja.sys.Sys
|
|
* javax.baja.sys.Type
|
|
*/
|
|
package com.tridium.install;
|
|
|
|
import com.tridium.install.BDaemonPlatform;
|
|
import com.tridium.install.BRegisteredModuleList;
|
|
import com.tridium.platform.daemon.BDaemonSession;
|
|
import com.tridium.platform.daemon.LocalSessionUtil;
|
|
import com.tridium.platform.daemon.task.DaemonSessionTaskListener;
|
|
import java.net.ConnectException;
|
|
import javax.baja.security.AuthenticationException;
|
|
import javax.baja.sys.Sys;
|
|
import javax.baja.sys.Type;
|
|
|
|
/*
|
|
* Illegal identifiers - consider using --renameillegalidents true
|
|
*/
|
|
public class BLocalDaemonPlatform
|
|
extends BDaemonPlatform {
|
|
public static final Type TYPE;
|
|
private static BLocalDaemonPlatform instance;
|
|
static /* synthetic */ Class class$com$tridium$install$BLocalDaemonPlatform;
|
|
|
|
public Type getType() {
|
|
return TYPE;
|
|
}
|
|
|
|
protected void init(DaemonSessionTaskListener daemonSessionTaskListener) throws ConnectException, AuthenticationException {
|
|
super.init(daemonSessionTaskListener);
|
|
BRegisteredModuleList bRegisteredModuleList = new BRegisteredModuleList();
|
|
bRegisteredModuleList.init(null);
|
|
this.setModuleList(bRegisteredModuleList);
|
|
}
|
|
|
|
public static BLocalDaemonPlatform getInstance() throws ConnectException, AuthenticationException {
|
|
BDaemonSession bDaemonSession;
|
|
if (instance == null && (bDaemonSession = LocalSessionUtil.getLocalSession()) != null) {
|
|
instance = new BLocalDaemonPlatform(bDaemonSession);
|
|
}
|
|
return instance;
|
|
}
|
|
|
|
static /* synthetic */ Class class(String string, boolean bl) {
|
|
try {
|
|
Class<?> clazz = Class.forName(string);
|
|
if (!bl) {
|
|
clazz = clazz.getComponentType();
|
|
}
|
|
return clazz;
|
|
}
|
|
catch (ClassNotFoundException classNotFoundException) {
|
|
throw new NoClassDefFoundError(classNotFoundException.getMessage());
|
|
}
|
|
}
|
|
|
|
public BLocalDaemonPlatform() {
|
|
}
|
|
|
|
private BLocalDaemonPlatform(BDaemonSession bDaemonSession) throws ConnectException, AuthenticationException {
|
|
super(bDaemonSession);
|
|
}
|
|
|
|
static {
|
|
Class clazz = class$com$tridium$install$BLocalDaemonPlatform;
|
|
if (clazz == null) {
|
|
clazz = class$com$tridium$install$BLocalDaemonPlatform = BLocalDaemonPlatform.class("[Lcom.tridium.install.BLocalDaemonPlatform;", false);
|
|
}
|
|
TYPE = Sys.loadType((Class)clazz);
|
|
instance = null;
|
|
}
|
|
}
|
|
|