Subversion Repositories SmartDukaan

Rev

Rev 4619 | Rev 4651 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4619 Rev 4645
Line 57... Line 57...
57
	
57
	
58
	private static final long HDFC_GATEWAY_ID = 1;
58
	private static final long HDFC_GATEWAY_ID = 1;
59
	private static final long EBS_GATEWAY_ID = 2;
59
	private static final long EBS_GATEWAY_ID = 2;
60
	private static final long HDFC_EMI_GATEWAY_ID = 5;
60
	private static final long HDFC_EMI_GATEWAY_ID = 5;
61
	
61
	
62
	ApplicationContext context = new ClassPathXmlApplicationContext("context.xml");
62
	public ApplicationContext context = new ClassPathXmlApplicationContext("context.xml");
63
	PaymentHandler paymentHandler = (PaymentHandler) context.getBean("paymentHandler");
63
	PaymentHandler paymentHandler = (PaymentHandler) context.getBean("paymentHandler");
64
    PaymentRequiringExtraProcessingHandler paymentRequiringExtraProcessingHandler =
64
    PaymentRequiringExtraProcessingHandler paymentRequiringExtraProcessingHandler =
65
        (PaymentRequiringExtraProcessingHandler) context.getBean("paymentRequiringExtraProcessingHandler");
65
        (PaymentRequiringExtraProcessingHandler) context.getBean("paymentRequiringExtraProcessingHandler");
66
 
66
 
67
    PaymentGatewayHandler paymentGatewayHandler = (PaymentGatewayHandler) context.getBean("paymentGatewayHandler");
67
    PaymentGatewayHandler paymentGatewayHandler = (PaymentGatewayHandler) context.getBean("paymentGatewayHandler");