org.jboss.shrinkwrap.descriptor.api.jboss51
Interface RemoteBindingType<T>

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
All Known Implementing Classes:
RemoteBindingTypeImpl

public interface RemoteBindingType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>

This interface defines the contract for the remote-bindingType xsd type

Original Documentation:

Element for specifying the remote jndi binding for a bean as well
as the client interceptor stack

Since:
Generation date :2011-07-19T22:54:35.59+02:00
Author:
Ralf Battenfeld

Method Summary
 java.lang.String getClientBindUrl()
          Returns the client-bind-url element
 java.util.List<java.lang.String> getDescriptionList()
          Returns all description elements
 java.lang.String getInterceptorStack()
          Returns the interceptor-stack element
 java.lang.String getInvokerName()
          Returns the invoker-name element
 java.lang.String getJndiName()
          Returns the jndi-name element
 RemoteBindingType<T> removeAllDescription()
          Removes the description element
 RemoteBindingType<T> removeClientBindUrl()
          Removes the client-bind-url element
 RemoteBindingType<T> removeInterceptorStack()
          Removes the interceptor-stack element
 RemoteBindingType<T> removeInvokerName()
          Removes the invoker-name element
 RemoteBindingType<T> removeJndiName()
          Removes the jndi-name element
 RemoteBindingType<T> setClientBindUrl(java.lang.String clientBindUrl)
          If not already created, a new client-bind-url element with the given value will be created.
 RemoteBindingType<T> setDescription(java.lang.String description)
          Creates a new description element
 RemoteBindingType<T> setDescriptionList(java.lang.String... values)
          Creates for all String objects representing description elements, a new description element
 RemoteBindingType<T> setInterceptorStack(java.lang.String interceptorStack)
          If not already created, a new interceptor-stack element with the given value will be created.
 RemoteBindingType<T> setInvokerName(java.lang.String invokerName)
          If not already created, a new invoker-name element with the given value will be created.
 RemoteBindingType<T> setJndiName(java.lang.String jndiName)
          If not already created, a new jndi-name element with the given value will be created.
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

setDescription

RemoteBindingType<T> setDescription(java.lang.String description)
Creates a new description element

Returns:
the current instance of RemoteBindingType

setDescriptionList

RemoteBindingType<T> setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
list - of description objects
Returns:
the current instance of RemoteBindingType

removeAllDescription

RemoteBindingType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of RemoteBindingType

getDescriptionList

java.util.List<java.lang.String> getDescriptionList()
Returns all description elements

Returns:
list of description

setJndiName

RemoteBindingType<T> setJndiName(java.lang.String jndiName)
If not already created, a new jndi-name element with the given value will be created. Otherwise, the existing jndi-name element will be updated with the given value.

Returns:
the current instance of RemoteBindingType

removeJndiName

RemoteBindingType<T> removeJndiName()
Removes the jndi-name element

Returns:
the current instance of RemoteBindingType

getJndiName

java.lang.String getJndiName()
Returns the jndi-name element

Returns:
the node defined for the element jndi-name

setClientBindUrl

RemoteBindingType<T> setClientBindUrl(java.lang.String clientBindUrl)
If not already created, a new client-bind-url element with the given value will be created. Otherwise, the existing client-bind-url element will be updated with the given value.

Returns:
the current instance of RemoteBindingType

removeClientBindUrl

RemoteBindingType<T> removeClientBindUrl()
Removes the client-bind-url element

Returns:
the current instance of RemoteBindingType

getClientBindUrl

java.lang.String getClientBindUrl()
Returns the client-bind-url element

Returns:
the node defined for the element client-bind-url

setInterceptorStack

RemoteBindingType<T> setInterceptorStack(java.lang.String interceptorStack)
If not already created, a new interceptor-stack element with the given value will be created. Otherwise, the existing interceptor-stack element will be updated with the given value.

Returns:
the current instance of RemoteBindingType

removeInterceptorStack

RemoteBindingType<T> removeInterceptorStack()
Removes the interceptor-stack element

Returns:
the current instance of RemoteBindingType

getInterceptorStack

java.lang.String getInterceptorStack()
Returns the interceptor-stack element

Returns:
the node defined for the element interceptor-stack

setInvokerName

RemoteBindingType<T> setInvokerName(java.lang.String invokerName)
If not already created, a new invoker-name element with the given value will be created. Otherwise, the existing invoker-name element will be updated with the given value.

Returns:
the current instance of RemoteBindingType

removeInvokerName

RemoteBindingType<T> removeInvokerName()
Removes the invoker-name element

Returns:
the current instance of RemoteBindingType

getInvokerName

java.lang.String getInvokerName()
Returns the invoker-name element

Returns:
the node defined for the element invoker-name