Package com.xebia.lottery.domain.aggregates

Examples of com.xebia.lottery.domain.aggregates.Lottery.draw()


        super(DrawLotteryCommand.class);
    }

    public void handleMessage(DrawLotteryCommand message) {
        Lottery lottery = repository.getByVersionedId(Lottery.class, message.getLotteryId());
        lottery.draw();
    }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.