|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EjbRefType<T>
This interface defines the contract for the ejb-refType xsd type
Original Documentation:
The ejb-ref element is used to give the jndi-name of an external ejb
reference. In the case of an external ejb reference, you don't provide a ejb-link element in
ejb-jar.xml, but you provide a jndi-name in jboss.xml Used in: entity, session,
message-driven, consumer, and service
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.lang.String |
getEjbLink()
Returns the ejb-link element |
java.lang.String |
getEjbRefName()
Returns the ejb-ref-name element |
EjbRefTypeType |
getEjbRefType()
Returns the ejb-ref-type element |
java.lang.String |
getEjbRefTypeAsString()
Returns the ejb-ref-type element |
java.lang.String |
getHome()
Returns the home element |
java.util.List<InjectionTargetType<EjbRefType<T>>> |
getInjectionTargetList()
Returns all injection-target elements |
java.lang.String |
getJndiName()
Returns the jndi-name element |
java.lang.String |
getMappedName()
Returns the mapped-name element |
java.lang.String |
getRemote()
Returns the remote element |
EjbRefType<T> |
ignoreDependency()
|
InjectionTargetType<EjbRefType<T>> |
injectionTarget()
Returns the injection-target element |
java.lang.Boolean |
isIgnoreDependency()
|
EjbRefType<T> |
removeAllDescription()
Removes the description element |
EjbRefType<T> |
removeAllInjectionTarget()
Removes all injection-target elements |
EjbRefType<T> |
removeEjbLink()
Removes the ejb-link element |
EjbRefType<T> |
removeEjbRefName()
Removes the ejb-ref-name element |
EjbRefType<T> |
removeHome()
Removes the home element |
EjbRefType<T> |
removeJndiName()
Removes the jndi-name element |
EjbRefType<T> |
removeMappedName()
Removes the mapped-name element |
EjbRefType<T> |
removeRemote()
Removes the remote element |
EjbRefType<T> |
setDescription(java.lang.String description)
Creates a new description element |
EjbRefType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
EjbRefType<T> |
setEjbLink(java.lang.String ejbLink)
If not already created, a new ejb-link element with the given value will be created. |
EjbRefType<T> |
setEjbRefName(java.lang.String ejbRefName)
If not already created, a new ejb-ref-name element with the given value will be created. |
EjbRefType<T> |
setEjbRefType(EjbRefTypeType ejbRefType)
If not already created, a new ejb-ref-type element with the given value will be created. |
EjbRefType<T> |
setEjbRefType(java.lang.String ejbRefType)
If not already created, a new ejb-ref-type element with the given value will be created. |
EjbRefType<T> |
setHome(java.lang.String home)
If not already created, a new home element with the given value will be created. |
EjbRefType<T> |
setJndiName(java.lang.String jndiName)
If not already created, a new jndi-name element with the given value will be created. |
EjbRefType<T> |
setMappedName(java.lang.String mappedName)
If not already created, a new mapped-name element with the given value will be created. |
EjbRefType<T> |
setRemote(java.lang.String remote)
If not already created, a new remote element with the given value will be created. |
| Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
|---|
up |
| Method Detail |
|---|
EjbRefType<T> setJndiName(java.lang.String jndiName)
jndi-name element with the given value will be created.
Otherwise, the existing jndi-name element will be updated with the given value.
EjbRefTypeEjbRefType<T> removeJndiName()
jndi-name element
EjbRefTypejava.lang.String getJndiName()
jndi-name element
jndi-nameEjbRefType<T> setMappedName(java.lang.String mappedName)
mapped-name element with the given value will be created.
Otherwise, the existing mapped-name element will be updated with the given value.
EjbRefTypeEjbRefType<T> removeMappedName()
mapped-name element
EjbRefTypejava.lang.String getMappedName()
mapped-name element
mapped-nameEjbRefType<T> removeAllInjectionTarget()
injection-target elements
EjbRefTypeInjectionTargetType<EjbRefType<T>> injectionTarget()
injection-target element
injection-targetjava.util.List<InjectionTargetType<EjbRefType<T>>> getInjectionTargetList()
injection-target elements
injection-targetEjbRefType<T> ignoreDependency()
java.lang.Boolean isIgnoreDependency()
EjbRefType<T> setDescription(java.lang.String description)
description element
EjbRefTypeEjbRefType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
list - of description objects
EjbRefTypeEjbRefType<T> removeAllDescription()
description element
EjbRefTypejava.util.List<java.lang.String> getDescriptionList()
description elements
descriptionEjbRefType<T> setEjbRefName(java.lang.String ejbRefName)
ejb-ref-name element with the given value will be created.
Otherwise, the existing ejb-ref-name element will be updated with the given value.
EjbRefTypeEjbRefType<T> removeEjbRefName()
ejb-ref-name element
EjbRefTypejava.lang.String getEjbRefName()
ejb-ref-name element
ejb-ref-nameEjbRefType<T> setEjbRefType(EjbRefTypeType ejbRefType)
ejb-ref-type element with the given value will be created.
Otherwise, the existing ejb-ref-type element will be updated with the given value.
EjbRefTypeEjbRefType<T> setEjbRefType(java.lang.String ejbRefType)
ejb-ref-type element with the given value will be created.
Otherwise, the existing ejb-ref-type element will be updated with the given value.
EjbRefTypeEjbRefTypeType getEjbRefType()
ejb-ref-type element
ejb-ref-typejava.lang.String getEjbRefTypeAsString()
ejb-ref-type element
ejb-ref-typeEjbRefType<T> setHome(java.lang.String home)
home element with the given value will be created.
Otherwise, the existing home element will be updated with the given value.
EjbRefTypeEjbRefType<T> removeHome()
home element
EjbRefTypejava.lang.String getHome()
home element
homeEjbRefType<T> setRemote(java.lang.String remote)
remote element with the given value will be created.
Otherwise, the existing remote element will be updated with the given value.
EjbRefTypeEjbRefType<T> removeRemote()
remote element
EjbRefTypejava.lang.String getRemote()
remote element
remoteEjbRefType<T> setEjbLink(java.lang.String ejbLink)
ejb-link element with the given value will be created.
Otherwise, the existing ejb-link element will be updated with the given value.
EjbRefTypeEjbRefType<T> removeEjbLink()
ejb-link element
EjbRefTypejava.lang.String getEjbLink()
ejb-link element
ejb-link
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||