Class ResourceReferenceMetaData
java.lang.Object
org.jboss.metadata.javaee.support.IdMetaDataImpl
org.jboss.metadata.javaee.support.NamedMetaData
org.jboss.metadata.javaee.spec.ResourceInjectionMetaData
org.jboss.metadata.javaee.support.ResourceInjectionMetaDataWithDescriptions
org.jboss.metadata.javaee.spec.ResourceReferenceMetaData
- All Implemented Interfaces:
Serializable, Cloneable, IdMetaData, MappableMetaData
ResourceReferenceMetaData.
- Version:
- $Revision: 1.1 $
- Author:
- Adrian Brock
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the authority.Get the resourceName.Get the resourceRefName.Get the sharingScope.Get the resUrl.getType()Get the type.booleanGet the containerAuth.booleanGet the isShareable.voidsetResAuth(ResourceAuthorityType authority) Set the authority.voidsetResourceName(String resourceName) Set the resourceName.voidsetResourceRefName(String resourceRefName) Set the resourceRefName.voidsetResSharingScope(ResourceSharingScopeType sharingScope) Set the sharingScope.voidSet the resUrl.voidSet the type.toString()Methods inherited from class ResourceInjectionMetaDataWithDescriptions
getDescriptions, setDescriptionsMethods inherited from class ResourceInjectionMetaData
getIgnoreDependency, getInjectionTargets, getJndiName, getLookupName, getMappedName, getName, getResolvedJndiName, isDependencyIgnored, setIgnoreDependency, setInjectionTargets, setJndiName, setLookupName, setMappedName, setResolvedJndiNameMethods inherited from class NamedMetaData
equals, getKey, hashCode, setNameMethods inherited from class IdMetaDataImpl
clone, getId, setId
-
Constructor Details
-
ResourceReferenceMetaData
public ResourceReferenceMetaData()Create a new ResourceReferenceMetaData.
-
-
Method Details
-
getResourceRefName
-
setResourceRefName
Set the resourceRefName.- Parameters:
resourceRefName- the resourceRefName.- Throws:
IllegalArgumentException- for a null resourceRefName
-
getType
-
setType
Set the type.- Parameters:
type- the type.- Throws:
IllegalArgumentException- for a null type
-
getResAuth
-
setResAuth
Set the authority.- Parameters:
authority- the authority.- Throws:
IllegalArgumentException- for a null authority
-
isContainerAuth
public boolean isContainerAuth()Get the containerAuth.- Returns:
- the containerAuth.
-
getResSharingScope
Get the sharingScope.- Returns:
- the sharingScope.
-
setResSharingScope
Set the sharingScope.- Parameters:
sharingScope- the sharingScope.- Throws:
IllegalArgumentException- for a null sharingScope
-
getResourceName
-
setResourceName
Set the resourceName.- Parameters:
resourceName- the resourceName.- Throws:
IllegalArgumentException- for a null resourceName
-
getResUrl
-
setResUrl
Set the resUrl.- Parameters:
resUrl- the resUrl.- Throws:
IllegalArgumentException- for a null resUrl
-
toString
- Overrides:
toStringin classNamedMetaData
-