class Router implements ApplicationListener<ContextRefreshedEvent> {

    @Override
    public void onApplicationEvent(final ContextRefreshedEvent event) {
        PropertyDTO properties = configurationAccess.getProperties();
        internalPort = properties.getProxyPort();
    }

}