automatically run method with the prefix register on the application container