Java Doc for AbstractWebModuleBuilder.java in  » EJB-Server-geronimo » plugins » org » apache » geronimo » web25 » deployment » 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 geronimo » plugins » org.apache.geronimo.web25.deployment 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder

All known Subclasses:   org.apache.geronimo.jetty6.deployment.JettyModuleBuilder,  org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder,
AbstractWebModuleBuilder
abstract public class AbstractWebModuleBuilder implements ModuleBuilder(Code)

version:
   $Rev: 609569 $ $Date: 2008-01-07 03:03:18 -0800 (Mon, 07 Jan 2008) $

Inner Class :class UncheckedItem

Field Summary
final protected static  AbstractNameQueryENTITY_BEAN_PATTERN
    
final protected static  AbstractNameQueryMANAGED_CONNECTION_FACTORY_PATTERN
    
final protected static  AbstractNameQuerySTATEFUL_SESSION_BEAN_PATTERN
    
final protected static  AbstractNameQuerySTATELESS_SESSION_BEAN_PATTERN
    
final protected  Kernelkernel
    
final protected  Collection<ModuleBuilderExtension>moduleBuilderExtensions
    
final protected  NamingBuildernamingBuilders
    
final protected  ResourceEnvironmentSetterresourceEnvironmentSetter
    
final protected  NamespaceDrivenBuilderCollectionsecurityBuilders
    
final protected  NamespaceDrivenBuilderCollectionserviceBuilders
    
final protected  Collection<WebServiceBuilder>webServiceBuilder
    

Constructor Summary
protected  AbstractWebModuleBuilder(Kernel kernel, Collection securityBuilders, Collection serviceBuilders, NamingBuilder namingBuilders, ResourceEnvironmentSetter resourceEnvironmentSetter, Collection<WebServiceBuilder> webServiceBuilder, Collection<ModuleBuilderExtension> moduleBuilderExtensions)
    

Method Summary
protected  voidaddGBeanDependencies(EARContext earContext, GBeanData webModuleData)
    
protected  voidaddPermissionToRole(String roleName, Permission permission, Map<String, PermissionCollection> rolePermissions)
    
protected  voidaddUnmappedJSPPermissions(Set<String> securityRoles, Map<String, PermissionCollection> rolePermissions)
    
protected  voidbasicInitContext(EARContext earContext, Module module, XmlObject gerWebApp, boolean hasSecurityRealmName)
    
protected  Map<String, String>buildServletNameToPathMap(WebAppType webApp, String contextRoot)
     Some servlets will have multiple url patterns.
protected  ComponentPermissionsbuildSpecSecurityConfig(WebAppType webApp, Set<String> securityRoles, Map<String, PermissionCollection> rolePermissions)
    
protected static  voidcheck(WebAppType webApp)
    
protected static  voidcheckString(String pattern)
    
protected static  Set<String>collectRoleNames(WebAppType webApp)
    
protected  voidconfigureBasicWebModuleAttributes(WebAppType webApp, XmlObject vendorPlan, EARContext moduleContext, EARContext earContext, WebModule webModule, GBeanData webModuleData)
    
protected  WebAppDocumentconvertToServletSchema(XmlObject xmlObject)
    
public  ModulecreateModule(File plan, JarFile moduleFile, Naming naming, ModuleIDBuilder idBuilder)
    
public  ModulecreateModule(Object plan, JarFile moduleFile, String targetPath, URL specDDUrl, Environment environment, Object moduleContextInfo, AbstractName earName, Naming naming, ModuleIDBuilder idBuilder)
    
abstract protected  ModulecreateModule(Object plan, JarFile moduleFile, String targetPath, URL specDDUrl, boolean standAlone, String contextRoot, AbstractName earName, Naming naming, ModuleIDBuilder idBuilder)
    
protected  ClassFindercreateWebAppClassFinder(WebAppType webApp, WebModule webModule)
    
public static  ClassFindercreateWebAppClassFinder(WebAppType webApp, ClassLoader classLoader)
    
protected  StringdetermineDefaultContextRoot(WebAppType webApp, boolean isStandAlone, JarFile moduleFile, String targetPath)
    
public  NamingBuildergetNamingBuilders()
    
public  voidinstallModule(JarFile earFile, EARContext earContext, Module module, Collection configurationStores, ConfigurationStore targetConfigurationStore, Collection repositories)
    
static  URIinvertURI(URI baseUri)
    
protected  voidprocessRoleRefPermissions(ServletType servletType, Set<String> securityRoles, Map<String, PermissionCollection> rolePermissions)
    

Field Detail
ENTITY_BEAN_PATTERN
final protected static AbstractNameQuery ENTITY_BEAN_PATTERN(Code)



MANAGED_CONNECTION_FACTORY_PATTERN
final protected static AbstractNameQuery MANAGED_CONNECTION_FACTORY_PATTERN(Code)



STATEFUL_SESSION_BEAN_PATTERN
final protected static AbstractNameQuery STATEFUL_SESSION_BEAN_PATTERN(Code)



STATELESS_SESSION_BEAN_PATTERN
final protected static AbstractNameQuery STATELESS_SESSION_BEAN_PATTERN(Code)



kernel
final protected Kernel kernel(Code)



moduleBuilderExtensions
final protected Collection<ModuleBuilderExtension> moduleBuilderExtensions(Code)



namingBuilders
final protected NamingBuilder namingBuilders(Code)



resourceEnvironmentSetter
final protected ResourceEnvironmentSetter resourceEnvironmentSetter(Code)



securityBuilders
final protected NamespaceDrivenBuilderCollection securityBuilders(Code)



serviceBuilders
final protected NamespaceDrivenBuilderCollection serviceBuilders(Code)



webServiceBuilder
final protected Collection<WebServiceBuilder> webServiceBuilder(Code)




Constructor Detail
AbstractWebModuleBuilder
protected AbstractWebModuleBuilder(Kernel kernel, Collection securityBuilders, Collection serviceBuilders, NamingBuilder namingBuilders, ResourceEnvironmentSetter resourceEnvironmentSetter, Collection<WebServiceBuilder> webServiceBuilder, Collection<ModuleBuilderExtension> moduleBuilderExtensions)(Code)




Method Detail
addGBeanDependencies
protected void addGBeanDependencies(EARContext earContext, GBeanData webModuleData)(Code)



addPermissionToRole
protected void addPermissionToRole(String roleName, Permission permission, Map<String, PermissionCollection> rolePermissions)(Code)



addUnmappedJSPPermissions
protected void addUnmappedJSPPermissions(Set<String> securityRoles, Map<String, PermissionCollection> rolePermissions)(Code)



basicInitContext
protected void basicInitContext(EARContext earContext, Module module, XmlObject gerWebApp, boolean hasSecurityRealmName) throws DeploymentException(Code)



buildServletNameToPathMap
protected Map<String, String> buildServletNameToPathMap(WebAppType webApp, String contextRoot)(Code)
Some servlets will have multiple url patterns. However, webservice servlets will only have one, which is what this method is intended for.
Parameters:
  webApp - spec deployment descriptor
Parameters:
  contextRoot - context root for web app from application.xml or geronimo plan map of servlet names to path mapped to them. Possibly inaccurate except for web services.



buildSpecSecurityConfig
protected ComponentPermissions buildSpecSecurityConfig(WebAppType webApp, Set<String> securityRoles, Map<String, PermissionCollection> rolePermissions)(Code)



check
protected static void check(WebAppType webApp) throws DeploymentException(Code)



checkString
protected static void checkString(String pattern) throws DeploymentException(Code)



collectRoleNames
protected static Set<String> collectRoleNames(WebAppType webApp)(Code)



configureBasicWebModuleAttributes
protected void configureBasicWebModuleAttributes(WebAppType webApp, XmlObject vendorPlan, EARContext moduleContext, EARContext earContext, WebModule webModule, GBeanData webModuleData) throws DeploymentException(Code)



convertToServletSchema
protected WebAppDocument convertToServletSchema(XmlObject xmlObject) throws XmlException(Code)



createModule
public Module createModule(File plan, JarFile moduleFile, Naming naming, ModuleIDBuilder idBuilder) throws DeploymentException(Code)



createModule
public Module createModule(Object plan, JarFile moduleFile, String targetPath, URL specDDUrl, Environment environment, Object moduleContextInfo, AbstractName earName, Naming naming, ModuleIDBuilder idBuilder) throws DeploymentException(Code)



createModule
abstract protected Module createModule(Object plan, JarFile moduleFile, String targetPath, URL specDDUrl, boolean standAlone, String contextRoot, AbstractName earName, Naming naming, ModuleIDBuilder idBuilder) throws DeploymentException(Code)



createWebAppClassFinder
protected ClassFinder createWebAppClassFinder(WebAppType webApp, WebModule webModule) throws DeploymentException(Code)



createWebAppClassFinder
public static ClassFinder createWebAppClassFinder(WebAppType webApp, ClassLoader classLoader) throws DeploymentException(Code)



determineDefaultContextRoot
protected String determineDefaultContextRoot(WebAppType webApp, boolean isStandAlone, JarFile moduleFile, String targetPath)(Code)



getNamingBuilders
public NamingBuilder getNamingBuilders()(Code)



installModule
public void installModule(JarFile earFile, EARContext earContext, Module module, Collection configurationStores, ConfigurationStore targetConfigurationStore, Collection repositories) throws DeploymentException(Code)



invertURI
static URI invertURI(URI baseUri)(Code)



processRoleRefPermissions
protected void processRoleRefPermissions(ServletType servletType, Set<String> securityRoles, Map<String, PermissionCollection> rolePermissions)(Code)



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.