public class ResourceEnvReferenceDescriptor extends EnvironmentProperty implements NamedDescriptor, ResourceEnvReference
Unlike EnvironmentProperty this class is not limited to primitive types or their boxed variants
lookupName, mappedNameDESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED| Constructor and Description |
|---|
ResourceEnvReferenceDescriptor() |
ResourceEnvReferenceDescriptor(String name,
String description,
String refType) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkType()
Performs the same check as in ResourceReferenceDescriptor
|
boolean |
equals(Object object)
Equality on name.
|
String |
getInjectResourceType()
This is the class name of the type of resource that is to be injected.
|
String |
getJndiName()
Return the jndi name of the destination to which I refer.
|
ManagedBeanDescriptor |
getManagedBeanDescriptor() |
String |
getRefType()
Gets the type of environment reference i.e.
|
int |
hashCode()
The hashCode of an environment property is the same as that of the name String.
|
boolean |
isCDIBeanManager() |
boolean |
isConflict(ResourceReferenceDescriptor other) |
boolean |
isEJBContext() |
boolean |
isManagedBean() |
boolean |
isValidator() |
boolean |
isValidatorFactory() |
void |
setInjectResourceType(String refType) |
void |
setIsManagedBean(boolean flag) |
void |
setJndiName(String jndiName)
Sets the jndi name of the destination to which I refer
|
void |
setManagedBeanDescriptor(ManagedBeanDescriptor desc) |
void |
setRefType(String refType) |
addInjectionTarget, getComponentEnvName, getInjectionTargets, getLookupName, getMappedName, getResolvedValue, getResolvedValueObject, getType, getValue, getValueObject, getValueType, hasAValue, hasInjectionTargetFromXml, hasLookupName, isConflict, isConflictResourceGroup, isInjectable, isSetValueCalled, print, printInjectableResourceInfo, setLookupName, setMappedName, setType, setValueaddDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visitaddExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toStringaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetNamegetName, getType, setName, setTypegetDescription, getValue, setDescription, setValuegetDescription, getLargeIconUri, getName, getSmallIconUri, setDescription, setLargeIconUri, setName, setSmallIconUripublic void setRefType(String refType)
public String getRefType()
public String getInjectResourceType()
InjectionCapablegetInjectResourceType in interface InjectionCapablegetInjectResourceType in class EnvironmentPropertypublic void setInjectResourceType(String refType)
setInjectResourceType in interface InjectionCapablesetInjectResourceType in class EnvironmentPropertypublic void setIsManagedBean(boolean flag)
public boolean isManagedBean()
public void setManagedBeanDescriptor(ManagedBeanDescriptor desc)
public ManagedBeanDescriptor getManagedBeanDescriptor()
public String getJndiName()
getJndiName in interface NamedDescriptorpublic void setJndiName(String jndiName)
setJndiName in interface NamedDescriptorjndiName - the new JNDI name of the receiver.public boolean isEJBContext()
public boolean isValidator()
public boolean isValidatorFactory()
public boolean isCDIBeanManager()
public boolean isConflict(ResourceReferenceDescriptor other)
public boolean equals(Object object)
equals in class EnvironmentPropertypublic int hashCode()
EnvironmentPropertyhashCode in class EnvironmentPropertypublic void checkType()
Copyright © 2019. All rights reserved.