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

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

public class JcaListenerContainer
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="resource-adapter" type="{http://www.w3.org/2001/XMLSchema}string" default="resourceAdapter" />
       <attribute name="activation-spec-factory" 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="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 activationSpecFactory
           
protected  String clientId
           
protected  String concurrency
           
protected  String destinationResolver
           
protected  String destinationType
           
protected  ListenerType[] listener
           
protected  String messageConverter
           
protected  Integer prefetch
           
protected  String resourceAdapter
           
protected  String transactionManager
           
 
Constructor Summary
JcaListenerContainer()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.jms.JcaListenerContainer instance.
JcaListenerContainer(JcaListenerContainer o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.jms.JcaListenerContainer instance by copying a given instance.
 
Method Summary
 JcaListenerContainer 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 getActivationSpecFactory()
          Gets the value of the activationSpecFactory property.
 String getClientId()
          Gets the value of the clientId property.
 String getConcurrency()
          Gets the value of the concurrency 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 getResourceAdapter()
          Gets the value of the resourceAdapter property.
 String getTransactionManager()
          Gets the value of the transactionManager property.
 void setAcknowledge(String value)
          Sets the value of the acknowledge property.
 void setActivationSpecFactory(String value)
          Sets the value of the activationSpecFactory property.
 void setClientId(String value)
          Sets the value of the clientId property.
 void setConcurrency(String value)
          Sets the value of the concurrency 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 setResourceAdapter(String value)
          Sets the value of the resourceAdapter 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

resourceAdapter

protected String resourceAdapter

activationSpecFactory

protected String activationSpecFactory

destinationResolver

protected String destinationResolver

messageConverter

protected String messageConverter

destinationType

protected String destinationType

clientId

protected String clientId

acknowledge

protected String acknowledge

transactionManager

protected String transactionManager

concurrency

protected String concurrency

prefetch

protected Integer prefetch
Constructor Detail

JcaListenerContainer

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


JcaListenerContainer

public JcaListenerContainer(JcaListenerContainer o)
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.jms.JcaListenerContainer 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

getResourceAdapter

public String getResourceAdapter()
Gets the value of the resourceAdapter property.

Returns:
possible object is String

setResourceAdapter

public void setResourceAdapter(String value)
Sets the value of the resourceAdapter property.

Parameters:
value - allowed object is String

getActivationSpecFactory

public String getActivationSpecFactory()
Gets the value of the activationSpecFactory property.

Returns:
possible object is String

setActivationSpecFactory

public void setActivationSpecFactory(String value)
Sets the value of the activationSpecFactory 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

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 JcaListenerContainer 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.