git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1152194 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2011-07-29 12:58:18 +00:00
parent 8c59bc3348
commit cef02210b7
1 changed files with 5 additions and 5 deletions

View File

@ -50,7 +50,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/** /**
* *
*/ */
public abstract class AbstractRegion implements Region { public abstract class AbstractRegion implements Region {
@ -78,7 +78,7 @@ public abstract class AbstractRegion implements Region {
this.destinationStatistics = destinationStatistics; this.destinationStatistics = destinationStatistics;
this.usageManager = memoryManager; this.usageManager = memoryManager;
this.taskRunnerFactory = taskRunnerFactory; this.taskRunnerFactory = taskRunnerFactory;
if (broker == null) { if (destinationFactory == null) {
throw new IllegalArgumentException("null destinationFactory"); throw new IllegalArgumentException("null destinationFactory");
} }
this.destinationFactory = destinationFactory; this.destinationFactory = destinationFactory;
@ -223,7 +223,7 @@ public abstract class AbstractRegion implements Region {
/** /**
* Provide an exact or wildcard lookup of destinations in the region * Provide an exact or wildcard lookup of destinations in the region
* *
* @return a set of matching destination objects. * @return a set of matching destination objects.
*/ */
public Set<Destination> getDestinations(ActiveMQDestination destination) { public Set<Destination> getDestinations(ActiveMQDestination destination) {
@ -314,7 +314,7 @@ public abstract class AbstractRegion implements Region {
/** /**
* Get all the Destinations that are in storage * Get all the Destinations that are in storage
* *
* @return Set of all stored destinations * @return Set of all stored destinations
*/ */
public Set getDurableDestinations() { public Set getDurableDestinations() {
@ -506,7 +506,7 @@ public abstract class AbstractRegion implements Region {
/** /**
* Removes a Producer. * Removes a Producer.
* *
* @param context * @param context
* the environment the operation is being executed under. * the environment the operation is being executed under.
* @throws Exception * @throws Exception