@Test public void testGetInstance() { assertThat(srTeHandler, is(notNullValue())); }
public static PceccSrTeBeHandler getInstance() { if (srTeHandlerInstance == null) { srTeHandlerInstance = new PceccSrTeBeHandler(); } return srTeHandlerInstance; }
PceccSrTeBeHandler { public static PceccSrTeBeHandler getInstance() { if (srTeHandlerInstance == null) { srTeHandlerInstance = new PceccSrTeBeHandler(); } return srTeHandlerInstance; } }
PceccSrTeBeHandler { public static PceccSrTeBeHandler getInstance() { if (srTeHandlerInstance == null) { srTeHandlerInstance = new PceccSrTeBeHandler(); } return srTeHandlerInstance; } private  PceccSrTeBeHandler(); }
PceccSrTeBeHandler { public static PceccSrTeBeHandler getInstance() { if (srTeHandlerInstance == null) { srTeHandlerInstance = new PceccSrTeBeHandler(); } return srTeHandlerInstance; } private  PceccSrTeBeHandler(); static PceccSrTeBeHandler getInstance(); void initialize(LabelResourceAdminService labelRsrcAdminService, LabelResourceService labelRsrcService,
                           FlowObjectiveService flowObjectiveService, ApplicationId appId, PceStore pceStore,
                           DeviceService deviceService); boolean reserveGlobalPool(long beginLabel, long endLabel); String getLsrId(DeviceId deviceId); boolean allocateNodeLabel(DeviceId specificDeviceId, String specificLsrId); boolean releaseNodeLabel(DeviceId specificDeviceId, String specificLsrId); boolean allocateAdjacencyLabel(Link link); boolean releaseAdjacencyLabel(Link link); LabelStack computeLabelStack(Path path); void advertiseNodeLabelRule(DeviceId deviceId, LabelResourceId labelId, IpPrefix ipPrefix,
                                       Objective.Operation type, boolean bBos); void installAdjLabelRule(DeviceId deviceId, LabelResourceId labelId, PortNumber srcPortNum,
                                    PortNumber dstPortNum, Objective.Operation type); }
PceccSrTeBeHandler { public static PceccSrTeBeHandler getInstance() { if (srTeHandlerInstance == null) { srTeHandlerInstance = new PceccSrTeBeHandler(); } return srTeHandlerInstance; } private  PceccSrTeBeHandler(); static PceccSrTeBeHandler getInstance(); void initialize(LabelResourceAdminService labelRsrcAdminService, LabelResourceService labelRsrcService,
                           FlowObjectiveService flowObjectiveService, ApplicationId appId, PceStore pceStore,
                           DeviceService deviceService); boolean reserveGlobalPool(long beginLabel, long endLabel); String getLsrId(DeviceId deviceId); boolean allocateNodeLabel(DeviceId specificDeviceId, String specificLsrId); boolean releaseNodeLabel(DeviceId specificDeviceId, String specificLsrId); boolean allocateAdjacencyLabel(Link link); boolean releaseAdjacencyLabel(Link link); LabelStack computeLabelStack(Path path); void advertiseNodeLabelRule(DeviceId deviceId, LabelResourceId labelId, IpPrefix ipPrefix,
                                       Objective.Operation type, boolean bBos); void installAdjLabelRule(DeviceId deviceId, LabelResourceId labelId, PortNumber srcPortNum,
                                    PortNumber dstPortNum, Objective.Operation type);  }