public <T extends org.jboss.weld.bootstrap.api.Service> void addWeldService(Class<T> type, T service) {
        deployment.addWeldService(type, service);
    }
public < T extends org . jboss . weld . bootstrap . api . Service > void addWeldService ( Class < T > type , T service ) { deployment . addWeldService ( type , service ) ; }
Adds a {@link Service} to the deployment. This method must not be called after the container has started