|
From: <pe...@us...> - 2003-10-25 00:44:23
|
Update of /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/pay
In directory sc8-pr-cvs1:/tmp/cvs-serv7941/src/java/org/neuclear/pay
Modified Files:
PaymentProcessor.java
Log Message:
Fixed SmtpSender it now sends the messages.
Refactored CommandLineSigner. Now it simply signs files read from command line. However new class IdentityCreator
is subclassed and creates new Identities. You can subclass CommandLineSigner to create your own variants.
Several problems with configuration. Trying to solve at the moment. Updated PicoContainer to beta-2
Index: PaymentProcessor.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/pay/PaymentProcessor.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** PaymentProcessor.java 3 Oct 2003 23:48:30 -0000 1.2
--- PaymentProcessor.java 25 Oct 2003 00:38:43 -0000 1.3
***************
*** 103,108 ****
public static PaymentProcessor getInstance() throws LowlevelLedgerException, LedgerCreationException, ConfigurationException {
! PicoContainer pico = Configuration.getContainer();
! return (PaymentProcessor) pico.getComponent(PaymentProcessor.class);
}
--- 103,108 ----
public static PaymentProcessor getInstance() throws LowlevelLedgerException, LedgerCreationException, ConfigurationException {
! PicoContainer pico = Configuration.getContainer(PaymentProcessor.class);
! return (PaymentProcessor) pico.getComponentInstance(PaymentProcessor.class);
}
|