public PAComponentRepresentativeImpl(ComponentParameters componentParameters) { this.componentParameters = componentParameters; this.useShortcuts = CentralPAPropertyRepository.PA_COMPONENT_USE_SHORTCUTS.isTrue(); Type componentType = componentParameters.getComponentType(); loggerADL.debug( "[PAComponentRepresentativeImpl] FType: " + ((PAComponentType) componentType).getFcInterfaceTypes().length); loggerADL.debug( "[PAComponentRepresentativeImpl] NFType: " + ((PAComponentType) componentType).getNfFcInterfaceTypes().length); loggerADL.debug( "[PAComponentRepresentativeImpl] Config File: " + (this.componentParameters.getControllerDescription().configFileIsSpecified() ? this.componentParameters .getControllerDescription() .getControllersConfigFileLocation() : "---")); if ((componentType instanceof PAComponentType)) { loggerADL.debug( "[PAComponentRepresentativeImpl] GENERAL CREATION of controller interfaces for " + this.componentParameters.getName()); addControllerInterfaces(); } addFunctionalInterfaces(); componentType = componentParameters.getComponentType(); loggerADL.debug( "[PAComponentRepresentativeImpl] NFType: " + ((PAComponentType) componentType).getNfFcInterfaceTypes().length); loggerADL.debug("[PAComponentRepresentativeImpl] NFItfs: " + nfItfs.keySet().size()); }
@After public void endTest() throws Exception { CentralPAPropertyRepository.PA_COMPONENT_USE_SHORTCUTS.setValue(false); }
@Before public void initTest() throws Exception { CentralPAPropertyRepository.PA_COMPONENT_USE_SHORTCUTS.setValue(true); }