public class WebBundleDescriptorImpl extends WebBundleDescriptor
AFTER_SERVLET_CONTEXT_INITIALIZED_EVENT, conflictAdminObjectDefinition, conflictConnectionFactoryDefinition, conflictDataSourceDefinition, conflictEjbReference, conflictEntityManagerFactoryReference, conflictEntityManagerReference, conflictEnvironmentEntry, conflictJMSConnectionFactoryDefinition, conflictJMSDestinationDefinition, conflictLoginConfig, conflictMailSessionDefinition, conflictMessageDestinationReference, conflictResourceEnvReference, conflictResourceReference, conflictServiceReference
rootNodes
classLoader, deplLogger, extensions, moduleDescriptor, moduleID
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
Constructor and Description |
---|
WebBundleDescriptorImpl()
Construct an empty web app [{0}].
|
Modifier and Type | Method and Description |
---|---|
protected EjbReference |
_getEjbReference(String name) |
protected EntityManagerFactoryReferenceDescriptor |
_getEntityManagerFactoryReferenceByName(String name) |
protected EntityManagerReferenceDescriptor |
_getEntityManagerReferenceByName(String name) |
protected EnvironmentProperty |
_getEnvironmentPropertyByName(String name) |
protected MessageDestinationReferenceDescriptor |
_getMessageDestinationReferenceByName(String name) |
protected ResourceEnvReferenceDescriptor |
_getResourceEnvReferenceByName(String name) |
protected ResourceReferenceDescriptor |
_getResourceReferenceByName(String name) |
protected ServiceReferenceDescriptor |
_getServiceReferenceByName(String name) |
void |
addAppListenerDescriptor(AppListenerDescriptor ref) |
void |
addAppListenerDescriptor(AppListenerDescriptorImpl ref) |
void |
addAppListenerDescriptorToFirst(AppListenerDescriptor ref) |
void |
addContextParameter(ContextParameter contextParameter)
Adds a new context parameter to my list.
|
void |
addContextParameter(EnvironmentProperty contextParameter)
Adds a new context parameter to my list.
|
void |
addDefaultWebBundleDescriptor(WebBundleDescriptor webBundleDescriptor) |
void |
addEjbReferenceDescriptor(EjbReference ejbReference)
Adds a new reference to an ejb.
|
void |
addEjbReferenceDescriptor(EjbReferenceDescriptor ejbReferenceDescriptor)
Adds a new reference to an ejb.
|
void |
addEntityManagerFactoryReferenceDescriptor(EntityManagerFactoryReferenceDescriptor reference) |
void |
addEntityManagerReferenceDescriptor(EntityManagerReferenceDescriptor reference) |
void |
addEnvironmentEntry(EnvironmentEntry environmentEntry)
Adds this given environment property to my list.
|
void |
addEnvironmentProperty(EnvironmentProperty environmentProperty)
Adds this given environment property to my list.
|
void |
addErrorPageDescriptor(ErrorPageDescriptor errorPageDescriptor)
Adds a new error page to my list.
|
void |
addJndiNameEnvironment(JndiNameEnvironment env) |
void |
addLocaleEncodingMappingDescriptor(LocaleEncodingMappingDescriptor lemDesc) |
void |
addMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor messageDestRef)
Adds the specified message destination reference to the receiver.
|
String |
addMimeMapping(MimeMapping mimeMapping) |
String |
addMimeMapping(MimeMappingDescriptor mimeMapping)
add the given mime mapping to my list.
|
void |
addOrderedLib(String libName) |
void |
addPostConstructDescriptor(LifecycleCallbackDescriptor postConstructDesc)
Adds the specified post-construct descriptor to the receiver.
|
void |
addPreDestroyDescriptor(LifecycleCallbackDescriptor preDestroyDesc)
Adds the specified pre-destroy descriptor to the receiver.
|
void |
addResourceEnvReferenceDescriptor(ResourceEnvReferenceDescriptor resourceEnvRefReference)
adds a resource environment reference to the bundle
|
void |
addResourceReferenceDescriptor(ResourceReferenceDescriptor resourceReference)
adds a new reference to a resource.
|
void |
addSecurityConstraint(SecurityConstraint securityConstraint)
Add a new security constraint.
|
void |
addSecurityConstraint(SecurityConstraintImpl securityConstraint)
Add a new security constraint.
|
void |
addSecurityRole(SecurityRole securityRole)
Add a new abstract role to me.
|
void |
addSecurityRole(SecurityRoleDescriptor securityRole)
Add a new abstract role to me.
|
void |
addServiceReferenceDescriptor(ServiceReferenceDescriptor serviceRef)
Adds the specified service reference to the receiver.
|
void |
addServletFilter(ServletFilter ref)
Adds a servlet filter to this web component.
|
void |
addServletFilter(ServletFilterDescriptor ref) |
void |
addServletFilterMapping(ServletFilterMapping ref)
Adds a servlet filter mapping to this web component.
|
void |
addServletFilterMapping(ServletFilterMappingDescriptor ref)
Adds a servlet filter mapping to this web component.
|
void |
addWebBundleDescriptor(WebBundleDescriptor webBundleDescriptor)
This method will merge the contents of webComponents.
|
void |
addWebComponentDescriptor(WebComponentDescriptor webComponentDescriptor)
Adds a new Web Component Descriptor to me.
|
void |
addWelcomeFile(String fileUri)
Adds a new welcome file to my list.
|
protected void |
combineEjbReferenceDescriptors(JndiNameEnvironment env) |
protected void |
combineEntityManagerFactoryReferenceDescriptors(JndiNameEnvironment env) |
protected void |
combineEntityManagerReferenceDescriptors(JndiNameEnvironment env) |
protected void |
combineEnvironmentEntries(JndiNameEnvironment env) |
protected void |
combineInjectionTargets(EnvironmentProperty env1,
EnvironmentProperty env2)
This method will copy the injection targets from env2 to env1.
|
protected void |
combineLoginConfiguration(WebBundleDescriptor webBundleDescriptor) |
protected void |
combineMessageDestinationReferenceDescriptors(JndiNameEnvironment env) |
protected void |
combineMimeMappings(Set<MimeMapping> mimeMappings) |
protected void |
combinePostConstructDescriptors(WebBundleDescriptor webBundleDescriptor) |
protected void |
combinePreDestroyDescriptors(WebBundleDescriptor webBundleDescriptor) |
protected void |
combineResourceDescriptors(JndiNameEnvironment env,
JavaEEResourceType javaEEResourceType) |
protected void |
combineResourceEnvReferenceDescriptors(JndiNameEnvironment env) |
protected void |
combineResourceReferenceDescriptors(JndiNameEnvironment env) |
protected void |
combineSecurityConstraints(Set<SecurityConstraint> firstScSet,
Set<SecurityConstraint> secondScSet) |
protected void |
combineServiceReferenceDescriptors(JndiNameEnvironment env) |
protected void |
combineServletFilterMappings(WebBundleDescriptor webBundleDescriptor) |
protected void |
combineServletFilters(WebBundleDescriptor webBundleDescriptor) |
protected WebComponentDescriptor |
combineWebComponentDescriptor(WebComponentDescriptor webComponentDescriptor)
This method combines descriptor except urlPattern and add
to current bundle descriptor if necessary.
|
WebBundleDescriptor |
createWebBundleDescriptor() |
Collection<? extends PersistenceUnitDescriptor> |
findReferencedPUs()
This method returns all the persistence units that are referenced
by this module.
|
AbsoluteOrderingDescriptor |
getAbsoluteOrderingDescriptor() |
String |
getAppContextId() |
Vector<AppListenerDescriptor> |
getAppListenerDescriptors() |
Vector<AppListenerDescriptor> |
getAppListeners() |
ComponentVisitor |
getBundleVisitor() |
Set<String> |
getConflictedMimeMappingExtensions() |
Enumeration<ContextParameter> |
getContextParameters() |
Set<ContextParameter> |
getContextParametersSet() |
String |
getContextRoot()
return the name of my context root
|
String |
getDefaultSpecVersion() |
String |
getDeploymentDescriptorDir() |
EjbReference |
getEjbReference(String name)
Looks up an ejb reference with the given name.
|
EjbReferenceDescriptor |
getEjbReferenceByName(String name) |
Set<EjbReference> |
getEjbReferenceDescriptors()
Returns the Set of my references to Enterprise Beans.
|
Enumeration<EjbReference> |
getEjbReferences()
Returns the enumeration of my references to Enterprise Beans.
|
EntityManagerFactoryReferenceDescriptor |
getEntityManagerFactoryReferenceByName(String name)
Return the entity manager factory reference descriptor corresponding to
the given name.
|
Set<EntityManagerFactoryReferenceDescriptor> |
getEntityManagerFactoryReferenceDescriptors()
Return a set of entity manager factory reference descriptors.
|
EntityManagerReferenceDescriptor |
getEntityManagerReferenceByName(String name)
Return the entity manager factory reference descriptor corresponding to
the given name.
|
Set<EntityManagerReferenceDescriptor> |
getEntityManagerReferenceDescriptors()
Return a set of entity manager reference descriptors.
|
Enumeration<EnvironmentEntry> |
getEnvironmentEntries()
Return my set of environment properties.
|
Set<EnvironmentEntry> |
getEnvironmentEntrySet() |
Set<EnvironmentEntry> |
getEnvironmentProperties()
Return my set of environment properties.
|
EnvironmentProperty |
getEnvironmentPropertyByName(String name)
Returns the environment property object searching on the supplied key.
|
ErrorPageDescriptor |
getErrorPageDescriptorBySignifier(String signifier)
Search my error pages for one with thei given signifier or null if there isn't one.
|
Enumeration<ErrorPageDescriptor> |
getErrorPageDescriptors()
Returns an enumeration of the error pages I have.
|
Set<ErrorPageDescriptor> |
getErrorPageDescriptorsSet() |
List<InjectionCapable> |
getInjectableResourcesByClass(String className) |
protected List<InjectionCapable> |
getInjectableResourcesByClass(String className,
JndiNameEnvironment jndiNameEnv)
Define implementation of getInjectableResourceByClass here so it
isn't replicated across appclient, web, ejb descriptors.
|
InjectionInfo |
getInjectionInfoByClass(Class clazz) |
Map<String,String> |
getJarNameToWebFragmentNameMap()
This method return an unmodifiable version of jarName2WebFragNameMap.
|
JspConfigDescriptorImpl |
getJspConfigDescriptor() |
Set<WebComponentDescriptor> |
getJspDescriptors() |
LocaleEncodingMappingListDescriptor |
getLocaleEncodingMappingListDescriptor() |
LoginConfiguration |
getLoginConfiguration()
Return the information about how I should log in.
|
MessageDestinationReferenceDescriptor |
getMessageDestinationReferenceByName(String name)
Looks up an message destination reference with the given name.
|
Set<MessageDestinationReferenceDescriptor> |
getMessageDestinationReferenceDescriptors()
Return a set of message destination reference descriptors.
|
Enumeration<MimeMapping> |
getMimeMappings() |
Set<MimeMapping> |
getMimeMappingsSet() |
ArchiveType |
getModuleType() |
Collection |
getNamedDescriptors()
Return the set of named descriptors that I have.
|
Vector<NamedReferencePair> |
getNamedReferencePairs()
Return the state of NamedReferencePairs that I have.
|
List<String> |
getOrderedLibs() |
LifecycleCallbackDescriptor |
getPostConstructDescriptorByClass(String className)
Return the post-construct descriptor corresponding to
the given name.
|
Set<LifecycleCallbackDescriptor> |
getPostConstructDescriptors()
Return a set of post-construct descriptors.
|
LifecycleCallbackDescriptor |
getPreDestroyDescriptorByClass(String className)
Return the pre-destroy descriptor corresponding to
the given name.
|
Set<LifecycleCallbackDescriptor> |
getPreDestroyDescriptors()
Return a set of pre-destroy descriptors.
|
String |
getRequestCharacterEncoding()
return the request encoding
|
ResourceEnvReferenceDescriptor |
getResourceEnvReferenceByName(String name)
Return the resource environment reference descriptor corresponding to
the given name.
|
Set<ResourceEnvReferenceDescriptor> |
getResourceEnvReferenceDescriptors()
Return a set of resource environment reference descriptors.
|
ResourceReferenceDescriptor |
getResourceReferenceByName(String name)
Looks up a reference to a resource by its name (getName()).
|
Set<ResourceReferenceDescriptor> |
getResourceReferenceDescriptors()
Return a set of resource reference descriptors.
|
Enumeration<ResourceReferenceDescriptor> |
getResourceReferences()
Return an enumeration of references to resources that I have.
|
String |
getResponseCharacterEncoding()
return the response encoding
|
Enumeration<SecurityConstraint> |
getSecurityConstraints()
My list of security constraints.
|
Collection<SecurityConstraint> |
getSecurityConstraintsForUrlPattern(String urlPattern) |
Set<SecurityConstraint> |
getSecurityConstraintsSet() |
SecurityRoleReference |
getSecurityRoleReferenceByName(String compName,
String roleName)
Return all the references by a given component (by name) to the given rolename.
|
Enumeration<SecurityRoleDescriptor> |
getSecurityRoles()
Returns an Enumeration of my SecurityRole objects.
|
ServiceReferenceDescriptor |
getServiceReferenceByName(String name)
Looks up an service reference with the given name.
|
Set<ServiceReferenceDescriptor> |
getServiceReferenceDescriptors()
Return a set of service reference descriptors.
|
Set<WebComponentDescriptor> |
getServletDescriptors() |
Vector<ServletFilter> |
getServletFilterDescriptors() |
Vector<ServletFilterMapping> |
getServletFilterMappingDescriptors()
Return a Vector of servlet filter mappings that I have.
|
Vector<ServletFilterMapping> |
getServletFilterMappings()
Return a Vector of servlet filters that I have.
|
Vector<ServletFilter> |
getServletFilters() |
boolean |
getServletInitializersEnabled() |
int |
getServletReloadCheckSecs() |
SessionConfig |
getSessionConfig() |
SunWebApp |
getSunDescriptor()
This returns the extra web sun specific info not in the RI DID.
|
DescriptorVisitor |
getTracerVisitor() |
Map<String,String> |
getUrlPatternToServletNameMap()
This method is used by WebComponentDescriptor only.
|
WebComponentDescriptor |
getWebComponentByCanonicalName(String name)
Search for a web component that I have by name.
|
WebComponentDescriptor[] |
getWebComponentByImplName(String name) |
WebComponentDescriptor |
getWebComponentByName(String name)
Search for a web component that I have by name.
|
Set<WebComponentDescriptor> |
getWebComponentDescriptors()
Return the Set of Web Component Descriptors (JSP or JavaServlets) in me.
|
Enumeration<String> |
getWelcomeFiles()
Return an enumeration of the welcome files I have..
|
Set<String> |
getWelcomeFilesSet() |
boolean |
hasExtensionProperty(String key)
Determine if an extension property has been set.
|
boolean |
hasServiceReferenceDescriptors()
WEB SERVICES REF APIS
|
boolean |
hasWebServiceClients() |
boolean |
isDenyUncoveredHttpMethods() |
boolean |
isDistributable()
Return true if this web app [{0}] can be distributed across different processes.
|
boolean |
isEmpty()
Return true if this root deployment descriptor does not describe anything
|
protected boolean |
isExists() |
boolean |
isJaxrsRolesAllowedEnabled() |
boolean |
isShowArchivedRealPathEnabled() |
void |
moveAppListenerDescriptor(AppListenerDescriptor ref,
int relPos) |
void |
moveServletFilterMapping(ServletFilterMapping ref,
int relPos)
* Moves the given servlet filter mapping to a new relative location in
* the list
|
protected void |
moveVectorItem(Vector list,
Object ref,
int rpos)
Moves the given object to a new relative location in the specified list
|
void |
print(StringBuilder toStringBuilder)
Return a formatted version as a String.
|
void |
printCommon(StringBuilder toStringBuilder) |
void |
putJarNameWebFragmentNamePair(String jarName,
String webFragName) |
void |
removeAppListenerDescriptor(AppListenerDescriptor ref) |
void |
removeContextParameter(ContextParameter contextParameter)
Removes the given context parameter from my list.
|
void |
removeEjbReferenceDescriptor(EjbReference ejbReferenceDescriptor)
Removes the specificed ejb reference from the receiver.
|
void |
removeEjbReferenceDescriptor(EjbReferenceDescriptor ejbReferenceDescriptor)
Removes a reference to an ejb.
|
void |
removeEnvironmentEntry(EnvironmentEntry environmentEntry)
Removes this given environment property from my list.
|
void |
removeEnvironmentProperty(EnvironmentProperty environmentProperty)
Removes this given environment property from my list.
|
void |
removeErrorPageDescriptor(ErrorPageDescriptor errorPageDescriptor)
Removes the given error page from my list.
|
void |
removeMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor msgDestRef)
Removes the specified message destination reference from the receiver.
|
void |
removeMimeMapping(MimeMapping mimeMapping)
Removes the given mime mapping from my list.
|
void |
removeResourceEnvReferenceDescriptor(ResourceEnvReferenceDescriptor resourceEnvRefReference)
removes a existing resource environment reference from the bundle
|
void |
removeResourceReferenceDescriptor(ResourceReferenceDescriptor resourceReference)
removes a reference to a resource.
|
void |
removeSecurityConstraint(SecurityConstraint securityConstraint)
Remove the given security constraint.
|
void |
removeServiceReferenceDescriptor(ServiceReferenceDescriptor serviceRef)
Removes the specified service reference from the receiver.
|
void |
removeServletFilter(ServletFilter ref)
Removes the given servlet filter from this web component.
|
void |
removeServletFilterMapping(ServletFilterMapping ref)
Removes the given servlet filter mapping from this web component.
|
protected boolean |
removeVectorItem(Vector<? extends Object> list,
Object ref)
remove a specific object from the given list (does not rely on 'equals')
|
void |
removeWebComponentDescriptor(WebComponentDescriptor webComponentDescriptor)
Remove the given web component from me.
|
void |
removeWelcomeFile(String fileUri)
Removes a welcome file from my list.
|
void |
resetUrlPatternToServletNameMap() |
void |
setAbsoluteOrderingDescriptor(AbsoluteOrderingDescriptor absOrdering) |
void |
setAppContextId(String appContextId) |
void |
setAppListeners(Collection<? extends AppListenerDescriptor> c) |
void |
setContextRoot(String contextRoot)
Set the name of my context root.
|
void |
setDenyUncoveredHttpMethods(boolean denyUncoveredHttpMethods) |
void |
setDistributable(boolean distributable)
Sets whether this web app [{0}] can be distributed across different processes.
|
void |
setExtensionProperty(String key,
String value)
This property can be used to indicate special processing.
|
void |
setJaxrsRolesAllowedEnabled(boolean jaxrsRolesAllowedEnabled) |
void |
setJspConfigDescriptor(JspConfigDescriptorImpl jspC) |
void |
setLocaleEncodingMappingListDescriptor(LocaleEncodingMappingListDescriptor lemListDesc) |
void |
setLoginConfiguration(LoginConfiguration loginConfiguration)
Specifies the information about how I should log in.
|
void |
setLoginConfiguration(LoginConfigurationImpl loginConfiguration) |
void |
setMimeMappings(Set<MimeMapping> mimeMappings)
Sets the Set of Mime Mappings for this web application.
|
void |
setRequestCharacterEncoding(String requestCharacterEncoding)
Set the request encoding
|
void |
setResponseCharacterEncoding(String responseCharacterEncoding)
Set the response encoding
|
void |
setServletInitializersEnabled(boolean tf) |
void |
setServletReloadCheckSecs(int secs) |
void |
setSessionConfig(SessionConfig sessionConfig) |
void |
setSessionConfig(SessionConfigDescriptor sessionConfigDesc)
DeploymentDescriptorNode.addNodeDescriptor(node) need this.
|
void |
setShowArchivedRealPathEnabled(boolean enabled) |
void |
setSunDescriptor(SunWebApp webApp)
This sets the extra web sun specific info not in the RI DID.
|
void |
setWelcomeFiles(Set<String> welcomeFiles)
Sets the collection of my welcome files.
|
void |
visit(ComponentVisitor aVisitor)
visitor API implementation
|
void |
visit(DescriptorVisitor aVisitor)
visitor API implementation
|
isConflictAdminObjectDefinition, isConflictConnectionFactoryDefinition, isConflictDataSourceDefinition, isConflictEjbReference, isConflictEntityManagerFactoryReference, isConflictEntityManagerReference, isConflictEnvironmentEntry, isConflictJMSConnectionFactoryDefinition, isConflictJMSDestinationDefinition, isConflictLoginConfig, isConflictMailSessionDefinition, isConflictMessageDestinationReference, isConflictResourceEnvReference, isConflictResourceReference, isConflictServiceReference
addResourceDescriptor, getAllResourcesDescriptors, getAllResourcesDescriptors, getResourceDescriptor, getResourceDescriptors, removeResourceDescriptor
addBundleDescriptor, addEntityManagerFactory, addManagedBean, addMessageDestination, addRole, addRole, addRootNode, findDefaultPU, findReferencedPU, findReferencedPUsViaPCRefs, findReferencedPUsViaPURefs, findReferencedPUViaEMFRef, findReferencedPUViaEMRef, getApplication, getClassLoader, getCompatibility, getEntityManagerFactories, getEntityManagerFactory, getInjectableResources, getInjectionInfoByClass, getKeepState, getManagedBeanByBeanClass, getManagedBeans, getMessageDestinationByName, getMessageDestinations, getModuleID, getModuleName, getNamedDescriptorsFrom, getNamedReferencePairsFrom, getPostConstructDescriptorByClass, getPreDestroyDescriptorByClass, getRoles, getRootNode, getUniqueFriendlyId, getVisiblePUs, getWebServiceEndpointByName, getWebServices, getWsdlDir, hasManagedBeanByBeanClass, hasMessageDestinationByName, hasWebServices, isApplication, isDDWithNoAnnotationAllowed, isDefaultGroupPrincipalMapping, isFullAttribute, isFullFlag, isPackagedAsSingleModule, isPolicyModified, isStandalone, removeMessageDestination, removeRole, setApplication, setCompatibility, setDefaultGroupPrincipalMapping, setFullAttribute, setFullFlag, setKeepState, setPolicyModified
addExtensionDescriptor, getDisplayName, getExtensionsDescriptors, getExtensionsDescriptors, getExtensionsDescriptors, getMainDescriptor, getModuleDescriptor, getName, getSchemaLocation, getSpecVersion, isExtensionDescriptor, setClassLoader, setDisplayName, setModuleDescriptor, setModuleID, setName, setSchemaLocation, setSpecVersion
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setSmallIconUri
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addResourceDescriptor, removeResourceDescriptor
getAllResourcesDescriptors, getAllResourcesDescriptors, getResourceDescriptors
public WebBundleDescriptorImpl()
public WebBundleDescriptor createWebBundleDescriptor()
protected boolean isExists()
public void addWebBundleDescriptor(WebBundleDescriptor webBundleDescriptor)
addWebBundleDescriptor
in class WebBundleDescriptor
webBundleDescriptor
- public void addDefaultWebBundleDescriptor(WebBundleDescriptor webBundleDescriptor)
addDefaultWebBundleDescriptor
in class WebBundleDescriptor
public void addJndiNameEnvironment(JndiNameEnvironment env)
addJndiNameEnvironment
in class WebBundleDescriptor
public boolean isEmpty()
RootDeploymentDescriptor
isEmpty
in class WebBundleDescriptor
public String getDefaultSpecVersion()
getDefaultSpecVersion
in class WebBundleDescriptor
public Collection getNamedDescriptors()
getNamedDescriptors
in class WebBundleDescriptor
public Vector<NamedReferencePair> getNamedReferencePairs()
getNamedReferencePairs
in class WebBundleDescriptor
public String getContextRoot()
getContextRoot
in class WebBundleDescriptor
public void setContextRoot(String contextRoot)
setContextRoot
in class WebBundleDescriptor
public String getRequestCharacterEncoding()
getRequestCharacterEncoding
in class WebBundleDescriptor
public void setRequestCharacterEncoding(String requestCharacterEncoding)
setRequestCharacterEncoding
in class WebBundleDescriptor
public String getResponseCharacterEncoding()
getResponseCharacterEncoding
in class WebBundleDescriptor
public void setResponseCharacterEncoding(String responseCharacterEncoding)
setResponseCharacterEncoding
in class WebBundleDescriptor
public Set<WebComponentDescriptor> getWebComponentDescriptors()
getWebComponentDescriptors
in class WebBundleDescriptor
public void addWebComponentDescriptor(WebComponentDescriptor webComponentDescriptor)
addWebComponentDescriptor
in class WebBundleDescriptor
webComponentDescriptor
- protected WebComponentDescriptor combineWebComponentDescriptor(WebComponentDescriptor webComponentDescriptor)
combineWebComponentDescriptor
in class WebBundleDescriptor
webComponentDescriptor
- the new descriptorpublic void removeWebComponentDescriptor(WebComponentDescriptor webComponentDescriptor)
removeWebComponentDescriptor
in class WebBundleDescriptor
webComponentDescriptor
- public SessionConfig getSessionConfig()
getSessionConfig
in class WebBundleDescriptor
public void setSessionConfig(SessionConfig sessionConfig)
setSessionConfig
in class WebBundleDescriptor
public void setSessionConfig(SessionConfigDescriptor sessionConfigDesc)
sessionConfigDesc
- public boolean hasServiceReferenceDescriptors()
hasServiceReferenceDescriptors
in class WebBundleDescriptor
public Set<ServiceReferenceDescriptor> getServiceReferenceDescriptors()
JndiNameEnvironment
getServiceReferenceDescriptors
in interface JndiNameEnvironment
getServiceReferenceDescriptors
in interface ServiceReferenceContainer
getServiceReferenceDescriptors
in class WebBundleDescriptor
public void addServiceReferenceDescriptor(ServiceReferenceDescriptor serviceRef)
WritableJndiNameEnvironment
addServiceReferenceDescriptor
in interface ServiceReferenceContainer
addServiceReferenceDescriptor
in interface WritableJndiNameEnvironment
addServiceReferenceDescriptor
in class WebBundleDescriptor
serviceRef
- the ServiceReferenceDescriptor to add.public void removeServiceReferenceDescriptor(ServiceReferenceDescriptor serviceRef)
WritableJndiNameEnvironment
removeServiceReferenceDescriptor
in interface ServiceReferenceContainer
removeServiceReferenceDescriptor
in interface WritableJndiNameEnvironment
removeServiceReferenceDescriptor
in class WebBundleDescriptor
serviceRef
- the ServiceReferenceDescriptor to remove.public ServiceReferenceDescriptor getServiceReferenceByName(String name)
getServiceReferenceByName
in interface JndiNameEnvironment
getServiceReferenceByName
in interface ServiceReferenceContainer
getServiceReferenceByName
in class WebBundleDescriptor
name
- protected ServiceReferenceDescriptor _getServiceReferenceByName(String name)
_getServiceReferenceByName
in class WebBundleDescriptor
protected void combineServiceReferenceDescriptors(JndiNameEnvironment env)
combineServiceReferenceDescriptors
in class WebBundleDescriptor
public Set<ResourceEnvReferenceDescriptor> getResourceEnvReferenceDescriptors()
JndiNameEnvironment
getResourceEnvReferenceDescriptors
in interface JndiNameEnvironment
getResourceEnvReferenceDescriptors
in interface ResourceEnvReferenceContainer
getResourceEnvReferenceDescriptors
in class WebBundleDescriptor
public void addResourceEnvReferenceDescriptor(ResourceEnvReferenceDescriptor resourceEnvRefReference)
addResourceEnvReferenceDescriptor
in interface ResourceEnvReferenceContainer
addResourceEnvReferenceDescriptor
in interface WritableJndiNameEnvironment
addResourceEnvReferenceDescriptor
in class WebBundleDescriptor
resourceEnvRefReference
- public void removeResourceEnvReferenceDescriptor(ResourceEnvReferenceDescriptor resourceEnvRefReference)
removeResourceEnvReferenceDescriptor
in interface WritableJndiNameEnvironment
removeResourceEnvReferenceDescriptor
in class WebBundleDescriptor
resourceEnvRefReference
- public ResourceEnvReferenceDescriptor getResourceEnvReferenceByName(String name)
JndiNameEnvironment
getResourceEnvReferenceByName
in interface JndiNameEnvironment
getResourceEnvReferenceByName
in interface ResourceEnvReferenceContainer
getResourceEnvReferenceByName
in class WebBundleDescriptor
name
- protected ResourceEnvReferenceDescriptor _getResourceEnvReferenceByName(String name)
_getResourceEnvReferenceByName
in class WebBundleDescriptor
protected void combineResourceEnvReferenceDescriptors(JndiNameEnvironment env)
combineResourceEnvReferenceDescriptors
in class WebBundleDescriptor
public Set<MimeMapping> getMimeMappingsSet()
getMimeMappingsSet
in class WebBundleDescriptor
public void setMimeMappings(Set<MimeMapping> mimeMappings)
setMimeMappings
in class WebBundleDescriptor
mimeMappings
- public Enumeration<MimeMapping> getMimeMappings()
getMimeMappings
in class WebBundleDescriptor
public String addMimeMapping(MimeMapping mimeMapping)
addMimeMapping
in class WebBundleDescriptor
mimeMapping
- the given mime mapping to my list if the given MimeType is not added
return the result MimeType of the MimeMapping in the resulting set of MimeMappingpublic String addMimeMapping(MimeMappingDescriptor mimeMapping)
mimeMapping
- protected void combineMimeMappings(Set<MimeMapping> mimeMappings)
public Set<String> getConflictedMimeMappingExtensions()
getConflictedMimeMappingExtensions
in class WebBundleDescriptor
public LocaleEncodingMappingListDescriptor getLocaleEncodingMappingListDescriptor()
getLocaleEncodingMappingListDescriptor
in class WebBundleDescriptor
public void setLocaleEncodingMappingListDescriptor(LocaleEncodingMappingListDescriptor lemListDesc)
setLocaleEncodingMappingListDescriptor
in class WebBundleDescriptor
public void addLocaleEncodingMappingDescriptor(LocaleEncodingMappingDescriptor lemDesc)
public void removeMimeMapping(MimeMapping mimeMapping)
removeMimeMapping
in class WebBundleDescriptor
mimeMapping
- public Enumeration<String> getWelcomeFiles()
getWelcomeFiles
in class WebBundleDescriptor
public Set<String> getWelcomeFilesSet()
getWelcomeFilesSet
in class WebBundleDescriptor
public void addWelcomeFile(String fileUri)
addWelcomeFile
in class WebBundleDescriptor
fileUri
- public void removeWelcomeFile(String fileUri)
removeWelcomeFile
in class WebBundleDescriptor
fileUri
- public void setWelcomeFiles(Set<String> welcomeFiles)
setWelcomeFiles
in class WebBundleDescriptor
welcomeFiles
- public Set<ErrorPageDescriptor> getErrorPageDescriptorsSet()
public Enumeration<ErrorPageDescriptor> getErrorPageDescriptors()
public void addErrorPageDescriptor(ErrorPageDescriptor errorPageDescriptor)
errorPageDescriptor
- public void removeErrorPageDescriptor(ErrorPageDescriptor errorPageDescriptor)
errorPageDescriptor
- public ErrorPageDescriptor getErrorPageDescriptorBySignifier(String signifier)
signifier
- public Set<ContextParameter> getContextParametersSet()
getContextParametersSet
in class WebBundleDescriptor
public Enumeration<ContextParameter> getContextParameters()
getContextParameters
in class WebBundleDescriptor
public void addContextParameter(ContextParameter contextParameter)
addContextParameter
in class WebBundleDescriptor
contextParameter
- public void addContextParameter(EnvironmentProperty contextParameter)
addContextParameter
in class WebBundleDescriptor
contextParameter
- public void removeContextParameter(ContextParameter contextParameter)
removeContextParameter
in class WebBundleDescriptor
contextParameter
- public boolean isDistributable()
isDistributable
in class WebBundleDescriptor
public void setDistributable(boolean distributable)
setDistributable
in class WebBundleDescriptor
distributable
- public Enumeration<EjbReference> getEjbReferences()
getEjbReferences
in class WebBundleDescriptor
public Set<EjbReference> getEjbReferenceDescriptors()
getEjbReferenceDescriptors
in interface JndiNameEnvironment
getEjbReferenceDescriptors
in interface EjbReferenceContainer
getEjbReferenceDescriptors
in class WebBundleDescriptor
public EjbReferenceDescriptor getEjbReferenceByName(String name)
getEjbReferenceByName
in class WebBundleDescriptor
name
- public EjbReference getEjbReference(String name)
EjbReferenceContainer
getEjbReference
in interface EjbReferenceContainer
getEjbReference
in class WebBundleDescriptor
protected EjbReference _getEjbReference(String name)
_getEjbReference
in class WebBundleDescriptor
public ResourceReferenceDescriptor getResourceReferenceByName(String name)
ResourceReferenceContainer
getResourceReferenceByName
in interface ResourceReferenceContainer
getResourceReferenceByName
in class WebBundleDescriptor
name
- protected ResourceReferenceDescriptor _getResourceReferenceByName(String name)
_getResourceReferenceByName
in class WebBundleDescriptor
public Set<ResourceReferenceDescriptor> getResourceReferenceDescriptors()
JndiNameEnvironment
getResourceReferenceDescriptors
in interface JndiNameEnvironment
getResourceReferenceDescriptors
in interface ResourceReferenceContainer
getResourceReferenceDescriptors
in class WebBundleDescriptor
public Set<EntityManagerFactoryReferenceDescriptor> getEntityManagerFactoryReferenceDescriptors()
JndiNameEnvironment
getEntityManagerFactoryReferenceDescriptors
in interface JndiNameEnvironment
getEntityManagerFactoryReferenceDescriptors
in class WebBundleDescriptor
public EntityManagerFactoryReferenceDescriptor getEntityManagerFactoryReferenceByName(String name)
getEntityManagerFactoryReferenceByName
in interface JndiNameEnvironment
getEntityManagerFactoryReferenceByName
in class WebBundleDescriptor
name
- protected EntityManagerFactoryReferenceDescriptor _getEntityManagerFactoryReferenceByName(String name)
_getEntityManagerFactoryReferenceByName
in class WebBundleDescriptor
public void addEntityManagerFactoryReferenceDescriptor(EntityManagerFactoryReferenceDescriptor reference)
addEntityManagerFactoryReferenceDescriptor
in interface WritableJndiNameEnvironment
addEntityManagerFactoryReferenceDescriptor
in class WebBundleDescriptor
protected void combineEntityManagerFactoryReferenceDescriptors(JndiNameEnvironment env)
combineEntityManagerFactoryReferenceDescriptors
in class WebBundleDescriptor
public Set<EntityManagerReferenceDescriptor> getEntityManagerReferenceDescriptors()
JndiNameEnvironment
getEntityManagerReferenceDescriptors
in interface JndiNameEnvironment
getEntityManagerReferenceDescriptors
in class WebBundleDescriptor
public EntityManagerReferenceDescriptor getEntityManagerReferenceByName(String name)
getEntityManagerReferenceByName
in interface JndiNameEnvironment
getEntityManagerReferenceByName
in class WebBundleDescriptor
name
- protected EntityManagerReferenceDescriptor _getEntityManagerReferenceByName(String name)
_getEntityManagerReferenceByName
in class WebBundleDescriptor
public void addEntityManagerReferenceDescriptor(EntityManagerReferenceDescriptor reference)
addEntityManagerReferenceDescriptor
in interface WritableJndiNameEnvironment
addEntityManagerReferenceDescriptor
in class WebBundleDescriptor
protected void combineEntityManagerReferenceDescriptors(JndiNameEnvironment env)
combineEntityManagerReferenceDescriptors
in class WebBundleDescriptor
public Collection<? extends PersistenceUnitDescriptor> findReferencedPUs()
findReferencedPUs
in class WebBundleDescriptor
public Set<EnvironmentEntry> getEnvironmentProperties()
getEnvironmentProperties
in interface JndiNameEnvironment
getEnvironmentProperties
in class WebBundleDescriptor
public void addEjbReferenceDescriptor(EjbReference ejbReference)
addEjbReferenceDescriptor
in interface EjbReferenceContainer
addEjbReferenceDescriptor
in interface WritableJndiNameEnvironment
addEjbReferenceDescriptor
in class WebBundleDescriptor
ejbReference
- public void addEjbReferenceDescriptor(EjbReferenceDescriptor ejbReferenceDescriptor)
addEjbReferenceDescriptor
in class WebBundleDescriptor
ejbReferenceDescriptor
- public void removeEjbReferenceDescriptor(EjbReferenceDescriptor ejbReferenceDescriptor)
removeEjbReferenceDescriptor
in class WebBundleDescriptor
ejbReferenceDescriptor
- public void removeEjbReferenceDescriptor(EjbReference ejbReferenceDescriptor)
WritableJndiNameEnvironment
removeEjbReferenceDescriptor
in interface WritableJndiNameEnvironment
removeEjbReferenceDescriptor
in class WebBundleDescriptor
ejbReferenceDescriptor
- the EjbReferenceDescriptor to remove.protected void combineEjbReferenceDescriptors(JndiNameEnvironment env)
combineEjbReferenceDescriptors
in class WebBundleDescriptor
public Enumeration<ResourceReferenceDescriptor> getResourceReferences()
getResourceReferences
in class WebBundleDescriptor
public void addResourceReferenceDescriptor(ResourceReferenceDescriptor resourceReference)
addResourceReferenceDescriptor
in interface ResourceReferenceContainer
addResourceReferenceDescriptor
in interface WritableJndiNameEnvironment
addResourceReferenceDescriptor
in class WebBundleDescriptor
resourceReference
- public void removeResourceReferenceDescriptor(ResourceReferenceDescriptor resourceReference)
removeResourceReferenceDescriptor
in interface WritableJndiNameEnvironment
removeResourceReferenceDescriptor
in class WebBundleDescriptor
resourceReference
- protected void combineResourceReferenceDescriptors(JndiNameEnvironment env)
combineResourceReferenceDescriptors
in class WebBundleDescriptor
env
- public Set<MessageDestinationReferenceDescriptor> getMessageDestinationReferenceDescriptors()
JndiNameEnvironment
getMessageDestinationReferenceDescriptors
in interface JndiNameEnvironment
getMessageDestinationReferenceDescriptors
in interface MessageDestinationReferenceContainer
getMessageDestinationReferenceDescriptors
in class WebBundleDescriptor
public void addMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor messageDestRef)
WritableJndiNameEnvironment
addMessageDestinationReferenceDescriptor
in interface MessageDestinationReferenceContainer
addMessageDestinationReferenceDescriptor
in interface WritableJndiNameEnvironment
addMessageDestinationReferenceDescriptor
in class WebBundleDescriptor
messageDestRef
- the MessageDestinationReferenceDescriptor to add.public void removeMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor msgDestRef)
WritableJndiNameEnvironment
removeMessageDestinationReferenceDescriptor
in interface MessageDestinationReferenceContainer
removeMessageDestinationReferenceDescriptor
in interface WritableJndiNameEnvironment
removeMessageDestinationReferenceDescriptor
in class WebBundleDescriptor
msgDestRef
- MessageDestinationReferenceDescriptor to remove.public MessageDestinationReferenceDescriptor getMessageDestinationReferenceByName(String name)
getMessageDestinationReferenceByName
in interface JndiNameEnvironment
getMessageDestinationReferenceByName
in interface MessageDestinationReferenceContainer
getMessageDestinationReferenceByName
in class WebBundleDescriptor
name
- protected MessageDestinationReferenceDescriptor _getMessageDestinationReferenceByName(String name)
_getMessageDestinationReferenceByName
in class WebBundleDescriptor
protected void combineMessageDestinationReferenceDescriptors(JndiNameEnvironment env)
combineMessageDestinationReferenceDescriptors
in class WebBundleDescriptor
public Set<LifecycleCallbackDescriptor> getPostConstructDescriptors()
JndiNameEnvironment
getPostConstructDescriptors
in interface JndiNameEnvironment
getPostConstructDescriptors
in class WebBundleDescriptor
public void addPostConstructDescriptor(LifecycleCallbackDescriptor postConstructDesc)
WritableJndiNameEnvironment
addPostConstructDescriptor
in interface WritableJndiNameEnvironment
addPostConstructDescriptor
in class WebBundleDescriptor
postConstructDesc
- the post-construct LifecycleCallbackDescriptor to add.public LifecycleCallbackDescriptor getPostConstructDescriptorByClass(String className)
JndiNameEnvironment
getPostConstructDescriptorByClass
in interface JndiNameEnvironment
getPostConstructDescriptorByClass
in class WebBundleDescriptor
protected void combinePostConstructDescriptors(WebBundleDescriptor webBundleDescriptor)
combinePostConstructDescriptors
in class WebBundleDescriptor
webBundleDescriptor
- public Set<LifecycleCallbackDescriptor> getPreDestroyDescriptors()
JndiNameEnvironment
getPreDestroyDescriptors
in interface JndiNameEnvironment
getPreDestroyDescriptors
in class WebBundleDescriptor
public void addPreDestroyDescriptor(LifecycleCallbackDescriptor preDestroyDesc)
WritableJndiNameEnvironment
addPreDestroyDescriptor
in interface WritableJndiNameEnvironment
addPreDestroyDescriptor
in class WebBundleDescriptor
preDestroyDesc
- the pre-destroy LifecycleCallbackDescriptor to add.public LifecycleCallbackDescriptor getPreDestroyDescriptorByClass(String className)
JndiNameEnvironment
getPreDestroyDescriptorByClass
in interface JndiNameEnvironment
getPreDestroyDescriptorByClass
in class WebBundleDescriptor
protected void combinePreDestroyDescriptors(WebBundleDescriptor webBundleDescriptor)
combinePreDestroyDescriptors
in class WebBundleDescriptor
protected List<InjectionCapable> getInjectableResourcesByClass(String className, JndiNameEnvironment jndiNameEnv)
BundleDescriptor
getInjectableResourcesByClass
in class WebBundleDescriptor
public List<InjectionCapable> getInjectableResourcesByClass(String className)
getInjectableResourcesByClass
in interface JndiNameEnvironment
getInjectableResourcesByClass
in class WebBundleDescriptor
public InjectionInfo getInjectionInfoByClass(Class clazz)
getInjectionInfoByClass
in interface JndiNameEnvironment
getInjectionInfoByClass
in class WebBundleDescriptor
public Enumeration<SecurityRoleDescriptor> getSecurityRoles()
getSecurityRoles
in class WebBundleDescriptor
public void addSecurityRole(SecurityRole securityRole)
addSecurityRole
in class WebBundleDescriptor
securityRole
- public void addSecurityRole(SecurityRoleDescriptor securityRole)
addSecurityRole
in class WebBundleDescriptor
securityRole
- public SecurityRoleReference getSecurityRoleReferenceByName(String compName, String roleName)
getSecurityRoleReferenceByName
in class WebBundleDescriptor
compName
- roleName
- protected void combineSecurityConstraints(Set<SecurityConstraint> firstScSet, Set<SecurityConstraint> secondScSet)
combineSecurityConstraints
in class WebBundleDescriptor
public Set<SecurityConstraint> getSecurityConstraintsSet()
getSecurityConstraintsSet
in class WebBundleDescriptor
public Enumeration<SecurityConstraint> getSecurityConstraints()
getSecurityConstraints
in class WebBundleDescriptor
public Collection<SecurityConstraint> getSecurityConstraintsForUrlPattern(String urlPattern)
getSecurityConstraintsForUrlPattern
in class WebBundleDescriptor
public void addSecurityConstraint(SecurityConstraint securityConstraint)
addSecurityConstraint
in class WebBundleDescriptor
securityConstraint
- public void addSecurityConstraint(SecurityConstraintImpl securityConstraint)
securityConstraint
- public void removeSecurityConstraint(SecurityConstraint securityConstraint)
removeSecurityConstraint
in class WebBundleDescriptor
securityConstraint
- public JspConfigDescriptorImpl getJspConfigDescriptor()
public void setJspConfigDescriptor(JspConfigDescriptorImpl jspC)
public Set<WebComponentDescriptor> getServletDescriptors()
getServletDescriptors
in class WebBundleDescriptor
public Set<WebComponentDescriptor> getJspDescriptors()
getJspDescriptors
in class WebBundleDescriptor
public Set<EnvironmentEntry> getEnvironmentEntrySet()
getEnvironmentEntrySet
in class WebBundleDescriptor
public Enumeration<EnvironmentEntry> getEnvironmentEntries()
getEnvironmentEntries
in class WebBundleDescriptor
public void addEnvironmentEntry(EnvironmentEntry environmentEntry)
addEnvironmentEntry
in class WebBundleDescriptor
environmentEntry
- protected EnvironmentProperty _getEnvironmentPropertyByName(String name)
_getEnvironmentPropertyByName
in class WebBundleDescriptor
public EnvironmentProperty getEnvironmentPropertyByName(String name)
getEnvironmentPropertyByName
in interface JndiNameEnvironment
getEnvironmentPropertyByName
in class WebBundleDescriptor
name
- public void removeEnvironmentProperty(EnvironmentProperty environmentProperty)
removeEnvironmentProperty
in interface WritableJndiNameEnvironment
removeEnvironmentProperty
in class WebBundleDescriptor
environmentProperty
- public void addEnvironmentProperty(EnvironmentProperty environmentProperty)
addEnvironmentProperty
in interface WritableJndiNameEnvironment
addEnvironmentProperty
in class WebBundleDescriptor
environmentProperty
- public void removeEnvironmentEntry(EnvironmentEntry environmentEntry)
removeEnvironmentEntry
in class WebBundleDescriptor
environmentEntry
- protected void combineEnvironmentEntries(JndiNameEnvironment env)
combineEnvironmentEntries
in class WebBundleDescriptor
public LoginConfiguration getLoginConfiguration()
getLoginConfiguration
in class WebBundleDescriptor
public void setLoginConfiguration(LoginConfiguration loginConfiguration)
setLoginConfiguration
in class WebBundleDescriptor
loginConfiguration
- public void setLoginConfiguration(LoginConfigurationImpl loginConfiguration)
protected void combineLoginConfiguration(WebBundleDescriptor webBundleDescriptor)
combineLoginConfiguration
in class WebBundleDescriptor
public WebComponentDescriptor getWebComponentByName(String name)
getWebComponentByName
in class WebBundleDescriptor
name
- public WebComponentDescriptor getWebComponentByCanonicalName(String name)
getWebComponentByCanonicalName
in class WebBundleDescriptor
name
- public WebComponentDescriptor[] getWebComponentByImplName(String name)
getWebComponentByImplName
in class WebBundleDescriptor
public Vector<ServletFilter> getServletFilters()
getServletFilters
in class WebBundleDescriptor
public Vector<ServletFilter> getServletFilterDescriptors()
getServletFilterDescriptors
in class WebBundleDescriptor
public void addServletFilter(ServletFilter ref)
addServletFilter
in class WebBundleDescriptor
ref
- public void addServletFilter(ServletFilterDescriptor ref)
public void removeServletFilter(ServletFilter ref)
removeServletFilter
in class WebBundleDescriptor
ref
- protected void combineServletFilters(WebBundleDescriptor webBundleDescriptor)
combineServletFilters
in class WebBundleDescriptor
public Vector<ServletFilterMapping> getServletFilterMappings()
getServletFilterMappings
in class WebBundleDescriptor
public Vector<ServletFilterMapping> getServletFilterMappingDescriptors()
getServletFilterMappingDescriptors
in class WebBundleDescriptor
public void addServletFilterMapping(ServletFilterMapping ref)
addServletFilterMapping
in class WebBundleDescriptor
ref
- public void addServletFilterMapping(ServletFilterMappingDescriptor ref)
ref
- public void removeServletFilterMapping(ServletFilterMapping ref)
removeServletFilterMapping
in class WebBundleDescriptor
ref
- public void moveServletFilterMapping(ServletFilterMapping ref, int relPos)
moveServletFilterMapping
in class WebBundleDescriptor
ref
- relPos
- protected void combineServletFilterMappings(WebBundleDescriptor webBundleDescriptor)
combineServletFilterMappings
in class WebBundleDescriptor
public Vector<AppListenerDescriptor> getAppListeners()
getAppListeners
in class WebBundleDescriptor
public Vector<AppListenerDescriptor> getAppListenerDescriptors()
getAppListenerDescriptors
in class WebBundleDescriptor
public void setAppListeners(Collection<? extends AppListenerDescriptor> c)
setAppListeners
in class WebBundleDescriptor
public void addAppListenerDescriptor(AppListenerDescriptor ref)
addAppListenerDescriptor
in class WebBundleDescriptor
public void addAppListenerDescriptorToFirst(AppListenerDescriptor ref)
addAppListenerDescriptorToFirst
in class WebBundleDescriptor
public void addAppListenerDescriptor(AppListenerDescriptorImpl ref)
public void removeAppListenerDescriptor(AppListenerDescriptor ref)
removeAppListenerDescriptor
in class WebBundleDescriptor
public void moveAppListenerDescriptor(AppListenerDescriptor ref, int relPos)
moveAppListenerDescriptor
in class WebBundleDescriptor
public AbsoluteOrderingDescriptor getAbsoluteOrderingDescriptor()
public void setAbsoluteOrderingDescriptor(AbsoluteOrderingDescriptor absOrdering)
public boolean isDenyUncoveredHttpMethods()
isDenyUncoveredHttpMethods
in class WebBundleDescriptor
public void setDenyUncoveredHttpMethods(boolean denyUncoveredHttpMethods)
public boolean isShowArchivedRealPathEnabled()
isShowArchivedRealPathEnabled
in class WebBundleDescriptor
public void setShowArchivedRealPathEnabled(boolean enabled)
setShowArchivedRealPathEnabled
in class WebBundleDescriptor
enabled
- public int getServletReloadCheckSecs()
getServletReloadCheckSecs
in class WebBundleDescriptor
public void setServletReloadCheckSecs(int secs)
setServletReloadCheckSecs
in class WebBundleDescriptor
public boolean hasWebServiceClients()
hasWebServiceClients
in class WebBundleDescriptor
protected boolean removeVectorItem(Vector<? extends Object> list, Object ref)
removeVectorItem
in class WebBundleDescriptor
list
- ref
- protected void moveVectorItem(Vector list, Object ref, int rpos)
moveVectorItem
in class WebBundleDescriptor
list
- ref
- rpos
- public void visit(DescriptorVisitor aVisitor)
visit
in class Descriptor
aVisitor
- the visitor implementationpublic void visit(ComponentVisitor aVisitor)
visit
in class BundleDescriptor
aVisitor
- public void putJarNameWebFragmentNamePair(String jarName, String webFragName)
putJarNameWebFragmentNamePair
in class WebBundleDescriptor
jarName
- webFragName
- public Map<String,String> getJarNameToWebFragmentNameMap()
getJarNameToWebFragmentNameMap
in class WebBundleDescriptor
public Map<String,String> getUrlPatternToServletNameMap()
getUrlPatternToServletNameMap
in class WebBundleDescriptor
public void resetUrlPatternToServletNameMap()
resetUrlPatternToServletNameMap
in class WebBundleDescriptor
public List<String> getOrderedLibs()
getOrderedLibs
in class WebBundleDescriptor
public void addOrderedLib(String libName)
addOrderedLib
in class WebBundleDescriptor
protected void combineInjectionTargets(EnvironmentProperty env1, EnvironmentProperty env2)
combineInjectionTargets
in class WebBundleDescriptor
env1
- env2
- public void print(StringBuilder toStringBuilder)
print
in class BundleDescriptor
public void printCommon(StringBuilder toStringBuilder)
printCommon
in class WebBundleDescriptor
toStringBuilder
- public ArchiveType getModuleType()
getModuleType
in class WebBundleDescriptor
public ComponentVisitor getBundleVisitor()
getBundleVisitor
in class WebBundleDescriptor
public DescriptorVisitor getTracerVisitor()
getTracerVisitor
in class WebBundleDescriptor
public String getDeploymentDescriptorDir()
getDeploymentDescriptorDir
in class WebBundleDescriptor
public SunWebApp getSunDescriptor()
getSunDescriptor
in class WebBundleDescriptor
public void setSunDescriptor(SunWebApp webApp)
setSunDescriptor
in class WebBundleDescriptor
webApp
- SunWebApp object representation of web deployment descriptorpublic void setExtensionProperty(String key, String value)
setExtensionProperty
in class WebBundleDescriptor
key
- value
- public boolean hasExtensionProperty(String key)
hasExtensionProperty
in class WebBundleDescriptor
key
- public boolean getServletInitializersEnabled()
getServletInitializersEnabled
in class WebBundleDescriptor
public void setServletInitializersEnabled(boolean tf)
setServletInitializersEnabled
in class WebBundleDescriptor
public boolean isJaxrsRolesAllowedEnabled()
isJaxrsRolesAllowedEnabled
in class WebBundleDescriptor
public void setJaxrsRolesAllowedEnabled(boolean jaxrsRolesAllowedEnabled)
setJaxrsRolesAllowedEnabled
in class WebBundleDescriptor
public String getAppContextId()
getAppContextId
in class WebBundleDescriptor
public void setAppContextId(String appContextId)
setAppContextId
in class WebBundleDescriptor
protected void combineResourceDescriptors(JndiNameEnvironment env, JavaEEResourceType javaEEResourceType)
combineResourceDescriptors
in class WebBundleDescriptor
Copyright © 2019. All rights reserved.