Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. public class TutorialCalculationResultViewFactoryImpl implements CalculationResultViewFactory
  2. {
  3. @Override
  4. public LineItemCtnrCalculationResultView createCalculationResultView(BaseCalculationResultView view)
  5. {
  6. return new TutorialCalculationResultView(view);
  7. }
  8. }
  9.  
  10. <implementation name="TutorialCalculationResultViewFactory" implements="CalculationResultViewFactory"
  11. class="yourPackageName.TutorialCalculationResultViewFactoryImpl" />
  12.  
  13. <fulfill requirement="assignment" of="BasketBOCalculationResultViewExtensionFactory">
  14. <instance with="CalculationResultViewFactoryAssignment">
  15. <fulfill requirement="ruleSetID" value="yourPackageName.TutorialRuleSet" />
  16. <fulfill requirement="factory">
  17. <instance with="TutorialCalculationResultViewFactory" />
  18. </fulfill>
  19. </instance>
  20. </fulfill>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement