Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2779 - in development/main/transit/core/handler/src/main/net/dpml/transit: builder manager

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: r2779 - in development/main/transit/core/handler/src/main/net/dpml/transit: builder manager
  • Date: Tue, 07 Jun 2005 08:02:41 -0400

Author: mcconnell AT dpml.net
Date: Tue Jun 7 08:02:40 2005
New Revision: 2779

Modified:

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

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

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

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

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

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

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

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

development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultCacheManager.java

development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultContentRegistryManager.java

development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultHostManager.java

development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultLayoutRegistryManager.java

development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultProxyManager.java

development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultTransitManager.java
Log:
housekeeping

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/builder/CacheStorageUnit.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/builder/CacheStorageUnit.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/builder/CacheStorageUnit.java
Tue Jun 7 08:02:40 2005
@@ -143,9 +143,9 @@
{
if( getStoragePolicy() )
{
- CacheManager manager = (CacheManager) event.getManager();
try
{
+ CacheManager manager = (CacheManager) event.getManager();
Date date = new Date();
store( manager );
manager.setCreationDate( date );
@@ -153,7 +153,7 @@
catch( Throwable e )
{
// TODO: propergate the error up to the HCI
- manager.getLogger().error( "storage failure", e );
+ getLogger().error( "storage failure", e );
}
}
}

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/builder/ContentRegistryStorageUnit.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/builder/ContentRegistryStorageUnit.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/builder/ContentRegistryStorageUnit.java
Tue Jun 7 08:02:40 2005
@@ -80,9 +80,9 @@
{
if( getStoragePolicy() )
{
- ContentRegistryManager manager = (ContentRegistryManager)
event.getManager();
try
{
+ ContentRegistryManager manager = (ContentRegistryManager)
event.getManager();
Date date = new Date();
store( manager );
manager.setCreationDate( date );
@@ -90,7 +90,7 @@
catch( Throwable e )
{
// TODO: propergate the error up to the HCI
- manager.getLogger().error( "storage failure", e );
+ getLogger().error( "storage failure", e );
}
}
}

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/builder/ContentStorageUnit.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/builder/ContentStorageUnit.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/builder/ContentStorageUnit.java
Tue Jun 7 08:02:40 2005
@@ -51,9 +51,9 @@
{
if( getStoragePolicy() )
{
- ContentManager manager = (ContentManager) event.getManager();
try
{
+ ContentManager manager = (ContentManager) event.getManager();
Date date = new Date();
store( manager );
manager.setCreationDate( date );
@@ -61,7 +61,7 @@
catch( Throwable e )
{
// TODO: propergate the error up to the HCI
- manager.getLogger().error( "storage failure", e );
+ getLogger().error( "storage failure", e );
}
}
}

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/builder/HostStorageUnit.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/builder/HostStorageUnit.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/builder/HostStorageUnit.java
Tue Jun 7 08:02:40 2005
@@ -143,14 +143,7 @@
throws BuilderException
{
Preferences prefs = getPreferences();
- String baseSpec = prefs.get( "base", null );
- if( null == baseSpec )
- {
- final String error =
- "Undefined host base url"
- + "\nHost ID: " + prefs.name();
- throw new BuilderException( error );
- }
+ String baseSpec = prefs.get( "base", "http://localhost"; );

//
// make sure the base path ends with a "/" otherwise relative url
references

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/builder/LayoutRegistryStorageUnit.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/builder/LayoutRegistryStorageUnit.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/builder/LayoutRegistryStorageUnit.java
Tue Jun 7 08:02:40 2005
@@ -79,9 +79,9 @@
{
if( getStoragePolicy() )
{
- LayoutRegistryManager manager = (LayoutRegistryManager)
event.getManager();
try
{
+ LayoutRegistryManager manager = (LayoutRegistryManager)
event.getManager();
Date date = new Date();
store( manager );
manager.setCreationDate( date );
@@ -89,7 +89,7 @@
catch( Throwable e )
{
// TODO: propergate the error up to the HCI
- manager.getLogger().error( "storage failure", e );
+ getLogger().error( "storage failure", e );
}
}
}

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/builder/LayoutStorageUnit.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/builder/LayoutStorageUnit.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/builder/LayoutStorageUnit.java
Tue Jun 7 08:02:40 2005
@@ -52,9 +52,9 @@
{
if( getStoragePolicy() )
{
- LayoutManager manager = (LayoutManager) event.getManager();
try
{
+ LayoutManager manager = (LayoutManager) event.getManager();
Date date = new Date();
store( manager );
manager.setCreationDate( date );
@@ -62,7 +62,7 @@
catch( Throwable e )
{
// TODO: propergate the error up to the HCI
- manager.getLogger().error( "storage failure", e );
+ getLogger().error( "storage failure", e );
}
}
}

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/builder/ProxyStorageUnit.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/builder/ProxyStorageUnit.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/builder/ProxyStorageUnit.java
Tue Jun 7 08:02:40 2005
@@ -53,9 +53,9 @@
{
if( getStoragePolicy() )
{
- ProxyManager manager = (ProxyManager) event.getManager();
try
{
+ ProxyManager manager = (ProxyManager) event.getManager();
Date date = new Date();
store( manager );
manager.setCreationDate( date );
@@ -63,7 +63,7 @@
catch( Throwable e )
{
// TODO: propergate the error up to the HCI
- manager.getLogger().error( "storage failure", e );
+ getLogger().error( "storage failure", e );
}
}
}

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/builder/RepositoryStorageUnit.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/builder/RepositoryStorageUnit.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/builder/RepositoryStorageUnit.java
Tue Jun 7 08:02:40 2005
@@ -53,9 +53,9 @@
{
if( getStoragePolicy() )
{
- RepositoryManager manager = (RepositoryManager)
event.getManager();
try
{
+ RepositoryManager manager = (RepositoryManager)
event.getManager();
Date date = new Date();
store( manager );
manager.setCreationDate( date );
@@ -63,7 +63,7 @@
catch( Throwable e )
{
// TODO: propergate the error up to the HCI
- manager.getLogger().error( "storage failure", e );
+ getLogger().error( "storage failure", e );
}
}
}

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultCacheManager.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultCacheManager.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultCacheManager.java
Tue Jun 7 08:02:40 2005
@@ -135,8 +135,8 @@
*/
public void modified( ModificationEvent event )
{
- ModificationEvent e = new ModificationEvent( this, event );
- enqueueEvent( e );
+ //ModificationEvent e = new ModificationEvent( this, event );
+ //enqueueEvent( e );
}

//
------------------------------------------------------------------------

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultContentRegistryManager.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultContentRegistryManager.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultContentRegistryManager.java
Tue Jun 7 08:02:40 2005
@@ -90,8 +90,8 @@
*/
public void modified( ModificationEvent event )
{
- ModificationEvent e = new ModificationEvent( this, event );
- enqueueEvent( e );
+ //ModificationEvent e = new ModificationEvent( this, event );
+ //enqueueEvent( e );
}

//
------------------------------------------------------------------------

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultHostManager.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultHostManager.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultHostManager.java
Tue Jun 7 08:02:40 2005
@@ -183,7 +183,6 @@
}
}

-System.out.println( "# setting host layout" );
m_layout = layout;
setModified();
HostLayoutEvent e = new HostLayoutEvent( this, m_layout );

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultLayoutRegistryManager.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultLayoutRegistryManager.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultLayoutRegistryManager.java
Tue Jun 7 08:02:40 2005
@@ -95,8 +95,8 @@
*/
public void modified( ModificationEvent event )
{
- ModificationEvent e = new ModificationEvent( this, event );
- enqueueEvent( e );
+ //ModificationEvent e = new ModificationEvent( this, event );
+ //enqueueEvent( e );
}

//
------------------------------------------------------------------------

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultProxyManager.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultProxyManager.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultProxyManager.java
Tue Jun 7 08:02:40 2005
@@ -245,6 +245,4 @@
return new RequestIdentifier( host, port, protocol, scheme,
prompt );
}
}
-
-
}

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultTransitManager.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultTransitManager.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/manager/DefaultTransitManager.java
Tue Jun 7 08:02:40 2005
@@ -105,8 +105,8 @@
*/
public void modified( ModificationEvent event )
{
- ModificationEvent e = new ModificationEvent( this, event );
- enqueueEvent( e );
+ //ModificationEvent e = new ModificationEvent( this, event );
+ //enqueueEvent( e );
}

//
------------------------------------------------------------------------



  • svn commit: r2779 - in development/main/transit/core/handler/src/main/net/dpml/transit: builder manager, mcconnell, 06/07/2005

Archive powered by MHonArc 2.6.24.

Top of Page