JBoss.orgCommunity Documentation

Part VI. eXo JCR with GateIn

Table of Contents

89. How to extend my GateIn instance?
89.1. Motivations
89.2. Prerequisites
89.2.1. Removing all the hard coded portal container name (i.e. "portal")
89.2.2. Removing all the hard coded rest context name (i.e. "rest")
89.2.3. Removing all the hard coded realm name (i.e. "exo-domain")
89.2.4. Making your Http Filters compatible
89.2.5. Making your HttpServlets compatible
89.2.6. Making your HttpSessionListeners compatible
89.2.7. Use init tasks if you need a PortalContainer to initialize an Http Filter or an HttpServlet
89.2.8. Making your LoginModules compatible
89.2.9. Avoiding static modifier on component dependency
89.2.10. Avoid component initialization based on component dependency in the constructor
89.3. FAQ
89.3.1. What has changed since the previous versions?
89.3.2. What is the main purpose of a portal extension?
89.3.3. What is the main purpose of the starter?
89.3.4. How a portal and a portal container are related?
89.3.5. How to define and register a PortalContainerDefinition?
89.3.6. How the platform interprets the dependency order defined into the PortalContainerDefinition?
89.3.7. How to change the ServletContext name, the realm name and/or the rest context name of my portal without using a PortalContainerDefinition?
89.3.8. How to add new configuration file to a given portal from a war file?
89.3.9. How to create/define a portal extension?
89.3.10. How to deploy a portal extension?
89.3.11. How to create/define a new portal?
89.3.12. How to deploy a new portal?
89.3.13. How to import properly a configuration file using the prefix "war:"?
89.3.14. How to avoid duplicating configuration files just to rename a simple value?
89.3.15. How to add or change a Repository and/or a Workspace?
89.3.16. How to add new ResourceBundles to my portal?
89.3.17. How to overwrite existing ResourceBundles in my portal?
89.3.18. How to replace a groovy template of my portal?
89.3.19. How to add new Portal Configurations, Navigations, Pages or Portlet Preferences to my portal?
89.3.20. How to add new Http Filters to my portal without modifying the portal binary?
89.3.21. How to add new HttpSessionListeners and/or ServletContextListeners to my portal without modifying the portal binary?
89.3.22. How to add new HttpServlet to my portal without modifying the portal binary?
89.3.23. How to override or add a Context Parameter to my portal without modifying the portal binary?
89.3.24. Where can I found an example of how to extend my portal?
89.3.25. How to deploy the sample extension?
89.3.26. Where can I find an example of how to create a new portal?
89.3.27. How to deploy the sample portal?
89.3.28. I get "java.lang.IllegalStateException: No pre init tasks can be added to the portal container 'portal', because it has already been initialized." what can I do to fix it?
89.4. Recommendations
89.4.1. Don't ship your configuration files with your jar files?
89.4.2. Using a dedicated workspace/repository for your extension?
90. How to use AS Managed DataSource under JBoss AS
90.1. Declaring the datasources in the AS
90.2. Do not let eXo bind datasources explicitly