Class BookingServiceImpl

  • All Implemented Interfaces:
    org.apache.karaf.examples.blueprint.common.BookingService

    public class BookingServiceImpl
    extends Object
    implements org.apache.karaf.examples.blueprint.common.BookingService
    Very simple implementation of a booking service.
    • Constructor Detail

      • BookingServiceImpl

        public BookingServiceImpl()
    • Method Detail

      • list

        public List<org.apache.karaf.examples.blueprint.common.Booking> list()
        Specified by:
        list in interface org.apache.karaf.examples.blueprint.common.BookingService
      • get

        public org.apache.karaf.examples.blueprint.common.Booking get​(Long id)
        Specified by:
        get in interface org.apache.karaf.examples.blueprint.common.BookingService
      • add

        public void add​(org.apache.karaf.examples.blueprint.common.Booking booking)
        Specified by:
        add in interface org.apache.karaf.examples.blueprint.common.BookingService