You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by dl...@apache.org on 2005/08/26 11:54:27 UTC

cvs commit: ws-wsrp4j/sandbox/wsrp4j/commons/src/java/org/apache/wsrp4j/commons/persistence/xml/driver ServerPersistentFactoryImpl.java

dlouzan     2005/08/26 02:54:27

  Modified:    sandbox/wsrp4j/commons/src/java/org/apache/wsrp4j/commons/persistence/xml/driver
                        ServerPersistentFactoryImpl.java
  Log:
  Fixed Class.forName references due to package name change.
  
  Revision  Changes    Path
  1.2       +13 -13    ws-wsrp4j/sandbox/wsrp4j/commons/src/java/org/apache/wsrp4j/commons/persistence/xml/driver/ServerPersistentFactoryImpl.java
  
  Index: ServerPersistentFactoryImpl.java
  ===================================================================
  RCS file: /home/cvs/ws-wsrp4j/sandbox/wsrp4j/commons/src/java/org/apache/wsrp4j/commons/persistence/xml/driver/ServerPersistentFactoryImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ServerPersistentFactoryImpl.java	23 Aug 2005 19:28:12 -0000	1.1
  +++ ServerPersistentFactoryImpl.java	26 Aug 2005 09:54:27 -0000	1.2
  @@ -144,8 +144,8 @@
           
           try {
               pdo = (PortletList) Class.forName(
  -                    "org.apache.wsrp4j.persistence.xml.driver.PortletList").
  -                    newInstance();
  +                    "org.apache.wsrp4j.commons.persistence.xml.driver." +
  +                    "PortletList").newInstance();
               
               ((ServerPersistentInformationProvider)
               getPersistentInformationProvider()).getPersistentInformation(pdo);
  @@ -182,8 +182,8 @@
           try {
               
               pdo = (ProducerList) Class.forName(
  -                    "org.apache.wsrp4j.persistence.xml.driver.ProducerList").
  -                    newInstance();
  +                    "org.apache.wsrp4j.commons.persistence.xml.driver." +
  +                    "ProducerList").newInstance();
               
               ((ServerPersistentInformationProvider) 
               getPersistentInformationProvider()).getPersistentInformation(pdo);
  @@ -219,8 +219,8 @@
           try {
               
               pdo = (RegistrationList) Class.forName(
  -                    "org.apache.wsrp4j.persistence.xml.driver.RegistrationList").
  -                    newInstance();
  +                    "org.apache.wsrp4j.commons.persistence.xml.driver." +
  +                    "RegistrationList").newInstance();
               
               ((ServerPersistentInformationProvider) 
               getPersistentInformationProvider()).getPersistentInformation(pdo);
  @@ -254,8 +254,8 @@
           
           try {
               pdo = (UserList) Class.forName(
  -                    "org.apache.wsrp4j.persistence.xml.driver.UserList").
  -                    newInstance();
  +                    "org.apache.wsrp4j.commons.persistence.xml.driver." +
  +                    "UserList").newInstance();
               
               ((ServerPersistentInformationProvider) 
               getPersistentInformationProvider()).getPersistentInformation(pdo);
  @@ -290,7 +290,7 @@
           
           try {
               pdo = (ConsumerConfiguredPortletList) Class.forName(
  -                    "org.apache.wsrp4j.persistence.xml.driver." +
  +                    "org.apache.wsrp4j.commons.persistence.xml.driver." +
                       "ConsumerConfiguredPortletList").
                       newInstance();
               
  @@ -327,7 +327,7 @@
           
           try {
               pdo = (PortletDescriptionList) Class.forName(
  -                    "org.apache.wsrp4j.persistence.xml.driver." +
  +                    "org.apache.wsrp4j.commons.persistence.xml.driver." +
                       "PortletDescriptionList").
                       newInstance();
               
  @@ -364,7 +364,7 @@
           
           try {
               pdo = (ServiceDescriptionList) Class.forName(
  -                    "org.apache.wsrp4j.persistence.xml.driver." +
  +                    "org.apache.wsrp4j.commons.persistence.xml.driver." +
                       "ServiceDescriptionList").
                       newInstance();
               
  @@ -401,7 +401,7 @@
           
           try {
               pdo = (ConsumerPortletRegistrationList) Class.forName(
  -                    "org.apache.wsrp4j.persistence.xml.driver." +
  +                    "org.apache.wsrp4j.commons.persistence.xml.driver." +
                       "ConsumerPortletRegistrationList").
                       newInstance();