@SuppressWarnings({"rawtypes", "unchecked"}) protected Set findWildcardMatches(ActiveMQDestination key, boolean deep) { String[] paths = key.getDestinationPaths(); Set answer = new HashSet(); getRootNode(key).appendMatchingValues(answer, paths, 0, deep); return answer; }
ActiveMQDestination postfixDestination = postfix.length() > 0 ? new ActiveMQTopic(postfix) : null; String[] prefixPaths = prefixDestination != null ? prefixDestination.getDestinationPaths() : new String[] {}; String[] activeMQDestPaths = activeMQDest.getDestinationPaths(); String[] postfixPaths = postfixDestination != null ? postfixDestination.getDestinationPaths() : new String[] {};
/** * @param key * @return */ @SuppressWarnings({"rawtypes", "unchecked"}) public Set removeAll(ActiveMQDestination key) { Set rc = new HashSet(); if (key.isComposite()) { ActiveMQDestination[] destinations = key.getCompositeDestinations(); for (int i = 0; i < destinations.length; i++) { rc.add(removeAll(destinations[i])); } return rc; } String[] paths = key.getDestinationPaths(); getRootNode(key).removeAll(rc, paths, 0); return rc; }
public void unsynchronizedPut(ActiveMQDestination key, Object value) { if (key.isComposite()) { ActiveMQDestination[] destinations = key.getCompositeDestinations(); for (int i = 0; i < destinations.length; i++) { ActiveMQDestination childDestination = destinations[i]; put(childDestination, value); } return; } String[] paths = key.getDestinationPaths(); getRootNode(key).add(paths, 0, value); }
public void unsynchronizedRemove(ActiveMQDestination key, Object value) { if (key.isComposite()) { ActiveMQDestination[] destinations = key.getCompositeDestinations(); for (int i = 0; i < destinations.length; i++) { ActiveMQDestination childDestination = destinations[i]; remove(childDestination, value); } return; } String[] paths = key.getDestinationPaths(); getRootNode(key).remove(paths, 0, value); }
@SuppressWarnings({"rawtypes", "unchecked"}) protected Set findWildcardMatches(ActiveMQDestination key, boolean deep) { String[] paths = key.getDestinationPaths(); Set answer = new HashSet(); getRootNode(key).appendMatchingValues(answer, paths, 0, deep); return answer; }
@SuppressWarnings({"rawtypes", "unchecked"}) protected Set findWildcardMatches(ActiveMQDestination key, boolean deep) { String[] paths = key.getDestinationPaths(); Set answer = new HashSet(); getRootNode(key).appendMatchingValues(answer, paths, 0, deep); return answer; }
@SuppressWarnings({"rawtypes", "unchecked"}) protected Set findWildcardMatches(ActiveMQDestination key, boolean deep) { String[] paths = key.getDestinationPaths(); Set answer = new HashSet(); getRootNode(key).appendMatchingValues(answer, paths, 0, deep); return answer; }
protected Set findWildcardMatches(ActiveMQDestination key) { String[] paths = key.getDestinationPaths(); Set answer = new HashSet(); getRootNode(key).appendMatchingValues(answer, paths, 0); return answer; }
/** * @param key * @return */ @SuppressWarnings({"rawtypes", "unchecked"}) public Set removeAll(ActiveMQDestination key) { Set rc = new HashSet(); if (key.isComposite()) { ActiveMQDestination[] destinations = key.getCompositeDestinations(); for (int i = 0; i < destinations.length; i++) { rc.add(removeAll(destinations[i])); } return rc; } String[] paths = key.getDestinationPaths(); getRootNode(key).removeAll(rc, paths, 0); return rc; }
/** * @param key * @return */ @SuppressWarnings({"rawtypes", "unchecked"}) public Set removeAll(ActiveMQDestination key) { Set rc = new HashSet(); if (key.isComposite()) { ActiveMQDestination[] destinations = key.getCompositeDestinations(); for (int i = 0; i < destinations.length; i++) { rc.add(removeAll(destinations[i])); } return rc; } String[] paths = key.getDestinationPaths(); getRootNode(key).removeAll(rc, paths, 0); return rc; }
/** * @param key * @return */ public Set removeAll(ActiveMQDestination key) { Set rc = new HashSet(); if (key.isComposite()) { ActiveMQDestination[] destinations = key.getCompositeDestinations(); for (int i = 0; i < destinations.length; i++) { rc.add(removeAll(destinations[i])); } return rc; } String[] paths = key.getDestinationPaths(); getRootNode(key).removeAll(rc, paths, 0); return rc; }
public void unsynchronizedRemove(ActiveMQDestination key, Object value) { if (key.isComposite()) { ActiveMQDestination[] destinations = key.getCompositeDestinations(); for (int i = 0; i < destinations.length; i++) { ActiveMQDestination childDestination = destinations[i]; remove(childDestination, value); } return; } String[] paths = key.getDestinationPaths(); getRootNode(key).remove(paths, 0, value); }
public void unsynchronizedRemove(ActiveMQDestination key, Object value) { if (key.isComposite()) { ActiveMQDestination[] destinations = key.getCompositeDestinations(); for (int i = 0; i < destinations.length; i++) { ActiveMQDestination childDestination = destinations[i]; remove(childDestination, value); } return; } String[] paths = key.getDestinationPaths(); getRootNode(key).remove(paths, 0, value); }
public synchronized void put(ActiveMQDestination key, Object value) { if (key.isComposite()) { ActiveMQDestination[] destinations = key.getCompositeDestinations(); for (int i = 0; i < destinations.length; i++) { ActiveMQDestination childDestination = destinations[i]; put(childDestination, value); } return; } String[] paths = key.getDestinationPaths(); getRootNode(key).add(paths, 0, value); }
public void unsynchronizedPut(ActiveMQDestination key, Object value) { if (key.isComposite()) { ActiveMQDestination[] destinations = key.getCompositeDestinations(); for (int i = 0; i < destinations.length; i++) { ActiveMQDestination childDestination = destinations[i]; put(childDestination, value); } return; } String[] paths = key.getDestinationPaths(); getRootNode(key).add(paths, 0, value); }
public void unsynchronizedPut(ActiveMQDestination key, Object value) { if (key.isComposite()) { ActiveMQDestination[] destinations = key.getCompositeDestinations(); for (int i = 0; i < destinations.length; i++) { ActiveMQDestination childDestination = destinations[i]; put(childDestination, value); } return; } String[] paths = key.getDestinationPaths(); getRootNode(key).add(paths, 0, value); }
public void unsynchronizedRemove(ActiveMQDestination key, Object value) { if (key.isComposite()) { ActiveMQDestination[] destinations = key.getCompositeDestinations(); for (int i = 0; i < destinations.length; i++) { ActiveMQDestination childDestination = destinations[i]; remove(childDestination, value); } return; } String[] paths = key.getDestinationPaths(); getRootNode(key).remove(paths, 0, value); }
public void unsynchronizedPut(ActiveMQDestination key, Object value) { if (key.isComposite()) { ActiveMQDestination[] destinations = key.getCompositeDestinations(); for (int i = 0; i < destinations.length; i++) { ActiveMQDestination childDestination = destinations[i]; put(childDestination, value); } return; } String[] paths = key.getDestinationPaths(); getRootNode(key).add(paths, 0, value); }
/** * Removes the value from the associated destination */ public synchronized void remove(ActiveMQDestination key, Object value) { if (key.isComposite()) { ActiveMQDestination[] destinations = key.getCompositeDestinations(); for (int i = 0; i < destinations.length; i++) { ActiveMQDestination childDestination = destinations[i]; remove(childDestination, value); } return; } String[] paths = key.getDestinationPaths(); getRootNode(key).remove(paths, 0, value); }