Search in sources :

Example 1 with DuplicateHostService

use of org.codelibs.fess.app.service.DuplicateHostService in project fess by codelibs.

the class DuplicateHostHelper method init.

@PostConstruct
public void init() {
    if (logger.isDebugEnabled()) {
        logger.debug("Initialize {}", this.getClass().getSimpleName());
    }
    if (duplicateHostList == null) {
        duplicateHostList = new ArrayList<>();
    }
    final DuplicateHostService duplicateHostService = ComponentUtil.getComponent(DuplicateHostService.class);
    duplicateHostList.addAll(duplicateHostService.getDuplicateHostList());
}
Also used : DuplicateHostService(org.codelibs.fess.app.service.DuplicateHostService) PostConstruct(javax.annotation.PostConstruct)

Aggregations

PostConstruct (javax.annotation.PostConstruct)1 DuplicateHostService (org.codelibs.fess.app.service.DuplicateHostService)1