Skip to Content.
Sympa Menu

notify-dpml - r864 - in trunk/main: depot/tools/builder/src/main/net/dpml/tools/tasks metro/part/api/src/main/net/dpml/part metro/runtime/src/main/net/dpml/metro/runtime metro/test/src/main/net/dpml/test/app metro/test/src/main/net/dpml/test/composite

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r864 - in trunk/main: depot/tools/builder/src/main/net/dpml/tools/tasks metro/part/api/src/main/net/dpml/part metro/runtime/src/main/net/dpml/metro/runtime metro/test/src/main/net/dpml/test/app metro/test/src/main/net/dpml/test/composite
  • Date: Fri, 6 Jan 2006 16:07:21 +0100

Author: mcconnell
Date: 2006-01-06 16:07:19 +0100 (Fri, 06 Jan 2006)
New Revision: 864

Modified:
trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks/JavacTask.java
trunk/main/metro/part/api/src/main/net/dpml/part/Parts.java
trunk/main/metro/part/api/src/main/net/dpml/part/UnknownPartException.java

trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/ComponentHandler.java

trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/PartsInvocationHandler.java
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/PartsManager.java
trunk/main/metro/test/src/main/net/dpml/test/app/Demo.java
trunk/main/metro/test/src/main/net/dpml/test/composite/PartsComponent.java
Log:
cleanup checkstyle issues

Modified:
trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks/JavacTask.java
===================================================================
---
trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks/JavacTask.java
2006-01-06 14:28:39 UTC (rev 863)
+++
trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks/JavacTask.java
2006-01-06 15:07:19 UTC (rev 864)
@@ -77,6 +77,8 @@
private static final boolean DEBUG_VALUE = true;
private static final boolean FORK_VALUE = false;
private static final boolean DEPRECATION_VALUE = true;
+ private static final String SOURCE_VALUE = "1.4";
+ private static final String TARGET_VALUE = "1.4";

private final Context m_context;
private final Processor m_processor;
@@ -241,12 +243,12 @@

private String getSourceProperty()
{
- return getProperty( SOURCE_KEY, null );
+ return getProperty( SOURCE_KEY, SOURCE_VALUE );
}

private String getTargetProperty()
{
- return getProperty( TARGET_KEY, null );
+ return getProperty( TARGET_KEY, TARGET_VALUE );
}

private boolean getBooleanProperty( final String key, final boolean
fallback )

Modified: trunk/main/metro/part/api/src/main/net/dpml/part/Parts.java
===================================================================
--- trunk/main/metro/part/api/src/main/net/dpml/part/Parts.java 2006-01-06
14:28:39 UTC (rev 863)
+++ trunk/main/metro/part/api/src/main/net/dpml/part/Parts.java 2006-01-06
15:07:19 UTC (rev 864)
@@ -35,18 +35,21 @@

/**
* Return a component manager.
+ * @param key the internal part key
* @return the local component manager
+ * @exception UnknownPartException the key is not recognized
*/
Manager getManager( String key ) throws UnknownPartException;

+ /**
+ * Return the commissioned state of the part collection.
+ * @return true if commissioned else false
+ */
boolean isCommissioned();

/**
* Initiate the oprdered activation of all internal parts.
* @exception ControlException if an activation error occurs
- * @exception InvocationTargetException if the component declares
activation on startup
- * and a implementation source exception occured
- * @exception RemoteException if a remote exception occurs
*/
void commission() throws ControlException;


Modified:
trunk/main/metro/part/api/src/main/net/dpml/part/UnknownPartException.java
===================================================================
---
trunk/main/metro/part/api/src/main/net/dpml/part/UnknownPartException.java
2006-01-06 14:28:39 UTC (rev 863)
+++
trunk/main/metro/part/api/src/main/net/dpml/part/UnknownPartException.java
2006-01-06 15:07:19 UTC (rev 864)
@@ -18,8 +18,6 @@

package net.dpml.part;

-import java.net.URI;
-
/**
* Exception thrown when a component request an unknown part.
*

Modified:
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/ComponentHandler.java
===================================================================
---
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/ComponentHandler.java
2006-01-06 14:28:39 UTC (rev 863)
+++
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/ComponentHandler.java
2006-01-06 15:07:19 UTC (rev 864)
@@ -42,7 +42,6 @@

import net.dpml.logging.Logger;

-import net.dpml.part.Parts;
import net.dpml.part.ActivationPolicy;
import net.dpml.part.Component;
import net.dpml.part.ControlException;
@@ -54,14 +53,10 @@
import net.dpml.part.Manager;
import net.dpml.part.ModelEvent;
import net.dpml.part.ModelListener;
-import net.dpml.part.ContextEvent;
-import net.dpml.part.ContextListener;
import net.dpml.part.UnknownPartException;

import net.dpml.state.State;

-import net.dpml.transit.model.UnknownKeyException;
-
/**
* <p>Runtime handler for a component. The component handler maintains an
internal
* map of all instances derived from the component model based on the
LifestylePolicy

Modified:
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/PartsInvocationHandler.java
===================================================================
---
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/PartsInvocationHandler.java
2006-01-06 14:28:39 UTC (rev 863)
+++
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/PartsInvocationHandler.java
2006-01-06 15:07:19 UTC (rev 864)
@@ -24,7 +24,6 @@

import net.dpml.part.Manager;
import net.dpml.part.Component;
-import net.dpml.part.Provider;
import net.dpml.part.Parts;

/**

Modified:
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/PartsManager.java
===================================================================
---
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/PartsManager.java
2006-01-06 14:28:39 UTC (rev 863)
+++
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/PartsManager.java
2006-01-06 15:07:19 UTC (rev 864)
@@ -18,14 +18,7 @@

package net.dpml.metro.runtime;

-import java.beans.PropertyChangeListener;
-import java.beans.PropertyChangeEvent;
-import java.lang.reflect.InvocationHandler;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Proxy;
import java.rmi.RemoteException;
-import java.util.EventObject;
-import java.util.EventListener;
import java.util.Map;
import java.util.ArrayList;
import java.util.Hashtable;
@@ -34,7 +27,6 @@

import net.dpml.metro.model.ComponentModel;

-import net.dpml.part.Provider;
import net.dpml.part.Component;
import net.dpml.part.ControlException;
import net.dpml.part.Parts;

Modified: trunk/main/metro/test/src/main/net/dpml/test/app/Demo.java
===================================================================
--- trunk/main/metro/test/src/main/net/dpml/test/app/Demo.java 2006-01-06
14:28:39 UTC (rev 863)
+++ trunk/main/metro/test/src/main/net/dpml/test/app/Demo.java 2006-01-06
15:07:19 UTC (rev 864)
@@ -51,6 +51,7 @@
* server which in turn fires notifiy requests to listeners.
* @param message the notification message
* @return the number of notify messages fired to the listener
+ * @exception Exception if something goes wrong
*/
public int test( String message ) throws Exception
{

Modified:
trunk/main/metro/test/src/main/net/dpml/test/composite/PartsComponent.java
===================================================================
---
trunk/main/metro/test/src/main/net/dpml/test/composite/PartsComponent.java
2006-01-06 14:28:39 UTC (rev 863)
+++
trunk/main/metro/test/src/main/net/dpml/test/composite/PartsComponent.java
2006-01-06 15:07:19 UTC (rev 864)
@@ -117,6 +117,7 @@
/**
* Return the child component for evaluation by the testcase.
* @return the child
+ * @exception Exception if an error occurs
*/
public ChildComponent getChild() throws Exception
{




  • r864 - in trunk/main: depot/tools/builder/src/main/net/dpml/tools/tasks metro/part/api/src/main/net/dpml/part metro/runtime/src/main/net/dpml/metro/runtime metro/test/src/main/net/dpml/test/app metro/test/src/main/net/dpml/test/composite, mcconnell at BerliOS, 01/06/2006

Archive powered by MHonArc 2.6.24.

Top of Page