View Javadoc

1   package com.atlassian.messagequeue.internal.core;
2   
3   import com.atlassian.messagequeue.registry.MessageValidator;
4   
5   import java.util.Collection;
6   
7   /**
8    * Allows <tt>MessageValidator</tt>s to be retrieved from the <tt>MessageValidatorRegistryService</tt>.
9    *
10   * <p>This interface provides method(s) that are useful for writing implementations of atlassian-messagequeue API.
11   */
12  public interface MessageValidatorRegistryHelper {
13      /**
14       * Retrieves all message validators.
15       *
16       * @return the message validators
17       */
18      Collection<MessageValidator> getAllValidators();
19  }