Interface JmsConnectionFactoryType<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
JmsConnectionFactoryTypeImpl
public interface JmsConnectionFactoryType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for thejms-connection-factoryTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JmsConnectionFactoryType<T>className(String className)Sets theclass-nameelementJmsConnectionFactoryType<T>clientId(String clientId)Sets theclient-idelementPropertyType<JmsConnectionFactoryType<T>>createProperty()Creates a newpropertyelementJmsConnectionFactoryType<T>description(String description)Sets thedescriptionelementList<PropertyType<JmsConnectionFactoryType<T>>>getAllProperty()Returns allpropertyelementsStringgetClassName()Returns theclass-nameelementStringgetClientId()Returns theclient-idelementStringgetDescription()Returns thedescriptionelementStringgetId()Returns theidattributeIntegergetMaxPoolSize()Returns themax-pool-sizeelementIntegergetMinPoolSize()Returns themin-pool-sizeelementStringgetName()Returns thenameelementPropertyType<JmsConnectionFactoryType<T>>getOrCreateProperty()If not already created, a newpropertyelement will be created and returned.StringgetPassword()Returns thepasswordelementStringgetResourceAdapter()Returns theresource-adapterelementStringgetUser()Returns theuserelementJmsConnectionFactoryType<T>id(String id)Sets theidattributeBooleanisTransactional()Returns thetransactionalelementJmsConnectionFactoryType<T>maxPoolSize(Integer maxPoolSize)Sets themax-pool-sizeelementJmsConnectionFactoryType<T>minPoolSize(Integer minPoolSize)Sets themin-pool-sizeelementJmsConnectionFactoryType<T>name(String name)Sets thenameelementJmsConnectionFactoryType<T>password(String password)Sets thepasswordelementJmsConnectionFactoryType<T>removeAllProperty()Removes allpropertyelementsJmsConnectionFactoryType<T>removeClassName()Removes theclass-nameelementJmsConnectionFactoryType<T>removeClientId()Removes theclient-idelementJmsConnectionFactoryType<T>removeDescription()Removes thedescriptionelementJmsConnectionFactoryType<T>removeId()Removes theidattributeJmsConnectionFactoryType<T>removeMaxPoolSize()Removes themax-pool-sizeelementJmsConnectionFactoryType<T>removeMinPoolSize()Removes themin-pool-sizeelementJmsConnectionFactoryType<T>removeName()Removes thenameelementJmsConnectionFactoryType<T>removePassword()Removes thepasswordelementJmsConnectionFactoryType<T>removeResourceAdapter()Removes theresource-adapterelementJmsConnectionFactoryType<T>removeTransactional()Removes thetransactionalelementJmsConnectionFactoryType<T>removeUser()Removes theuserelementJmsConnectionFactoryType<T>resourceAdapter(String resourceAdapter)Sets theresource-adapterelementJmsConnectionFactoryType<T>transactional(Boolean transactional)Sets thetransactionalelementJmsConnectionFactoryType<T>user(String user)Sets theuserelement
-
-
-
Method Detail
-
description
JmsConnectionFactoryType<T> description(String description)
Sets thedescriptionelement- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
JmsConnectionFactoryType
-
getDescription
String getDescription()
Returns thedescriptionelement- Returns:
- the node defined for the element
description
-
removeDescription
JmsConnectionFactoryType<T> removeDescription()
Removes thedescriptionelement- Returns:
- the current instance of
JmsConnectionFactoryType
-
name
JmsConnectionFactoryType<T> name(String name)
Sets thenameelement- Parameters:
name- the value for the elementname- Returns:
- the current instance of
JmsConnectionFactoryType
-
getName
String getName()
Returns thenameelement- Returns:
- the node defined for the element
name
-
removeName
JmsConnectionFactoryType<T> removeName()
Removes thenameelement- Returns:
- the current instance of
JmsConnectionFactoryType
-
className
JmsConnectionFactoryType<T> className(String className)
Sets theclass-nameelement- Parameters:
className- the value for the elementclass-name- Returns:
- the current instance of
JmsConnectionFactoryType
-
getClassName
String getClassName()
Returns theclass-nameelement- Returns:
- the node defined for the element
class-name
-
removeClassName
JmsConnectionFactoryType<T> removeClassName()
Removes theclass-nameelement- Returns:
- the current instance of
JmsConnectionFactoryType
-
resourceAdapter
JmsConnectionFactoryType<T> resourceAdapter(String resourceAdapter)
Sets theresource-adapterelement- Parameters:
resourceAdapter- the value for the elementresource-adapter- Returns:
- the current instance of
JmsConnectionFactoryType
-
getResourceAdapter
String getResourceAdapter()
Returns theresource-adapterelement- Returns:
- the node defined for the element
resource-adapter
-
removeResourceAdapter
JmsConnectionFactoryType<T> removeResourceAdapter()
Removes theresource-adapterelement- Returns:
- the current instance of
JmsConnectionFactoryType
-
user
JmsConnectionFactoryType<T> user(String user)
Sets theuserelement- Parameters:
user- the value for the elementuser- Returns:
- the current instance of
JmsConnectionFactoryType
-
getUser
String getUser()
Returns theuserelement- Returns:
- the node defined for the element
user
-
removeUser
JmsConnectionFactoryType<T> removeUser()
Removes theuserelement- Returns:
- the current instance of
JmsConnectionFactoryType
-
password
JmsConnectionFactoryType<T> password(String password)
Sets thepasswordelement- Parameters:
password- the value for the elementpassword- Returns:
- the current instance of
JmsConnectionFactoryType
-
getPassword
String getPassword()
Returns thepasswordelement- Returns:
- the node defined for the element
password
-
removePassword
JmsConnectionFactoryType<T> removePassword()
Removes thepasswordelement- Returns:
- the current instance of
JmsConnectionFactoryType
-
clientId
JmsConnectionFactoryType<T> clientId(String clientId)
Sets theclient-idelement- Parameters:
clientId- the value for the elementclient-id- Returns:
- the current instance of
JmsConnectionFactoryType
-
getClientId
String getClientId()
Returns theclient-idelement- Returns:
- the node defined for the element
client-id
-
removeClientId
JmsConnectionFactoryType<T> removeClientId()
Removes theclient-idelement- Returns:
- the current instance of
JmsConnectionFactoryType
-
getOrCreateProperty
PropertyType<JmsConnectionFactoryType<T>> getOrCreateProperty()
If not already created, a newpropertyelement will be created and returned. Otherwise, the first existingpropertyelement will be returned.- Returns:
- the instance defined for the element
property
-
createProperty
PropertyType<JmsConnectionFactoryType<T>> createProperty()
Creates a newpropertyelement- Returns:
- the new created instance of
PropertyType>
-
getAllProperty
List<PropertyType<JmsConnectionFactoryType<T>>> getAllProperty()
Returns allpropertyelements- Returns:
- list of
property
-
removeAllProperty
JmsConnectionFactoryType<T> removeAllProperty()
Removes allpropertyelements- Returns:
- the current instance of
PropertyType>
-
transactional
JmsConnectionFactoryType<T> transactional(Boolean transactional)
Sets thetransactionalelement- Parameters:
transactional- the value for the elementtransactional- Returns:
- the current instance of
JmsConnectionFactoryType
-
isTransactional
Boolean isTransactional()
Returns thetransactionalelement- Returns:
- the node defined for the element
transactional
-
removeTransactional
JmsConnectionFactoryType<T> removeTransactional()
Removes thetransactionalelement- Returns:
- the current instance of
JmsConnectionFactoryType
-
maxPoolSize
JmsConnectionFactoryType<T> maxPoolSize(Integer maxPoolSize)
Sets themax-pool-sizeelement- Parameters:
maxPoolSize- the value for the elementmax-pool-size- Returns:
- the current instance of
JmsConnectionFactoryType
-
getMaxPoolSize
Integer getMaxPoolSize()
Returns themax-pool-sizeelement- Returns:
- the node defined for the element
max-pool-size
-
removeMaxPoolSize
JmsConnectionFactoryType<T> removeMaxPoolSize()
Removes themax-pool-sizeelement- Returns:
- the current instance of
JmsConnectionFactoryType
-
minPoolSize
JmsConnectionFactoryType<T> minPoolSize(Integer minPoolSize)
Sets themin-pool-sizeelement- Parameters:
minPoolSize- the value for the elementmin-pool-size- Returns:
- the current instance of
JmsConnectionFactoryType
-
getMinPoolSize
Integer getMinPoolSize()
Returns themin-pool-sizeelement- Returns:
- the node defined for the element
min-pool-size
-
removeMinPoolSize
JmsConnectionFactoryType<T> removeMinPoolSize()
Removes themin-pool-sizeelement- Returns:
- the current instance of
JmsConnectionFactoryType
-
id
JmsConnectionFactoryType<T> id(String id)
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
JmsConnectionFactoryType
-
getId
String getId()
Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
JmsConnectionFactoryType<T> removeId()
Removes theidattribute- Returns:
- the current instance of
JmsConnectionFactoryType
-
-