INT-1219 migrated Loanshark sample to 'samples' package hierarchy
This commit is contained in:
@@ -13,13 +13,13 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.springframework.integration.loanbroker.loanshark.biz;
|
||||
package com.springframework.integration.samples.loanbroker.loanshark.biz;
|
||||
|
||||
import org.springframework.dao.DataAccessException;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import com.springframework.integration.loanbroker.loanshark.domain.LoanShark;
|
||||
import com.springframework.integration.samples.loanbroker.loanshark.domain.LoanShark;
|
||||
|
||||
/**
|
||||
* @author Gary Russell
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.springframework.integration.loanbroker.loanshark.biz;
|
||||
package com.springframework.integration.samples.loanbroker.loanshark.biz;
|
||||
|
||||
/**
|
||||
* @author Gary Russell
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.springframework.integration.loanbroker.loanshark.biz;
|
||||
package com.springframework.integration.samples.loanbroker.loanshark.biz;
|
||||
|
||||
/**
|
||||
* @author Gary Russell
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.springframework.integration.loanbroker.loanshark.domain;
|
||||
package com.springframework.integration.samples.loanbroker.loanshark.domain;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import org.springframework.roo.addon.entity.RooEntity;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.springframework.integration.loanbroker.loanshark.domain;
|
||||
package com.springframework.integration.samples.loanbroker.loanshark.domain;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Configurable;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.springframework.integration.loanbroker.loanshark.domain;
|
||||
package com.springframework.integration.samples.loanbroker.loanshark.domain;
|
||||
|
||||
import com.springframework.integration.samples.loanbroker.loanshark.domain.LoanShark;
|
||||
|
||||
import com.springframework.integration.loanbroker.loanshark.domain.LoanShark;
|
||||
import java.lang.Integer;
|
||||
import java.lang.Long;
|
||||
import java.util.List;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.springframework.integration.loanbroker.loanshark.domain;
|
||||
package com.springframework.integration.samples.loanbroker.loanshark.domain;
|
||||
|
||||
import java.lang.String;
|
||||
import java.lang.SuppressWarnings;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.springframework.integration.loanbroker.loanshark.domain;
|
||||
package com.springframework.integration.samples.loanbroker.loanshark.domain;
|
||||
|
||||
import java.lang.Double;
|
||||
import java.lang.Long;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.springframework.integration.loanbroker.loanshark.domain;
|
||||
package com.springframework.integration.samples.loanbroker.loanshark.domain;
|
||||
|
||||
import java.lang.String;
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
package com.springframework.integration.loanbroker.loanshark.web;
|
||||
package com.springframework.integration.samples.loanbroker.loanshark.web;
|
||||
|
||||
import org.springframework.roo.addon.web.mvc.controller.RooWebScaffold;
|
||||
import com.springframework.integration.loanbroker.loanshark.domain.LoanShark;
|
||||
|
||||
import com.springframework.integration.samples.loanbroker.loanshark.domain.LoanShark;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.springframework.integration.loanbroker.loanshark.web;
|
||||
package com.springframework.integration.samples.loanbroker.loanshark.web;
|
||||
|
||||
import com.springframework.integration.samples.loanbroker.loanshark.domain.LoanShark;
|
||||
|
||||
import com.springframework.integration.loanbroker.loanshark.domain.LoanShark;
|
||||
import java.lang.Long;
|
||||
import java.lang.String;
|
||||
import javax.validation.Valid;
|
||||
@@ -46,7 +46,7 @@
|
||||
The most commonly used annotation is @Autowired, which instructs Spring to
|
||||
dependency inject an object into your class.
|
||||
-->
|
||||
<context:component-scan base-package="com.springframework.integration.loanbroker.loanshark">
|
||||
<context:component-scan base-package="com.springframework.integration.samples.loanbroker.loanshark">
|
||||
<context:exclude-filter expression=".*_Roo_.*" type="regex"/>
|
||||
<context:exclude-filter expression="org.springframework.stereotype.Controller" type="annotation"/>
|
||||
</context:component-scan>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
input-channel="transformedChannel"
|
||||
ref="accumulator" />
|
||||
|
||||
<bean id="accumulator" class="com.springframework.integration.loanbroker.loanshark.biz.Accumulator" />
|
||||
<bean id="transformer" class="com.springframework.integration.loanbroker.loanshark.biz.SharkTransformer" />
|
||||
<bean id="accumulator" class="com.springframework.integration.loanbroker.samples.loanshark.biz.Accumulator" />
|
||||
<bean id="transformer" class="com.springframework.integration.loanbroker.samples.loanshark.biz.SharkTransformer" />
|
||||
|
||||
</beans>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.springframework.integration.loanbroker.loanshark.biz;
|
||||
package com.springframework.integration.samples.loanbroker.loanshark.biz;
|
||||
|
||||
|
||||
import static junit.framework.Assert.assertEquals;
|
||||
@@ -25,7 +25,9 @@ import org.springframework.test.context.ContextConfiguration;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import com.springframework.integration.loanbroker.loanshark.domain.LoanShark;
|
||||
import com.springframework.integration.samples.loanbroker.loanshark.biz.Accumulator;
|
||||
import com.springframework.integration.samples.loanbroker.loanshark.biz.SharkQuote;
|
||||
import com.springframework.integration.samples.loanbroker.loanshark.domain.LoanShark;
|
||||
|
||||
|
||||
/**
|
||||
Reference in New Issue
Block a user