Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/activemq/security/jassjacc/DestinationSecurityConfig.java


1   /*
2    * Created on Nov 7, 2004
3    *
4    * TODO To change the template for this generated file go to
5    * Window - Preferences - Java - Code Style - Code Templates
6    */
7   package org.activemq.security.jassjacc;
8   
9   import java.util.HashSet;
10  
11  import org.activemq.message.ActiveMQDestination;
12  
13  /**
14   * @author Hiram
15   *
16   * TODO To change the template for this generated type comment go to
17   * Window - Preferences - Java - Code Style - Code Templates
18   */
19  public class DestinationSecurityConfig {
20    
21    String brokerName;
22    ActiveMQDestination destination;
23    
24    HashSet consumeRoles = new HashSet();
25    HashSet produceRoles = new HashSet();
26    HashSet sendRoles = new HashSet();
27    
28    /**
29     * @return Returns the brokerName.
30     */
31    public String getBrokerName() {
32      return brokerName;
33    }
34    /**
35     * @param brokerName The brokerName to set.
36     */
37    public void setBrokerName(String brokerName) {
38      this.brokerName = brokerName;
39    }
40    /**
41     * @return Returns the consumeRoles.
42     */
43    public HashSet getConsumeRoles() {
44      return consumeRoles;
45    }
46    /**
47     * @param consumeRoles The consumeRoles to set.
48     */
49    public void setConsumeRoles(HashSet consumeRoles) {
50      this.consumeRoles = consumeRoles;
51    }
52    /**
53     * @return Returns the destination.
54     */
55    public ActiveMQDestination getDestination() {
56      return destination;
57    }
58    /**
59     * @param destination The destination to set.
60     */
61    public void setDestination(ActiveMQDestination destination) {
62      this.destination = destination;
63    }
64    /**
65     * @return Returns the produceRoles.
66     */
67    public HashSet getProduceRoles() {
68      return produceRoles;
69    }
70    /**
71     * @param produceRoles The produceRoles to set.
72     */
73    public void setProduceRoles(HashSet produceRoles) {
74      this.produceRoles = produceRoles;
75    }
76    /**
77     * @return Returns the sendRoles.
78     */
79    public HashSet getSendRoles() {
80      return sendRoles;
81    }
82    /**
83     * @param sendRoles The sendRoles to set.
84     */
85    public void setSendRoles(HashSet sendRoles) {
86      this.sendRoles = sendRoles;
87    }
88  }