JBoss.orgCommunity Documentation

Part VI. eXo JCR with GateIn

Table of Contents

92. How to extend my GateIn instance?
92.1. Introduction
92.1.1. Overview
92.1.2. Motivations
92.2. Prerequisites
92.2.1. Removing all the hard coded portal container name (i.e. "portal")
92.2.2. Removing all the hard coded rest context name (i.e. "rest")
92.2.3. Removing all the hard coded realm name (i.e. "exo-domain")
92.2.4. Making your Http Filters compatible
92.2.5. Making your HttpServlets compatible
92.2.6. Making your HttpSessionListeners compatible
92.2.7. Use init tasks if you need a PortalContainer to initialize an Http Filter or an HttpServlet
92.2.8. Making your LoginModules compatible
92.2.9. Avoiding static modifier on component dependency
92.2.10. Avoid component initialization based on component dependency in the constructor
92.3. FAQ
92.3.1. What has changed since the previous versions?
92.3.2. What is the main purpose of a portal extension?
92.3.3. What is the main purpose of the starter?
92.3.4. How a portal and a portal container are related?
92.3.5. How to define and register a PortalContainerDefinition?
92.3.6. How the platform interprets the dependency order defined into the PortalContainerDefinition?
92.3.7. How to change the ServletContext name, the realm name and/or the rest context name of my portal without using a PortalContainerDefinition?
92.3.8. How to add new configuration file to a given portal from a war file?
92.3.9. How to create/define a portal extension?
92.3.10. How to deploy a portal extension?
92.3.11. How to create/define a new portal?
92.3.12. How to deploy a new portal?
92.3.13. How to import properly a configuration file using the prefix "war:"?
92.3.14. How to avoid duplicating configuration files just to rename a simple value?
92.3.15. How to add or change a Repository and/or a Workspace?
92.3.16. How to add new ResourceBundles to my portal?
92.3.17. How to overwrite existing ResourceBundles in my portal?
92.3.18. How to replace a groovy template of my portal?
92.3.19. How to add new Portal Configurations, Navigations, Pages or Portlet Preferences to my portal?
92.3.20. How to add new Http Filters to my portal without modifying the portal binary?
92.3.21. How to add new HttpSessionListeners and/or ServletContextListeners to my portal without modifying the portal binary?
92.3.22. How to add new HttpServlet to my portal without modifying the portal binary?
92.3.23. How to override or add a Context Parameter to my portal without modifying the portal binary?
92.3.24. Where can I found an example of how to extend my portal?
92.3.25. How to deploy the sample extension?
92.3.26. Where can I find an example of how to create a new portal?
92.3.27. How to deploy the sample portal?
92.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?
92.4. Recommendations
92.4.1. Don't ship your configuration files with your jar files?
92.4.2. Using a dedicated workspace/repository for your extension?
93. How to use AS Managed DataSource under JBoss AS
93.1. Configurations Steps
93.1.1. Declaring the datasources in the AS
93.1.2. Do not let eXo bind datasources explicitly