Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2718 - in development/main/transit/core/handler/src/main/net/dpml/transit: builder cache host management network

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell AT dpml.net
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2718 - in development/main/transit/core/handler/src/main/net/dpml/transit: builder cache host management network
  • Date: Sun, 05 Jun 2005 14:55:06 -0400

Author: mcconnell AT dpml.net
Date: Sun Jun 5 14:55:06 2005
New Revision: 2718

Added:

development/main/transit/core/handler/src/main/net/dpml/transit/cache/DefaultResourceHost.java
- copied, changed from r2703,
development/main/transit/core/handler/src/main/net/dpml/transit/host/DefaultResourceHost.java

development/main/transit/core/handler/src/main/net/dpml/transit/cache/ResourceHost.java
- copied, changed from r2702,
development/main/transit/core/handler/src/main/net/dpml/transit/host/ResourceHost.java
Removed:
development/main/transit/core/handler/src/main/net/dpml/transit/host/
Modified:

development/main/transit/core/handler/src/main/net/dpml/transit/builder/PreferencesStorageHome.java

development/main/transit/core/handler/src/main/net/dpml/transit/cache/DefaultCacheHandler.java

development/main/transit/core/handler/src/main/net/dpml/transit/management/ModelReferenceException.java

development/main/transit/core/handler/src/main/net/dpml/transit/management/PluginManager.java

development/main/transit/core/handler/src/main/net/dpml/transit/network/TransitAuthenticatorImpl.java
Log:
Move the DefaultResourceHost and ResourceHost classes under the cache package
as these two packages (cache and host) are effectivly a single sub-system.

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/builder/PreferencesStorageHome.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/builder/PreferencesStorageHome.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/builder/PreferencesStorageHome.java
Sun Jun 5 14:55:06 2005
@@ -195,7 +195,7 @@
try
{
return new DefaultTransitManager(
- this, logger, creation, layout, cache, content, repository,
proxy );
+ store, logger, creation, layout, cache, content, repository,
proxy );
}
catch( Throwable e )
{

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/cache/DefaultCacheHandler.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/cache/DefaultCacheHandler.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/cache/DefaultCacheHandler.java
Sun Jun 5 14:55:06 2005
@@ -50,8 +50,6 @@
import net.dpml.transit.artifact.Artifact;
import net.dpml.transit.artifact.ArtifactAlreadyExistsException;
import net.dpml.transit.artifact.ArtifactNotFoundException;
-import net.dpml.transit.host.ResourceHost;
-import net.dpml.transit.host.DefaultResourceHost;
import net.dpml.transit.layout.Layout;
import net.dpml.transit.model.CacheModel;
import net.dpml.transit.model.CacheListener;

Copied:
development/main/transit/core/handler/src/main/net/dpml/transit/cache/DefaultResourceHost.java
(from r2703,
development/main/transit/core/handler/src/main/net/dpml/transit/host/DefaultResourceHost.java)
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/host/DefaultResourceHost.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/cache/DefaultResourceHost.java
Sun Jun 5 14:55:06 2005
@@ -17,7 +17,7 @@
* limitations under the License.
*/

-package net.dpml.transit.host;
+package net.dpml.transit.cache;

import javax.net.ssl.HttpsURLConnection;
import javax.net.ssl.SSLContext;

Copied:
development/main/transit/core/handler/src/main/net/dpml/transit/cache/ResourceHost.java
(from r2702,
development/main/transit/core/handler/src/main/net/dpml/transit/host/ResourceHost.java)
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/host/ResourceHost.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/cache/ResourceHost.java
Sun Jun 5 14:55:06 2005
@@ -16,7 +16,7 @@
* limitations under the License.
*/

-package net.dpml.transit.host;
+package net.dpml.transit.cache;

import net.dpml.transit.artifact.Artifact;


Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/management/ModelReferenceException.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/management/ModelReferenceException.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/management/ModelReferenceException.java
Sun Jun 5 14:55:06 2005
@@ -35,8 +35,8 @@
/**
* Construct a new <code>ModelReferenceException</code> instance.
*
- * @param model the target model
- * @param consumer the consumer model
+ * @param target the target model
+ * @param consumers the consumer models
*/
public ModelReferenceException( final Model target, final Object[]
consumers )
{

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/management/PluginManager.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/management/PluginManager.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/management/PluginManager.java
Sun Jun 5 14:55:06 2005
@@ -31,7 +31,7 @@
{
/**
* Set the plugin uri value.
- * @param the plugin uri
+ * @param uri the plugin uri
*/
void setPluginURI( URI uri );


Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/network/TransitAuthenticatorImpl.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/network/TransitAuthenticatorImpl.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/network/TransitAuthenticatorImpl.java
Sun Jun 5 14:55:06 2005
@@ -56,9 +56,12 @@
{
if( authenticator == null )
{
- throw new NullArgumentException( "authenticator" );
+ m_authentication = new PasswordAuthentication( "",
"".toCharArray() );
+ }
+ else
+ {
+ m_authentication = authenticator;
}
- m_authentication = authenticator;
}

/**



  • svn commit: r2718 - in development/main/transit/core/handler/src/main/net/dpml/transit: builder cache host management network, mcconnell, 06/05/2005

Archive powered by MHonArc 2.6.24.

Top of Page