net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.jms
Class ListenerContainer

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.jms.ListenerContainer
All Implemented Interfaces:
Serializable, Cloneable

public class ListenerContainer
extends Object
implements Serializable, Cloneable

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="listener" type="{http://www.springframework.org/schema/jms}listenerType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="container-type" default="default">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
             <enumeration value="default"/>
             <enumeration value="default102"/>
             <enumeration value="simple"/>
             <enumeration value="simple102"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="container-class" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="connection-factory" type="{http://www.w3.org/2001/XMLSchema}string" default="connectionFactory" />
       <attribute name="task-executor" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="destination-resolver" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="message-converter" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="destination-type" default="queue">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
             <enumeration value="queue"/>
             <enumeration value="topic"/>
             <enumeration value="durableTopic"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="client-id" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="cache" default="auto">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
             <enumeration value="none"/>
             <enumeration value="connection"/>
             <enumeration value="session"/>
             <enumeration value="consumer"/>
             <enumeration value="auto"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="acknowledge" default="auto">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
             <enumeration value="auto"/>
             <enumeration value="client"/>
             <enumeration value="dups-ok"/>
             <enumeration value="transacted"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="transaction-manager" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="concurrency" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="prefetch" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String acknowledge
           
protected  String cache
           
protected  String clientId
           
protected  String concurrency
           
protected  String connectionFactory
           
protected  String containerClass
           
protected  String containerType
           
protected  String destinationResolver
           
protected  String destinationType
           
protected  ListenerType[] listener
           
protected  String messageConverter
           
protected  Integer prefetch
           
protected  String taskExecutor
           
protected  String transactionManager
           
 
Constructor Summary
ListenerContainer()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.jms.ListenerContainer instance.
ListenerContainer(ListenerContainer o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.jms.ListenerContainer instance by copying a given instance.
 
Method Summary
 ListenerContainer clone()
          Creates and returns a copy of this object.
 void copyListener(ListenerType[] source)
          Copies all values of property Listener.
 String getAcknowledge()
          Gets the value of the acknowledge property.
 String getCache()
          Gets the value of the cache property.
 String getClientId()
          Gets the value of the clientId property.
 String getConcurrency()
          Gets the value of the concurrency property.
 String getConnectionFactory()
          Gets the value of the connectionFactory property.
 String getContainerClass()
          Gets the value of the containerClass property.
 String getContainerType()
          Gets the value of the containerType property.
 String getDestinationResolver()
          Gets the value of the destinationResolver property.
 String getDestinationType()
          Gets the value of the destinationType property.
 ListenerType[] getListener()
           
 ListenerType getListener(int idx)
           
 int getListenerLength()
           
 String getMessageConverter()
          Gets the value of the messageConverter property.
 Integer getPrefetch()
          Gets the value of the prefetch property.
 String getTaskExecutor()
          Gets the value of the taskExecutor property.
 String getTransactionManager()
          Gets the value of the transactionManager property.
 void setAcknowledge(String value)
          Sets the value of the acknowledge property.
 void setCache(String value)
          Sets the value of the cache property.
 void setClientId(String value)
          Sets the value of the clientId property.
 void setConcurrency(String value)
          Sets the value of the concurrency property.
 void setConnectionFactory(String value)
          Sets the value of the connectionFactory property.
 void setContainerClass(String value)
          Sets the value of the containerClass property.
 void setContainerType(String value)
          Sets the value of the containerType property.
 void setDestinationResolver(String value)
          Sets the value of the destinationResolver property.
 void setDestinationType(String value)
          Sets the value of the destinationType property.
 ListenerType setListener(int idx, ListenerType value)
           
 void setListener(ListenerType[] values)
           
 void setMessageConverter(String value)
          Sets the value of the messageConverter property.
 void setPrefetch(Integer value)
          Sets the value of the prefetch property.
 void setTaskExecutor(String value)
          Sets the value of the taskExecutor property.
 void setTransactionManager(String value)
          Sets the value of the transactionManager property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listener

protected ListenerType[] listener

containerType

protected String containerType

containerClass

protected String containerClass

connectionFactory

protected String connectionFactory

taskExecutor

protected String taskExecutor

destinationResolver

protected String destinationResolver

messageConverter

protected String messageConverter

destinationType

protected String destinationType

clientId

protected String clientId

cache

protected String cache

acknowledge

protected String acknowledge

transactionManager

protected String transactionManager

concurrency

protected String concurrency

prefetch

protected Integer prefetch
Constructor Detail

ListenerContainer

public ListenerContainer()
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.jms.ListenerContainer instance.


ListenerContainer

public ListenerContainer(ListenerContainer o)
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.jms.ListenerContainer instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getListener

public ListenerType[] getListener()
Returns:
array of ListenerType

getListener

public ListenerType getListener(int idx)
Returns:
one of ListenerType

getListenerLength

public int getListenerLength()

setListener

public void setListener(ListenerType[] values)
Parameters:
values - allowed objects are ListenerType

setListener

public ListenerType setListener(int idx,
                                ListenerType value)
Parameters:
value - allowed object is ListenerType

getContainerType

public String getContainerType()
Gets the value of the containerType property.

Returns:
possible object is String

setContainerType

public void setContainerType(String value)
Sets the value of the containerType property.

Parameters:
value - allowed object is String

getContainerClass

public String getContainerClass()
Gets the value of the containerClass property.

Returns:
possible object is String

setContainerClass

public void setContainerClass(String value)
Sets the value of the containerClass property.

Parameters:
value - allowed object is String

getConnectionFactory

public String getConnectionFactory()
Gets the value of the connectionFactory property.

Returns:
possible object is String

setConnectionFactory

public void setConnectionFactory(String value)
Sets the value of the connectionFactory property.

Parameters:
value - allowed object is String

getTaskExecutor

public String getTaskExecutor()
Gets the value of the taskExecutor property.

Returns:
possible object is String

setTaskExecutor

public void setTaskExecutor(String value)
Sets the value of the taskExecutor property.

Parameters:
value - allowed object is String

getDestinationResolver

public String getDestinationResolver()
Gets the value of the destinationResolver property.

Returns:
possible object is String

setDestinationResolver

public void setDestinationResolver(String value)
Sets the value of the destinationResolver property.

Parameters:
value - allowed object is String

getMessageConverter

public String getMessageConverter()
Gets the value of the messageConverter property.

Returns:
possible object is String

setMessageConverter

public void setMessageConverter(String value)
Sets the value of the messageConverter property.

Parameters:
value - allowed object is String

getDestinationType

public String getDestinationType()
Gets the value of the destinationType property.

Returns:
possible object is String

setDestinationType

public void setDestinationType(String value)
Sets the value of the destinationType property.

Parameters:
value - allowed object is String

getClientId

public String getClientId()
Gets the value of the clientId property.

Returns:
possible object is String

setClientId

public void setClientId(String value)
Sets the value of the clientId property.

Parameters:
value - allowed object is String

getCache

public String getCache()
Gets the value of the cache property.

Returns:
possible object is String

setCache

public void setCache(String value)
Sets the value of the cache property.

Parameters:
value - allowed object is String

getAcknowledge

public String getAcknowledge()
Gets the value of the acknowledge property.

Returns:
possible object is String

setAcknowledge

public void setAcknowledge(String value)
Sets the value of the acknowledge property.

Parameters:
value - allowed object is String

getTransactionManager

public String getTransactionManager()
Gets the value of the transactionManager property.

Returns:
possible object is String

setTransactionManager

public void setTransactionManager(String value)
Sets the value of the transactionManager property.

Parameters:
value - allowed object is String

getConcurrency

public String getConcurrency()
Gets the value of the concurrency property.

Returns:
possible object is String

setConcurrency

public void setConcurrency(String value)
Sets the value of the concurrency property.

Parameters:
value - allowed object is String

getPrefetch

public Integer getPrefetch()
Gets the value of the prefetch property.

Returns:
possible object is Integer

setPrefetch

public void setPrefetch(Integer value)
Sets the value of the prefetch property.

Parameters:
value - allowed object is Integer

copyListener

public void copyListener(ListenerType[] source)
Copies all values of property Listener.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

clone

public ListenerContainer clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.