22 lines
559 B
Java
22 lines
559 B
Java
|
|
package sample.ws.service;
|
||
|
|
|
||
|
|
import org.slf4j.Logger;
|
||
|
|
import org.slf4j.LoggerFactory;
|
||
|
|
import org.springframework.stereotype.Service;
|
||
|
|
|
||
|
|
import java.util.Date;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Created by in329dei on 28-2-14.
|
||
|
|
*/
|
||
|
|
@Service
|
||
|
|
public class StubHumanResourceService implements HumanResourceService {
|
||
|
|
|
||
|
|
private final Logger logger = LoggerFactory.getLogger(StubHumanResourceService.class);
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public void bookHoliday(Date startDate, Date endDate, String name) {
|
||
|
|
logger.info("Booking holiday for [{} - {}] for [{}] ", startDate, endDate, name);
|
||
|
|
}
|
||
|
|
}
|