A set of tools for CDI visualization and inspection.
https://raw.github.com/jakub-n/cdi-inspector-repo/master/repos/cdii
Update site contains all necessary dependencies. Built with Eclipse 4.3.1
module
directory
Copy content of module
directory to your WildFly module directory.
Tested with Widfly 8.0, 8.1 and 8.2.
- Maven 3
cd <reporoot>/code/common/model
mvn clean install
cd <reporoot>/code/eclipse-plugin/libwrapper
mvn clean install
cd <reporoot>/code/eclipse-plugin
mvn clean install
- Add <reporoot>/code/eclipse-plugin/repository/target/repository/ directory as a new local update site in your Eclipse installation.
- Install all features from this update site.
To be able to easily select applications deplyed in WildFly for inspection it is also necessary to install JBoss Web and Java EE Development > JBossAS Tools feature from http://download.jboss.org/jbosstools/updates/stable/kepler
update site.
cd <reporoot>/code/wildfly-plugin/
mvn clean install
- Copy content of <reporoot>/code/wildfly-plugin/cdii-extension/target/module into module directory of your WildFly installation.
- Enable the CDII module in server confirutation file (if your run standard directory layout and standalone mode it is <wildfly-root>/standalone/standalone.xml)
-
Add following tag in
/server/extensions
:<extension module="cz.muni.fi.cdii"/>
-
Add following tag in
/server/profile
:<subsystem xmlns="urn:cz.muni.fi.cdii:1.0"/>
-
- Right click on Java EE project with CDI Project Facet enabled in Package Explorer view. 1.1 JBoss Tools CDI support can be enabled in project Properties > Project Facets
- Select Inspect CDI beans.
- Show CDI Inspector window in Eclipse: Main menu > Window > Show view > "Other ...", Select CDI Inspector
- Click Inspect running application icon in view toolbar and select eclipse managed application or directly enter context URL of your running application.
e.g.
http://localhost:8080/your-cool-app
Extracted data in JSON format can be viewed at http://localhost:8080/your-cool-app/cdii
- Maven
- Eclipse SDK Download
- JBoss Tools (Eclipse plugins) for Kepler 4.3 for Luna 4.4
- e4 (Eclipse plugins) [Download v0.15, Eclipse 4.3.1 compatible] (http://download.eclipse.org/e4/updates/0.15/) (optional, just for syntax highlighting and code completion)
- Jackson (jars) Download (optional, just for syntax highlighting and code completion)
- TinkerPop (jars) Download (optional, just for syntax highlighting and code completion)
- Zest (Eclipse plugin) Download, Eclipse 4.3.1 compatible (optional, just for syntax highlighting and code completion)
- Apache Commons IO (jar) [Download] (http://commons.apache.org/proper/commons-io/download_io.cgi) (optional, just for syntax highlighting and code completion)