Permalink
Browse files

changed packages for tradeengine

  • Loading branch information...
1 parent ce8e930 commit f39da72ac176f334692460628116906de797afd7 @jettro jettro committed Feb 16, 2012
@@ -13,7 +13,7 @@
* limitations under the License.
*/
-package org.axonframework.samples.trader.app.command.trading;
+package org.axonframework.samples.trader.tradeengine.command;
import org.axonframework.domain.AggregateIdentifier;
@@ -13,7 +13,7 @@
* limitations under the License.
*/
-package org.axonframework.samples.trader.app.command.trading;
+package org.axonframework.samples.trader.tradeengine.command;
import org.axonframework.domain.AggregateIdentifier;
import org.axonframework.eventhandling.annotation.EventHandler;
@@ -13,7 +13,7 @@
* limitations under the License.
*/
-package org.axonframework.samples.trader.app.command.trading;
+package org.axonframework.samples.trader.tradeengine.command;
import org.axonframework.commandhandling.annotation.CommandHandler;
import org.axonframework.domain.UUIDAggregateIdentifier;
@@ -5,12 +5,12 @@
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.axonframework.org/schema/core http://www.axonframework.org/schema/axon-core-1.2.xsd">
- <bean class="org.axonframework.samples.trader.app.command.trading.OrderBookCommandHandler">
+ <bean class="org.axonframework.samples.trader.tradeengine.command.OrderBookCommandHandler">
<property name="repository" ref="orderBookRepository"/>
</bean>
<axon:event-sourcing-repository id="orderBookRepository"
- aggregate-type="org.axonframework.samples.trader.app.command.trading.OrderBook"
+ aggregate-type="org.axonframework.samples.trader.tradeengine.command.OrderBook"
cache-ref="ehcache"
event-bus="eventBus"
event-store="eventStore">
@@ -13,19 +13,15 @@
* limitations under the License.
*/
-package org.axonframework.samples.trader.app.command.trading;
+package org.axonframework.samples.trader.tradeengine.command;
import org.axonframework.domain.AggregateIdentifier;
import org.axonframework.domain.UUIDAggregateIdentifier;
-import org.axonframework.samples.trader.tradeengine.api.order.BuyOrderPlacedEvent;
-import org.axonframework.samples.trader.tradeengine.api.order.CreateOrderBookCommand;
-import org.axonframework.samples.trader.tradeengine.api.order.CreateSellOrderCommand;
-import org.axonframework.samples.trader.tradeengine.api.order.OrderBookCreatedEvent;
-import org.axonframework.samples.trader.tradeengine.api.order.SellOrderPlacedEvent;
-import org.axonframework.samples.trader.tradeengine.api.order.TradeExecutedEvent;
+import org.axonframework.samples.trader.tradeengine.api.order.*;
import org.axonframework.test.FixtureConfiguration;
import org.axonframework.test.Fixtures;
-import org.junit.*;
+import org.junit.Before;
+import org.junit.Test;
/**
* @author Allard Buijze

0 comments on commit f39da72

Please sign in to comment.