Java Doc for WebMetaData.java in  » EJB-Server-JBoss-4.2.1 » server » org » jboss » metadata » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server JBoss 4.2.1 » server » org.jboss.metadata 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jboss.metadata.MetaData
      org.jboss.metadata.WebMetaData

WebMetaData
public class WebMetaData extends MetaData (Code)
A representation of the web.xml and jboss-web.xml deployment descriptors as used by the AbstractWebContainer web container integration support class.
See Also:   XmlLoadable
See Also:   org.jboss.web.AbstractWebContainer
author:
   Scott.Stark@jboss.org
version:
   $Revision: 62620 $


Field Summary
final public static  intREPLICATION_GRANULARITY_ATTRIBUTE
    
final public static  intREPLICATION_GRANULARITY_FIELD
    
final public static  intREPLICATION_GRANULARITY_SESSION
     Specify the session replication granularity level: session --- whole session level, attribute --- per attribute change, field --- fine grained user object level.
final public static  intREPLICATION_TYPE_ASYNC
    
final public static  intREPLICATION_TYPE_SYNC
    
final public static  intSESSION_COOKIES_DEFAULT
    
final public static  intSESSION_COOKIES_DISABLED
    
final public static  intSESSION_COOKIES_ENABLED
    
final public static  intSESSION_INVALIDATE_ACCESS
    
final public static  intSESSION_INVALIDATE_SET
    
final public static  intSESSION_INVALIDATE_SET_AND_GET
    
final public static  intSESSION_INVALIDATE_SET_AND_NON_PRIMITIVE_GET
    


Method Summary
public  StringgetConfigFile()
    
public  StringgetConfigName()
    
public  ClassLoadergetContextLoader()
    
public  StringgetContextRoot()
     This the the jboss-web.xml descriptor context-root and it is only meaningful if a war is deployed outside of an ear.
public  CollectiongetDepends()
    
public  booleangetDistributable()
     The distributable flag.
public  ClassLoadergetENCLoader()
    
public  IteratorgetEjbLocalReferences()
     Return an iterator of the ejb-local-ref mappings.
public  IteratorgetEjbReferences()
     Return an iterator of the ejb-ref mappings.
public  IteratorgetEnvironmentEntries()
     Return an iterator of the env-entry mappings.
public  intgetInvalidateSessionPolicy()
    
public  StringgetJaccContextID()
    
public  booleangetJava2ClassLoadingCompliance()
     A flag indicating if the normal Java2 parent first class loading model should be used over the servlet 2.3 web container first model.
public  LoaderRepositoryConfiggetLoaderConfig()
    
public  MessageDestinationMetaDatagetMessageDestination(String name)
    
public  IteratorgetMessageDestinationReferences()
     Return an iterator of message-destination-refs.
public  booleangetReplicationFieldBatchMode()
    
public  intgetReplicationGranularity()
    
public  intgetReplicationType()
    
public  IteratorgetResourceEnvReferences()
     Return an iterator of the resource-ref mappings.
public  IteratorgetResourceReferences()
     Return an iterator of the resource-ref mappings.
public  RunAsIdentitygetRunAsIdentity(String servletName)
    
public  MapgetRunAsIdentity()
    
public  IteratorgetSecurityContraints()
    
public  StringgetSecurityDomain()
     Return the optional security-domain jboss-web.xml element. The jndiName of the security manager implementation that isresponsible for security of the web application.
public  SetgetSecurityRoleNames()
    
public  SetgetSecurityRoleNamesByPrincipal(String userName)
    
public  MapgetSecurityRoleRefs()
    
public  ListgetSecurityRoleRefs(String servletName)
    
public  MapgetSecurityRoles()
     Get the optional map of security role/user mapping.
public  Map<String, ServiceRefMetaData>getServiceReferences()
    
public  MapgetServletClassMap()
    
public  HashMapgetServletMappings()
    
public  SetgetServletNames()
    
public  intgetSessionCookies()
    
public  IteratorgetVirtualHosts()
     The servlet container virtual host the war should be deployed into.
public  StringgetWsdlPublishLocationByName(String name)
     Get the optional wsdl publish location from jboss-web.xml.
protected  voidimportJBossWebXml(Element jbossWeb)
     Parse the elements of the jboss-web element used by the integration layer.
protected  voidimportWebXml(Element webApp)
     Parse the elements of the web-app element used by the integration layer.
public  voidimportXml(Element element)
    
public  booleanisFlushOnSessionInvalidation()
     The flag indicating whether the associated security domain cache should be flushed when the session is invalidated.
public  booleanisJaccRoleNameStar()
    
public  booleanisUseJBossWebLoader()
    
public  booleanisWebServiceDeployment()
    
public  voidmergeSecurityRoles(Map applRoles)
     Merge the security role/principal mapping defined in jboss-web.xml with the one defined at jboss-app.xml.
public  voidsetConfigFile(String configFile)
    
public  voidsetConfigName(String configName)
    
public  voidsetContextLoader(ClassLoader cxtLoader)
    
public  voidsetContextRoot(String contextRoot)
    
public  voidsetDepends(Collection depends)
    
public  voidsetDistributable(boolean distributable)
    
public  voidsetENCLoader(ClassLoader encLoader)
    
public  voidsetEjbLocalReferences(Map ejbReferences)
    
public  voidsetEjbReferences(Map ejbReferences)
    
public  voidsetEnvironmentEntries(Collection environmentEntries)
    
public  voidsetFlushOnSessionInvalidation(boolean flag)
     The flag indicating whether the associated security domain cache should be flushed when the session is invalidated.
public  voidsetInvalidateSessionPolicy(int invalidateSessionPolicy)
    
public  voidsetJaccContextID(String jaccContextID)
    
public  voidsetJaccRoleNameStar(boolean jaccRoleNameStar)
    
public  voidsetJava2ClassLoadingCompliance(boolean flag)
    
public  voidsetLoaderConfig(LoaderRepositoryConfig loaderConfig)
    
public  voidsetMessageDestination(Map messageDestinations)
    
public  voidsetMessageDestinationReferences(Map messageDestinationReferences)
    
public  voidsetReplicationGranularity(int replicationGranularity)
    
public  voidsetResourceClassLoader(URLClassLoader resourceCl)
    
public  voidsetResourceEnvReferences(Map resourceReferences)
    
public  voidsetResourceReferences(Map resourceReferences)
    
public  voidsetRunAsIdentity(Map runAsIdentity)
    
public  voidsetSecurityConstraints(Collection securityContraints)
    
public  voidsetSecurityDomain(String securityDomain)
    
public  voidsetSecurityRoleReferences(Map securityRoleReferences)
    
public  voidsetSecurityRoles(Map securityRoles)
    
public  voidsetServiceReferences(Map<String, ServiceRefMetaData> serviceReferences)
    
public  voidsetServletMappings(Map servletMappings)
    
public  voidsetSessionCookies(int sessionCookies)
    
public  voidsetUseJBossWebLoader(boolean flag)
    
public  voidsetVirtualHosts(Collection virtualHosts)
    
public  voidsetWebServiceDeployment(boolean webServiceDeployment)
    
public  voidsetWsdlPublishLocationMap(Map wsdlPublishLocationMap)
    

Field Detail
REPLICATION_GRANULARITY_ATTRIBUTE
final public static int REPLICATION_GRANULARITY_ATTRIBUTE(Code)



REPLICATION_GRANULARITY_FIELD
final public static int REPLICATION_GRANULARITY_FIELD(Code)



REPLICATION_GRANULARITY_SESSION
final public static int REPLICATION_GRANULARITY_SESSION(Code)
Specify the session replication granularity level: session --- whole session level, attribute --- per attribute change, field --- fine grained user object level.



REPLICATION_TYPE_ASYNC
final public static int REPLICATION_TYPE_ASYNC(Code)



REPLICATION_TYPE_SYNC
final public static int REPLICATION_TYPE_SYNC(Code)



SESSION_COOKIES_DEFAULT
final public static int SESSION_COOKIES_DEFAULT(Code)



SESSION_COOKIES_DISABLED
final public static int SESSION_COOKIES_DISABLED(Code)



SESSION_COOKIES_ENABLED
final public static int SESSION_COOKIES_ENABLED(Code)



SESSION_INVALIDATE_ACCESS
final public static int SESSION_INVALIDATE_ACCESS(Code)



SESSION_INVALIDATE_SET
final public static int SESSION_INVALIDATE_SET(Code)



SESSION_INVALIDATE_SET_AND_GET
final public static int SESSION_INVALIDATE_SET_AND_GET(Code)



SESSION_INVALIDATE_SET_AND_NON_PRIMITIVE_GET
final public static int SESSION_INVALIDATE_SET_AND_NON_PRIMITIVE_GET(Code)





Method Detail
getConfigFile
public String getConfigFile()(Code)



getConfigName
public String getConfigName()(Code)



getContextLoader
public ClassLoader getContextLoader()(Code)



getContextRoot
public String getContextRoot()(Code)
This the the jboss-web.xml descriptor context-root and it is only meaningful if a war is deployed outside of an ear.



getDepends
public Collection getDepends()(Code)
Access the web application depends Iterator of JMX ObjectNames the web app depends on.



getDistributable
public boolean getDistributable()(Code)
The distributable flag. true if the web-app is marked distributable



getENCLoader
public ClassLoader getENCLoader()(Code)



getEjbLocalReferences
public Iterator getEjbLocalReferences()(Code)
Return an iterator of the ejb-local-ref mappings. Iterator of EjbLocalRefMetaData objects.



getEjbReferences
public Iterator getEjbReferences()(Code)
Return an iterator of the ejb-ref mappings. Iterator of EjbRefMetaData objects.



getEnvironmentEntries
public Iterator getEnvironmentEntries()(Code)
Return an iterator of the env-entry mappings. Iterator of EnvEntryMetaData objects.



getInvalidateSessionPolicy
public int getInvalidateSessionPolicy()(Code)



getJaccContextID
public String getJaccContextID()(Code)



getJava2ClassLoadingCompliance
public boolean getJava2ClassLoadingCompliance()(Code)
A flag indicating if the normal Java2 parent first class loading model should be used over the servlet 2.3 web container first model. true for parent first, false for the servlet 2.3 model



getLoaderConfig
public LoaderRepositoryConfig getLoaderConfig()(Code)



getMessageDestination
public MessageDestinationMetaData getMessageDestination(String name)(Code)
Get a message destination metadata
Parameters:
  name - the name of the message destination the message destination metadata



getMessageDestinationReferences
public Iterator getMessageDestinationReferences()(Code)
Return an iterator of message-destination-refs. Iterator of MessageDestinationRefMetaData objects.



getReplicationFieldBatchMode
public boolean getReplicationFieldBatchMode()(Code)



getReplicationGranularity
public int getReplicationGranularity()(Code)



getReplicationType
public int getReplicationType()(Code)



getResourceEnvReferences
public Iterator getResourceEnvReferences()(Code)
Return an iterator of the resource-ref mappings. Iterator of ResourceEnvRefMetaData objects.



getResourceReferences
public Iterator getResourceReferences()(Code)
Return an iterator of the resource-ref mappings. Iterator of ResourceRefMetaData objects.



getRunAsIdentity
public RunAsIdentity getRunAsIdentity(String servletName)(Code)
Access the RunAsIdentity associated with the given servlet
Parameters:
  servletName - - the servlet-name from the web.xml RunAsIdentity for the servet if one exists, null otherwise



getRunAsIdentity
public Map getRunAsIdentity()(Code)
servlet/run-as



getSecurityContraints
public Iterator getSecurityContraints()(Code)
Get the security-constraint settings



getSecurityDomain
public String getSecurityDomain()(Code)
Return the optional security-domain jboss-web.xml element. The jndiName of the security manager implementation that isresponsible for security of the web application. May be null ifthere was no security-domain specified in the jboss-web.xmldescriptor.



getSecurityRoleNames
public Set getSecurityRoleNames()(Code)
Get the security-role names from the web.xml descriptor Set of the security-role names from the web.xml



getSecurityRoleNamesByPrincipal
public Set getSecurityRoleNamesByPrincipal(String userName)(Code)

Parameters:
  userName - Set



getSecurityRoleRefs
public Map getSecurityRoleRefs()(Code)
>



getSecurityRoleRefs
public List getSecurityRoleRefs(String servletName)(Code)

Parameters:
  servletName - List for the given servlet name



getSecurityRoles
public Map getSecurityRoles()(Code)
Get the optional map of security role/user mapping. Map



getServiceReferences
public Map<String, ServiceRefMetaData> getServiceReferences()(Code)



getServletClassMap
public Map getServletClassMap()(Code)
Get the servlet-name/servlet-class mapping from the web.xml descriptor Map of the servlet-name/servlet-class mapping from web.xml



getServletMappings
public HashMap getServletMappings()(Code)
Get the servlet-name values from the web.xml descriptor Set of the servlet-names from the servlet-mappings



getServletNames
public Set getServletNames()(Code)
Get the servlet-name values from the web.xml descriptor Set of the servlet-names from the servlet-mappings



getSessionCookies
public int getSessionCookies()(Code)



getVirtualHosts
public Iterator getVirtualHosts()(Code)
The servlet container virtual host the war should be deployed into. If null then the servlet container default host should be used.



getWsdlPublishLocationByName
public String getWsdlPublishLocationByName(String name)(Code)
Get the optional wsdl publish location from jboss-web.xml.



importJBossWebXml
protected void importJBossWebXml(Element jbossWeb) throws DeploymentException(Code)
Parse the elements of the jboss-web element used by the integration layer.



importWebXml
protected void importWebXml(Element webApp) throws DeploymentException(Code)
Parse the elements of the web-app element used by the integration layer.



importXml
public void importXml(Element element) throws DeploymentException(Code)



isFlushOnSessionInvalidation
public boolean isFlushOnSessionInvalidation()(Code)
The flag indicating whether the associated security domain cache should be flushed when the session is invalidated. true if the flush should occur, false otherwise.



isJaccRoleNameStar
public boolean isJaccRoleNameStar()(Code)
JBAS-1824: Specify whether a WebResourcePermission(url,null) needs to be generated by the container



isUseJBossWebLoader
public boolean isUseJBossWebLoader()(Code)



isWebServiceDeployment
public boolean isWebServiceDeployment()(Code)



mergeSecurityRoles
public void mergeSecurityRoles(Map applRoles)(Code)
Merge the security role/principal mapping defined in jboss-web.xml with the one defined at jboss-app.xml.



setConfigFile
public void setConfigFile(String configFile)(Code)



setConfigName
public void setConfigName(String configName)(Code)



setContextLoader
public void setContextLoader(ClassLoader cxtLoader)(Code)
Make sure this is called during performDeploy



setContextRoot
public void setContextRoot(String contextRoot)(Code)



setDepends
public void setDepends(Collection depends)(Code)

Parameters:
  depends - - Collection of the web app dependencies



setDistributable
public void setDistributable(boolean distributable)(Code)
Mark the web-app as distributable
Parameters:
  distributable - - true for distributable



setENCLoader
public void setENCLoader(ClassLoader encLoader)(Code)



setEjbLocalReferences
public void setEjbLocalReferences(Map ejbReferences)(Code)

Parameters:
  ejbReferences - - Map



setEjbReferences
public void setEjbReferences(Map ejbReferences)(Code)

Parameters:
  ejbReferences - - Map



setEnvironmentEntries
public void setEnvironmentEntries(Collection environmentEntries)(Code)

Parameters:
  environmentEntries - - Collection



setFlushOnSessionInvalidation
public void setFlushOnSessionInvalidation(boolean flag)(Code)
The flag indicating whether the associated security domain cache should be flushed when the session is invalidated.
Parameters:
  flag - - true if the flush should occur, false otherwise.



setInvalidateSessionPolicy
public void setInvalidateSessionPolicy(int invalidateSessionPolicy)(Code)



setJaccContextID
public void setJaccContextID(String jaccContextID)(Code)



setJaccRoleNameStar
public void setJaccRoleNameStar(boolean jaccRoleNameStar)(Code)
JBAS-1824: Specify whether a WebResourcePermission(url,null) needs to be generated by the container



setJava2ClassLoadingCompliance
public void setJava2ClassLoadingCompliance(boolean flag)(Code)



setLoaderConfig
public void setLoaderConfig(LoaderRepositoryConfig loaderConfig)(Code)



setMessageDestination
public void setMessageDestination(Map messageDestinations)(Code)

Parameters:
  messageDestinations - - Map



setMessageDestinationReferences
public void setMessageDestinationReferences(Map messageDestinationReferences)(Code)

Parameters:
  messageDestinationReferences - - Map



setReplicationGranularity
public void setReplicationGranularity(int replicationGranularity)(Code)



setResourceClassLoader
public void setResourceClassLoader(URLClassLoader resourceCl)(Code)
Set the ClassLoader to load additional resources



setResourceEnvReferences
public void setResourceEnvReferences(Map resourceReferences)(Code)

Parameters:
  resourceReferences - - Map



setResourceReferences
public void setResourceReferences(Map resourceReferences)(Code)

Parameters:
  resourceReferences - - Map



setRunAsIdentity
public void setRunAsIdentity(Map runAsIdentity)(Code)
The jboss-web.xml servlet/run-as



setSecurityConstraints
public void setSecurityConstraints(Collection securityContraints)(Code)

Parameters:
  securityContraints - - Collection



setSecurityDomain
public void setSecurityDomain(String securityDomain)(Code)
Set the security domain for this web application



setSecurityRoleReferences
public void setSecurityRoleReferences(Map securityRoleReferences)(Code)

Parameters:
  securityRoleReferences - - >



setSecurityRoles
public void setSecurityRoles(Map securityRoles)(Code)

Parameters:
  securityRoles - - Map



setServiceReferences
public void setServiceReferences(Map<String, ServiceRefMetaData> serviceReferences)(Code)



setServletMappings
public void setServletMappings(Map servletMappings)(Code)
servlet-mapping/serlvet-name to url-pattern mapping
Parameters:
  servletMappings - - Map



setSessionCookies
public void setSessionCookies(int sessionCookies)(Code)



setUseJBossWebLoader
public void setUseJBossWebLoader(boolean flag)(Code)



setVirtualHosts
public void setVirtualHosts(Collection virtualHosts)(Code)

Parameters:
  virtualHosts - - Collection



setWebServiceDeployment
public void setWebServiceDeployment(boolean webServiceDeployment)(Code)



setWsdlPublishLocationMap
public void setWsdlPublishLocationMap(Map wsdlPublishLocationMap)(Code)

Parameters:
  wsdlPublishLocationMap - - Map



Fields inherited from org.jboss.metadata.MetaData
final public static byte TX_MANDATORY(Code)(Java Doc)
final public static byte TX_NEVER(Code)(Java Doc)
final public static byte TX_NOT_SUPPORTED(Code)(Java Doc)
final public static byte TX_REQUIRED(Code)(Java Doc)
final public static byte TX_REQUIRES_NEW(Code)(Java Doc)
final public static byte TX_SUPPORTS(Code)(Java Doc)
final public static byte TX_UNKNOWN(Code)(Java Doc)
protected static Logger log(Code)(Java Doc)

Methods inherited from org.jboss.metadata.MetaData
public Object clone()(Code)(Java Doc)
public static Iterator getChildrenByTagName(Element element, String tagName)(Code)(Java Doc)
public static String getElementAttribute(Element element, String attrName)(Code)(Java Doc)
public static String getElementAttribute(Element element, String attrName, boolean replace)(Code)(Java Doc)
public static String getElementContent(Element element)(Code)(Java Doc)
public static String getElementContent(Element element, String defaultStr)(Code)(Java Doc)
public static String getElementContent(Element element, String defaultStr, boolean replace)(Code)(Java Doc)
public static String getFirstElementContent(Element element, String defaultStr)(Code)(Java Doc)
public static String getFirstElementContent(Element element, String defaultStr, boolean replace)(Code)(Java Doc)
public static Element getOptionalChild(Element element, String tagName) throws DeploymentException(Code)(Java Doc)
public static Element getOptionalChild(Element element, String tagName, Element defaultElement) throws DeploymentException(Code)(Java Doc)
public static boolean getOptionalChildBooleanContent(Element element, String name) throws DeploymentException(Code)(Java Doc)
public static boolean getOptionalChildBooleanContent(Element element, String name, boolean defaultValue) throws DeploymentException(Code)(Java Doc)
public static String getOptionalChildContent(Element element, String tagName) throws DeploymentException(Code)(Java Doc)
public static String getOptionalChildContent(Element element, String tagName, String defaultValue) throws DeploymentException(Code)(Java Doc)
public static Element getUniqueChild(Element element, String tagName) throws DeploymentException(Code)(Java Doc)
public static String getUniqueChildContent(Element element, String tagName) throws DeploymentException(Code)(Java Doc)
public void importEjbJarXml(Element element) throws DeploymentException(Code)(Java Doc)
public void importJbossXml(Element element) throws DeploymentException(Code)(Java Doc)
public void importXml(Element element) throws DeploymentException(Code)(Java Doc)
protected boolean jdk13Enabled()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.