|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.jboss51.ClusterConfigTypeImpl<T>
public class ClusterConfigTypeImpl<T>
This class implements the cluster-configType
xsd type
Original Documentation:
The cluster-config element allows to specify cluster specific settings.
Constructor Summary | |
---|---|
ClusterConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
ClusterConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
Method Summary | |
---|---|
java.lang.String |
getBeanLoadBalancePolicy()
Returns the bean-load-balance-policy element |
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.lang.String |
getHomeLoadBalancePolicy()
Returns the home-load-balance-policy element |
java.lang.String |
getLoadBalancePolicy()
Returns the load-balance-policy element |
java.lang.String |
getPartitionName()
Returns the partition-name element |
java.lang.String |
getSessionStateManagerJndiName()
Returns the session-state-manager-jndi-name element |
ClusterConfigType<T> |
removeAllDescription()
Removes the description element |
ClusterConfigType<T> |
removeBeanLoadBalancePolicy()
Removes the bean-load-balance-policy element |
ClusterConfigType<T> |
removeHomeLoadBalancePolicy()
Removes the home-load-balance-policy element |
ClusterConfigType<T> |
removeLoadBalancePolicy()
Removes the load-balance-policy element |
ClusterConfigType<T> |
removePartitionName()
Removes the partition-name element |
ClusterConfigType<T> |
removeSessionStateManagerJndiName()
Removes the session-state-manager-jndi-name element |
ClusterConfigType<T> |
setBeanLoadBalancePolicy(java.lang.String beanLoadBalancePolicy)
If not already created, a new bean-load-balance-policy element with the given value will be created. |
ClusterConfigType<T> |
setDescription(java.lang.String description)
Creates a new description element |
ClusterConfigType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
ClusterConfigType<T> |
setHomeLoadBalancePolicy(java.lang.String homeLoadBalancePolicy)
If not already created, a new home-load-balance-policy element with the given value will be created. |
ClusterConfigType<T> |
setLoadBalancePolicy(java.lang.String loadBalancePolicy)
If not already created, a new load-balance-policy element with the given value will be created. |
ClusterConfigType<T> |
setPartitionName(java.lang.String partitionName)
If not already created, a new partition-name element with the given value will be created. |
ClusterConfigType<T> |
setSessionStateManagerJndiName(java.lang.String sessionStateManagerJndiName)
If not already created, a new session-state-manager-jndi-name element with the given value will be created. |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClusterConfigTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public ClusterConfigTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public ClusterConfigType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface ClusterConfigType<T>
ClusterConfigType
public ClusterConfigType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface ClusterConfigType<T>
list
- of description
objects
ClusterConfigType
public ClusterConfigType<T> removeAllDescription()
description
element
removeAllDescription
in interface ClusterConfigType<T>
ClusterConfigType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface ClusterConfigType<T>
description
public ClusterConfigType<T> setPartitionName(java.lang.String partitionName)
partition-name
element with the given value will be created.
Otherwise, the existing partition-name
element will be updated with the given value.
setPartitionName
in interface ClusterConfigType<T>
ClusterConfigType
public ClusterConfigType<T> removePartitionName()
partition-name
element
removePartitionName
in interface ClusterConfigType<T>
ClusterConfigType
public java.lang.String getPartitionName()
partition-name
element
getPartitionName
in interface ClusterConfigType<T>
partition-name
public ClusterConfigType<T> setHomeLoadBalancePolicy(java.lang.String homeLoadBalancePolicy)
home-load-balance-policy
element with the given value will be created.
Otherwise, the existing home-load-balance-policy
element will be updated with the given value.
setHomeLoadBalancePolicy
in interface ClusterConfigType<T>
ClusterConfigType
public ClusterConfigType<T> removeHomeLoadBalancePolicy()
home-load-balance-policy
element
removeHomeLoadBalancePolicy
in interface ClusterConfigType<T>
ClusterConfigType
public java.lang.String getHomeLoadBalancePolicy()
home-load-balance-policy
element
getHomeLoadBalancePolicy
in interface ClusterConfigType<T>
home-load-balance-policy
public ClusterConfigType<T> setSessionStateManagerJndiName(java.lang.String sessionStateManagerJndiName)
session-state-manager-jndi-name
element with the given value will be created.
Otherwise, the existing session-state-manager-jndi-name
element will be updated with the given value.
setSessionStateManagerJndiName
in interface ClusterConfigType<T>
ClusterConfigType
public ClusterConfigType<T> removeSessionStateManagerJndiName()
session-state-manager-jndi-name
element
removeSessionStateManagerJndiName
in interface ClusterConfigType<T>
ClusterConfigType
public java.lang.String getSessionStateManagerJndiName()
session-state-manager-jndi-name
element
getSessionStateManagerJndiName
in interface ClusterConfigType<T>
session-state-manager-jndi-name
public ClusterConfigType<T> setBeanLoadBalancePolicy(java.lang.String beanLoadBalancePolicy)
bean-load-balance-policy
element with the given value will be created.
Otherwise, the existing bean-load-balance-policy
element will be updated with the given value.
setBeanLoadBalancePolicy
in interface ClusterConfigType<T>
ClusterConfigType
public ClusterConfigType<T> removeBeanLoadBalancePolicy()
bean-load-balance-policy
element
removeBeanLoadBalancePolicy
in interface ClusterConfigType<T>
ClusterConfigType
public java.lang.String getBeanLoadBalancePolicy()
bean-load-balance-policy
element
getBeanLoadBalancePolicy
in interface ClusterConfigType<T>
bean-load-balance-policy
public ClusterConfigType<T> setLoadBalancePolicy(java.lang.String loadBalancePolicy)
load-balance-policy
element with the given value will be created.
Otherwise, the existing load-balance-policy
element will be updated with the given value.
setLoadBalancePolicy
in interface ClusterConfigType<T>
ClusterConfigType
public ClusterConfigType<T> removeLoadBalancePolicy()
load-balance-policy
element
removeLoadBalancePolicy
in interface ClusterConfigType<T>
ClusterConfigType
public java.lang.String getLoadBalancePolicy()
load-balance-policy
element
getLoadBalancePolicy
in interface ClusterConfigType<T>
load-balance-policy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |