added a factoryMethod attribute in order to allow the creation of the service implementation from a static method