tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rineh...@apache.org
Subject svn commit: r400098 - in /incubator/tuscany/java/samples/bigbank: account/src/main/java/bigbank/account/services/account/ account/src/main/java/bigbank/account/services/accountdata/ account/src/main/java/bigbank/account/services/stockquote/ webclient/s...
Date Fri, 05 May 2006 16:05:24 GMT
Author: rineholt
Date: Fri May  5 09:05:22 2006
New Revision: 400098

URL: http://svn.apache.org/viewcvs?rev=400098&view=rev
Log:
get rid of uncessary code to register SDO types

Modified:
    incubator/tuscany/java/samples/bigbank/account/src/main/java/bigbank/account/services/account/AccountServiceImpl.java
    incubator/tuscany/java/samples/bigbank/account/src/main/java/bigbank/account/services/accountdata/AccountDataServiceDASImpl.java
    incubator/tuscany/java/samples/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteWebservicexServiceImpl.java
    incubator/tuscany/java/samples/bigbank/webclient/src/main/java/bigbank/webclient/services/account/AccountServiceComponentImpl.java

Modified: incubator/tuscany/java/samples/bigbank/account/src/main/java/bigbank/account/services/account/AccountServiceImpl.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbank/account/src/main/java/bigbank/account/services/account/AccountServiceImpl.java?rev=400098&r1=400097&r2=400098&view=diff
==============================================================================
--- incubator/tuscany/java/samples/bigbank/account/src/main/java/bigbank/account/services/account/AccountServiceImpl.java
(original)
+++ incubator/tuscany/java/samples/bigbank/account/src/main/java/bigbank/account/services/account/AccountServiceImpl.java
Fri May  5 09:05:22 2006
@@ -50,11 +50,10 @@
     public static final String ACCOUNT_TYPE_CHECKINGS = "checkings";
 
     public static final DateFormat tsformatXSDDateTime = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSz");
-    
-   static {
-        SDOUtil.registerStaticTypes(AccountFactory.class);
+    static {
         AccountServiceImpl.tsformatXSDDateTime.setTimeZone(TimeZone.getTimeZone("UTC"));
     }
+
 
     private String currency = "USD";
 

Modified: incubator/tuscany/java/samples/bigbank/account/src/main/java/bigbank/account/services/accountdata/AccountDataServiceDASImpl.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbank/account/src/main/java/bigbank/account/services/accountdata/AccountDataServiceDASImpl.java?rev=400098&r1=400097&r2=400098&view=diff
==============================================================================
--- incubator/tuscany/java/samples/bigbank/account/src/main/java/bigbank/account/services/accountdata/AccountDataServiceDASImpl.java
(original)
+++ incubator/tuscany/java/samples/bigbank/account/src/main/java/bigbank/account/services/accountdata/AccountDataServiceDASImpl.java
Fri May  5 09:05:22 2006
@@ -56,9 +56,6 @@
 public class AccountDataServiceDASImpl implements AccountDataService {
     // TODO get rid of this!!
     static public String dbDirectory = null;
-    static {
-        SDOUtil.registerStaticTypes(AccountFactory.class);
-    }
     public static final DateFormat tsformatXSDDateTime = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSz");
     public static final DateFormat sqlformatDateTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSSz");
     

Modified: incubator/tuscany/java/samples/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteWebservicexServiceImpl.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteWebservicexServiceImpl.java?rev=400098&r1=400097&r2=400098&view=diff
==============================================================================
--- incubator/tuscany/java/samples/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteWebservicexServiceImpl.java
(original)
+++ incubator/tuscany/java/samples/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteWebservicexServiceImpl.java
Fri May  5 09:05:22 2006
@@ -46,15 +46,6 @@
 // FIXME workaround for JIRA TUSCANY-41
 @Scope("MODULE")
 public class StockQuoteWebservicexServiceImpl implements StockQuoteService {
-    static {
-        SDOUtil.registerStaticTypes(WebserviceFactory.class);
-        TypeHelper th = SDOUtil.createTypeHelper();
-        XSDHelper xsdHelper = SDOUtil.createXSDHelper(th);
-
-        InputStream xsdInputStream = StockQuoteWebservicexServiceImpl.class.getClassLoader().getResourceAsStream("wsdl/stockquotes.webservicex.wsdl");
-        xsdHelper.define(xsdInputStream, null);
-
-    }
 
     @Reference
     public StockQuoteSoap stockQuoteService = null; // Injected by the SCA container.

Modified: incubator/tuscany/java/samples/bigbank/webclient/src/main/java/bigbank/webclient/services/account/AccountServiceComponentImpl.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/bigbank/webclient/src/main/java/bigbank/webclient/services/account/AccountServiceComponentImpl.java?rev=400098&r1=400097&r2=400098&view=diff
==============================================================================
--- incubator/tuscany/java/samples/bigbank/webclient/src/main/java/bigbank/webclient/services/account/AccountServiceComponentImpl.java
(original)
+++ incubator/tuscany/java/samples/bigbank/webclient/src/main/java/bigbank/webclient/services/account/AccountServiceComponentImpl.java
Fri May  5 09:05:22 2006
@@ -37,16 +37,6 @@
 @Service(AccountService.class)
 public class AccountServiceComponentImpl implements AccountService {
 
-//    static {
-//        SDOUtil.registerStaticTypes(AccountFactory.class);
-//        TypeHelper th = SDOUtil.createTypeHelper();
-//        XSDHelper xsdHelper = SDOUtil.createXSDHelper(th);
-//
-//        InputStream xsdInputStream = AccountServiceComponentImpl.class.getClassLoader().getResourceAsStream("wsdl/AccountService.wsdl");
-//        xsdHelper.define(xsdInputStream, null);
-//
-//
-//    }
 
     private AccountService accountService;
 



Mime
View raw message