public interface Service
To register a type as a service, a file must be created with the name
META-INF/services/org.jboss.forge.furnace.container.simple.Service, and each service type name must be
added to this file on a separate line:
public class ExampleService
{
// ...
}
Example registration file:
META-INF/services/org.jboss.forge.furnace.container.simple.Service ------- org.example.ExampleService org.example.ExampleService2 org.my.custom.MyService -------
Copyright © 2014 JBoss by Red Hat. All rights reserved.