notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2643 - in development/main/transit/core/handler/src: main/net/dpml/transit/manager main/net/dpml/transit/model test/net/dpml/transit/manager
- From: mcconnell AT dpml.net
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2643 - in development/main/transit/core/handler/src: main/net/dpml/transit/manager main/net/dpml/transit/model test/net/dpml/transit/manager
- Date: Sat, 21 May 2005 06:11:06 +0000
Author: mcconnell AT dpml.net
Date: Sat May 21 06:11:04 2005
New Revision: 2643
Added:
development/main/transit/core/handler/src/main/net/dpml/transit/manager/package.html
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/model/CacheListener.java
development/main/transit/core/handler/src/main/net/dpml/transit/model/ContentEvent.java
development/main/transit/core/handler/src/main/net/dpml/transit/model/ContentModel.java
development/main/transit/core/handler/src/main/net/dpml/transit/model/EnabledEvent.java
development/main/transit/core/handler/src/main/net/dpml/transit/model/FileChangeEvent.java
development/main/transit/core/handler/src/main/net/dpml/transit/model/HostChangeEvent.java
development/main/transit/core/handler/src/main/net/dpml/transit/model/HostEvent.java
development/main/transit/core/handler/src/main/net/dpml/transit/model/HostNodeEvent.java
development/main/transit/core/handler/src/main/net/dpml/transit/model/NameChangeEvent.java
development/main/transit/core/handler/src/main/net/dpml/transit/model/PluginChangeEvent.java
development/main/transit/core/handler/src/main/net/dpml/transit/model/PriorityEvent.java
development/main/transit/core/handler/src/main/net/dpml/transit/model/ProxyChangeEvent.java
development/main/transit/core/handler/src/main/net/dpml/transit/model/ProxyListener.java
development/main/transit/core/handler/src/main/net/dpml/transit/model/RegistryEvent.java
development/main/transit/core/handler/src/main/net/dpml/transit/model/TrustedEvent.java
development/main/transit/core/handler/src/test/net/dpml/transit/manager/TransitManagerTestCase.java
Log:
javadocing
Added:
development/main/transit/core/handler/src/main/net/dpml/transit/manager/package.html
==============================================================================
--- (empty file)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/manager/package.html
Sat May 21 06:11:04 2005
@@ -0,0 +1,9 @@
+
+<body>
+<p>
+The manager package contains a set of classes that provide the
implementation of an active
+configuration model based on java.util.prefs.Preferences. The <a
href="TransitManager.html">
+TransitManager</a> class defines the root of the configuration model from
which <a href="CacheManager.html">CacheManager</a>, <a
href="RegistryManager.html">RegistryManager</a> and <a
href="RepositoryManager.html">RepositoryManager</a> instances handle the
respective management roles.
+</p>.
+</body>
+
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/model/CacheListener.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/model/CacheListener.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/model/CacheListener.java
Sat May 21 06:11:04 2005
@@ -20,6 +20,9 @@
import java.util.EventListener;
+/**
+ * A listener for events related to the Transit cache subsystem.
+ */
public interface CacheListener extends EventListener
{
/**
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/model/ContentEvent.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/model/ContentEvent.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/model/ContentEvent.java
Sat May 21 06:11:04 2005
@@ -20,6 +20,9 @@
import java.util.EventObject;
+/**
+ * A event pertaining to content model changes.
+ */
public class ContentEvent extends EventObject
{
private final ContentModel m_content;
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/model/ContentModel.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/model/ContentModel.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/model/ContentModel.java
Sat May 21 06:11:04 2005
@@ -21,7 +21,7 @@
import java.net.URI;
/**
- * A ContentModel maintains information about the contiguration
+ * A ContentModel maintains information about the configuration
* of a content handler. Instances of ContentModel are used as
* constructor arguments to content handler plugins.
*/
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/model/EnabledEvent.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/model/EnabledEvent.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/model/EnabledEvent.java
Sat May 21 06:11:04 2005
@@ -18,6 +18,9 @@
package net.dpml.transit.model;
+/**
+ * An event signalling the change in the enabled status of a host model.
+ */
public class EnabledEvent extends HostEvent
{
private final boolean m_enabled;
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/model/FileChangeEvent.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/model/FileChangeEvent.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/model/FileChangeEvent.java
Sat May 21 06:11:04 2005
@@ -21,6 +21,9 @@
import java.io.File;
import java.util.EventObject;
+/**
+ * Event signalling a change to the Tranist cache directory.
+ */
public abstract class FileChangeEvent extends EventObject
{
private final File m_file;
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/model/HostChangeEvent.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/model/HostChangeEvent.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/model/HostChangeEvent.java
Sat May 21 06:11:04 2005
@@ -24,6 +24,10 @@
import net.dpml.transit.network.RequestIdentifier;
+/**
+ * An event pertaining to a modification to a host model base url,
+ * index, request identifier or connection credentials.
+ */
public class HostChangeEvent extends HostEvent
{
private final URL m_base;
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/model/HostEvent.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/model/HostEvent.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/model/HostEvent.java
Sat May 21 06:11:04 2005
@@ -20,6 +20,9 @@
import java.util.EventObject;
+/**
+ * An abstract event pertaining to host feature changes.
+ */
public abstract class HostEvent extends EventObject
{
private final HostModel m_host;
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/model/HostNodeEvent.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/model/HostNodeEvent.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/model/HostNodeEvent.java
Sat May 21 06:11:04 2005
@@ -20,6 +20,9 @@
import java.util.EventObject;
+/**
+ * An event related to the addition or removal of a host.
+ */
public abstract class HostNodeEvent extends EventObject
{
private final HostModel m_host;
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/model/NameChangeEvent.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/model/NameChangeEvent.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/model/NameChangeEvent.java
Sat May 21 06:11:04 2005
@@ -18,6 +18,9 @@
package net.dpml.transit.model;
+/**
+ * An event signalling the change of name of a host.
+ */
public class NameChangeEvent extends HostEvent
{
private final String m_name;
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/model/PluginChangeEvent.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/model/PluginChangeEvent.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/model/PluginChangeEvent.java
Sat May 21 06:11:04 2005
@@ -21,6 +21,9 @@
import java.net.URI;
import java.util.EventObject;
+/**
+ * An event pertaining to the change in a plugin uri.
+ */
public class PluginChangeEvent extends EventObject
{
private final URI m_plugin;
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/model/PriorityEvent.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/model/PriorityEvent.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/model/PriorityEvent.java
Sat May 21 06:11:04 2005
@@ -18,6 +18,9 @@
package net.dpml.transit.model;
+/**
+ * An event signalling the change in priority of a host.
+ */
public class PriorityEvent extends HostEvent
{
private final int m_priority;
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/model/ProxyChangeEvent.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/model/ProxyChangeEvent.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/model/ProxyChangeEvent.java
Sat May 21 06:11:04 2005
@@ -24,6 +24,9 @@
import net.dpml.transit.network.RequestIdentifier;
+/**
+ * An event pertaining to changes in the Transit proxy configuration.
+ */
public class ProxyChangeEvent extends EventObject
{
private final RequestIdentifier m_identifier;
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/model/ProxyListener.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/model/ProxyListener.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/model/ProxyListener.java
Sat May 21 06:11:04 2005
@@ -21,8 +21,8 @@
import java.util.EventListener;
/**
- * A ContentListener maintains information about the configuration of
- * content type.
+ * A ProxyListener maintains information about the configuration of
+ * tranist proxy settings.
*/
public interface ProxyListener extends EventListener
{
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/model/RegistryEvent.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/model/RegistryEvent.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/model/RegistryEvent.java
Sat May 21 06:11:04 2005
@@ -20,6 +20,10 @@
import java.util.EventObject;
+/**
+ * An event issued by a registry signalling changes tye addition or removal
+ * of a content model.
+ */
public abstract class RegistryEvent extends EventObject
{
private final ContentModel m_content;
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/model/TrustedEvent.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/model/TrustedEvent.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/model/TrustedEvent.java
Sat May 21 06:11:04 2005
@@ -18,6 +18,9 @@
package net.dpml.transit.model;
+/**
+ * An event signalling the change in the trusted status of a host.
+ */
public class TrustedEvent extends HostEvent
{
private final boolean m_trusted;
Modified:
development/main/transit/core/handler/src/test/net/dpml/transit/manager/TransitManagerTestCase.java
==============================================================================
---
development/main/transit/core/handler/src/test/net/dpml/transit/manager/TransitManagerTestCase.java
(original)
+++
development/main/transit/core/handler/src/test/net/dpml/transit/manager/TransitManagerTestCase.java
Sat May 21 06:11:04 2005
@@ -46,13 +46,8 @@
String path = "target/test/data";
m_data = new File( path );
System.setProperty( "dpml.data", path );
-
- File archive = new File( "target/test/prefs.xml" );
Preferences prefs = Preferences.userNodeForPackage( Transit.class );
m_prefs = prefs.node( "test" );
- m_prefs.importPreferences( new FileInputStream( archive ) );
- m_prefs.sync();
-
Logger logger = Logger.getLogger( "test" );
m_manager = new TransitManager( logger, m_prefs );
}
- svn commit: r2643 - in development/main/transit/core/handler/src: main/net/dpml/transit/manager main/net/dpml/transit/model test/net/dpml/transit/manager, mcconnell, 05/21/2005
Archive powered by MHonArc 2.6.24.