001    /**
002     *   GRANITE DATA SERVICES
003     *   Copyright (C) 2006-2013 GRANITE DATA SERVICES S.A.S.
004     *
005     *   This file is part of the Granite Data Services Platform.
006     *
007     *   Granite Data Services is free software; you can redistribute it and/or
008     *   modify it under the terms of the GNU Lesser General Public
009     *   License as published by the Free Software Foundation; either
010     *   version 2.1 of the License, or (at your option) any later version.
011     *
012     *   Granite Data Services is distributed in the hope that it will be useful,
013     *   but WITHOUT ANY WARRANTY; without even the implied warranty of
014     *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
015     *   General Public License for more details.
016     *
017     *   You should have received a copy of the GNU Lesser General Public
018     *   License along with this library; if not, write to the Free Software
019     *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
020     *   USA, or see <http://www.gnu.org/licenses/>.
021     */
022    package org.granite.gravity.config.servlet3;
023    
024    import static java.lang.annotation.ElementType.FIELD;
025    import static java.lang.annotation.RetentionPolicy.RUNTIME;
026    
027    import java.lang.annotation.Inherited;
028    import java.lang.annotation.Retention;
029    import java.lang.annotation.Target;
030    
031    import org.granite.gravity.security.GravityDestinationSecurizer;
032    
033    
034    @Inherited
035    @Retention(RUNTIME)
036    @Target({FIELD})
037    public @interface ActiveMQTopicDestination {
038            
039            boolean noLocal() default true;
040            
041            boolean sessionSelector() default false;
042            
043            String name();
044            
045            Class<? extends GravityDestinationSecurizer> securizer() default GravityDestinationSecurizer.class;
046            
047        String connectionFactory();
048        
049        String topicJndiName();
050        
051        boolean textMessages() default false;
052        
053        String acknowledgeMode() default "AUTO_ACKNOWLEDGE";
054        
055        boolean transactedSessions() default false;
056        
057        String brokerUrl();
058        
059        boolean createBroker() default true;
060        
061        boolean waitForStart() default false;
062        
063        boolean durable() default false;
064        
065        String fileStoreRoot() default "";
066        
067    }