All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.acme.travels.services.HelloService Maven / Gradle / Ivy

There is a newer version: 1.7.0.Final
Show newest version
package org.acme.travels.services;

import javax.enterprise.context.ApplicationScoped;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@ApplicationScoped
public class HelloService {

    private static final Logger logger = LoggerFactory.getLogger(GreetingTravellerService.class);
    
    public Object hello(String name, Integer age) {
        logger.info("Saying hello to {} with age {}", name, age);
        
        return "";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy