activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r429358 - in /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq: broker/BrokerService.java xbean/XBeanBrokerService.java
Date Mon, 07 Aug 2006 14:54:29 GMT
Author: chirino
Date: Mon Aug  7 07:54:29 2006
New Revision: 429358

URL: http://svn.apache.org/viewvc?rev=429358&view=rev
Log:
Beter documentation for xbean reference generation.

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/xbean/XBeanBrokerService.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java?rev=429358&r1=429357&r2=429358&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
Mon Aug  7 07:54:29 2006
@@ -78,7 +78,7 @@
 import java.util.Map;
 
 /**
- * Represents a running broker service which consists of a number of transport
+ * Manages the lifecycle of an ActiveMQ Broker. A BrokerService consists of a number of transport
  * connectors, network connectors and a bunch of properties which can be used to
  * configure the broker as its lazily created.
  *
@@ -701,6 +701,8 @@
     /**
      * Sets the transport connectors which this broker will listen on for new
      * clients
+     * 
+     * @org.apache.xbean.Property nestedType="org.apache.activemq.broker.TransportConnector"
      */
     public void setTransportConnectors(List transportConnectors) throws Exception {
         for (Iterator iter = transportConnectors.iterator(); iter.hasNext();) {
@@ -720,6 +722,8 @@
     /**
      * Sets the network connectors which this broker will use to connect to
      * other brokers in a federated network
+     * 
+     * @org.apache.xbean.Property nestedType="org.apache.activemq.network.NetworkConnector"
      */
     public void setNetworkConnectors(List networkConnectors) throws Exception {
         for (Iterator iter = networkConnectors.iterator(); iter.hasNext();) {

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/xbean/XBeanBrokerService.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/xbean/XBeanBrokerService.java?rev=429358&r1=429357&r2=429358&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/xbean/XBeanBrokerService.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/xbean/XBeanBrokerService.java
Mon Aug  7 07:54:29 2006
@@ -22,14 +22,17 @@
 import org.springframework.beans.factory.InitializingBean;
 
 /**
- * Represents a running broker service which consists of a number of transport
+ * An ActiveMQ Message Broker. It consists of a number of transport
  * connectors, network connectors and a bunch of properties which can be used to
  * configure the broker as its lazily created.
  * 
- * @org.apache.xbean.XBean element="broker" rootElement="true" description="An ActiveMQ
- *                  Message Broker which consists of a number of transport
- *                  connectors, network connectors and a persistence adaptor"
- * 
+ * @org.apache.xbean.XBean element="broker" rootElement="true"
+ * @org.apache.xbean.Defaults {code:xml} 
+ * <broker test="foo.bar">
+ *   lets.
+ *   see what it includes.
+ * </broker>   
+ * {code}
  * @version $Revision: 1.1 $
  */
 public class XBeanBrokerService extends BrokerService implements InitializingBean, DisposableBean
{



Mime
View raw message