Permalink
Browse files

changed packages for companies

  • Loading branch information...
jettro committed Feb 16, 2012
1 parent 96b7f69 commit cb2b8403f4e2700df9109dcc20e0d8769bffd605
@@ -13,7 +13,7 @@
* limitations under the License.
*/
-package org.axonframework.samples.trader.app.api.company;
+package org.axonframework.samples.trader.company.api;
import org.axonframework.domain.AggregateIdentifier;
import org.axonframework.domain.DomainEvent;
@@ -13,7 +13,7 @@
* limitations under the License.
*/
-package org.axonframework.samples.trader.app.api.company;
+package org.axonframework.samples.trader.company.api;
import org.axonframework.domain.AggregateIdentifier;
@@ -13,12 +13,12 @@
* limitations under the License.
*/
-package org.axonframework.samples.trader.app.command.company;
+package org.axonframework.samples.trader.company.command;
import org.axonframework.domain.AggregateIdentifier;
import org.axonframework.eventhandling.annotation.EventHandler;
import org.axonframework.eventsourcing.annotation.AbstractAnnotatedAggregateRoot;
-import org.axonframework.samples.trader.app.api.company.CompanyCreatedEvent;
+import org.axonframework.samples.trader.company.api.CompanyCreatedEvent;
/**
* @author Jettro Coenradie
@@ -13,12 +13,12 @@
* limitations under the License.
*/
-package org.axonframework.samples.trader.app.command.company;
+package org.axonframework.samples.trader.company.command;
import org.axonframework.commandhandling.annotation.CommandHandler;
import org.axonframework.domain.UUIDAggregateIdentifier;
import org.axonframework.repository.Repository;
-import org.axonframework.samples.trader.app.api.company.CreateCompanyCommand;
+import org.axonframework.samples.trader.company.api.CreateCompanyCommand;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
@@ -19,12 +19,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.company.CompanyCommandHandler">
+ <bean class="org.axonframework.samples.trader.company.command.CompanyCommandHandler">
<property name="repository" ref="companyRepository"/>
</bean>
<axon:event-sourcing-repository id="companyRepository"
- aggregate-type="org.axonframework.samples.trader.app.command.company.Company"
+ aggregate-type="org.axonframework.samples.trader.company.command.Company"
cache-ref="ehcache"
event-bus="eventBus"
event-store="eventStore">
@@ -13,12 +13,12 @@
* limitations under the License.
*/
-package org.axonframework.samples.trader.app.command.company;
+package org.axonframework.samples.trader.company.command;
import org.axonframework.domain.AggregateIdentifier;
import org.axonframework.domain.UUIDAggregateIdentifier;
-import org.axonframework.samples.trader.app.api.company.CompanyCreatedEvent;
-import org.axonframework.samples.trader.app.api.company.CreateCompanyCommand;
+import org.axonframework.samples.trader.company.api.CompanyCreatedEvent;
+import org.axonframework.samples.trader.company.api.CreateCompanyCommand;
import org.axonframework.test.FixtureConfiguration;
import org.axonframework.test.Fixtures;
import org.junit.Before;
@@ -16,7 +16,7 @@
package org.axonframework.samples.trader.query.company;
import org.axonframework.eventhandling.annotation.EventHandler;
-import org.axonframework.samples.trader.app.api.company.CompanyCreatedEvent;
+import org.axonframework.samples.trader.company.api.CompanyCreatedEvent;
import org.axonframework.samples.trader.query.company.repositories.CompanyQueryRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -22,8 +22,8 @@
import org.axonframework.domain.UUIDAggregateIdentifier;
import org.axonframework.eventstore.mongo.MongoEventStore;
import org.axonframework.saga.repository.mongo.MongoTemplate;
-import org.axonframework.samples.trader.app.api.company.CreateCompanyCommand;
import org.axonframework.samples.trader.app.api.user.CreateUserCommand;
+import org.axonframework.samples.trader.company.api.CreateCompanyCommand;
import org.axonframework.samples.trader.orders.api.portfolio.item.AddItemsToPortfolioCommand;
import org.axonframework.samples.trader.orders.api.portfolio.money.DepositMoneyToPortfolioCommand;
import org.axonframework.samples.trader.query.company.CompanyEntry;

0 comments on commit cb2b840

Please sign in to comment.