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 the
jms-connection-factoryType xsd type-
Method Summary
Modifier and TypeMethodDescriptionSets theclass-nameelementSets theclient-idelementCreates a newpropertyelementdescription(String description) Sets thedescriptionelementReturns allpropertyelementsReturns theclass-nameelementReturns theclient-idelementReturns thedescriptionelementgetId()Returns theidattributeReturns themax-pool-sizeelementReturns themin-pool-sizeelementgetName()Returns thenameelementIf not already created, a newpropertyelement will be created and returned.Returns thepasswordelementReturns theresource-adapterelementgetUser()Returns theuserelementSets theidattributeReturns thetransactionalelementmaxPoolSize(Integer maxPoolSize) Sets themax-pool-sizeelementminPoolSize(Integer minPoolSize) Sets themin-pool-sizeelementSets thenameelementSets thepasswordelementRemoves allpropertyelementsRemoves theclass-nameelementRemoves theclient-idelementRemoves thedescriptionelementremoveId()Removes theidattributeRemoves themax-pool-sizeelementRemoves themin-pool-sizeelementRemoves thenameelementRemoves thepasswordelementRemoves theresource-adapterelementRemoves thetransactionalelementRemoves theuserelementresourceAdapter(String resourceAdapter) Sets theresource-adapterelementtransactional(Boolean transactional) Sets thetransactionalelementSets theuserelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
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
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
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
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
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
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
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<JmsConnectionFactoryType>
-
getAllProperty
List<PropertyType<JmsConnectionFactoryType<T>>> getAllProperty()Returns allpropertyelements- Returns:
- list of
property
-
removeAllProperty
JmsConnectionFactoryType<T> removeAllProperty()Removes allpropertyelements- Returns:
- the current instance of
PropertyType<JmsConnectionFactoryType>
-
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
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
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
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
-