43 lines
1.6 KiB
Java
43 lines
1.6 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package javax.baja.space;
|
|
|
|
import javax.baja.naming.SlotPath;
|
|
import javax.baja.space.BComponentSpace;
|
|
import javax.baja.sys.BComponent;
|
|
import javax.baja.sys.BValue;
|
|
import javax.baja.sys.CopyHints;
|
|
import javax.baja.sys.Slot;
|
|
import javax.baja.virtual.BVirtualComponent;
|
|
import javax.baja.virtual.BVirtualComponentSpace;
|
|
import javax.baja.virtual.BVirtualGateway;
|
|
|
|
public class LoadCallbacks {
|
|
public boolean isLazyLoad() {
|
|
return false;
|
|
}
|
|
|
|
public void loadSlots(BComponent bComponent) {
|
|
BVirtualGateway bVirtualGateway;
|
|
BComponentSpace bComponentSpace = bComponent.getComponentSpace();
|
|
if (bComponentSpace instanceof BVirtualComponentSpace && bComponent instanceof BVirtualComponent && (bVirtualGateway = ((BVirtualComponentSpace)bComponentSpace).getVirtualGateway()) != null) {
|
|
bVirtualGateway.loadVirtualSlots((BVirtualComponent)bComponent);
|
|
}
|
|
}
|
|
|
|
public Slot loadSlot(BComponent bComponent, String string) {
|
|
BVirtualGateway bVirtualGateway;
|
|
BComponentSpace bComponentSpace = bComponent.getComponentSpace();
|
|
if (bComponentSpace instanceof BVirtualComponentSpace && bComponent instanceof BVirtualComponent && (bVirtualGateway = ((BVirtualComponentSpace)bComponentSpace).getVirtualGateway()) != null) {
|
|
return bVirtualGateway.loadVirtualSlot((BVirtualComponent)bComponent, SlotPath.unescape(string));
|
|
}
|
|
return null;
|
|
}
|
|
|
|
public BValue[] newCopy(BValue[] bValueArray, CopyHints copyHints) {
|
|
return null;
|
|
}
|
|
}
|
|
|