Code Monkey home page Code Monkey logo

cdi-inspector's Introduction

CDI-inspector

A set of tools for CDI visualization and inspection.

Binaries

Eclipse update site

https://raw.github.com/jakub-n/cdi-inspector-repo/master/repos/cdii

Update site contains all necessary dependencies. Built with Eclipse 4.3.1

WildFly extension

module directory Copy content of module directory to your WildFly module directory.

Tested with Widfly 8.0, 8.1 and 8.2.

Local build

Requirements

  • Maven 3

Eclipse plugin

Build

  • 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

Installation

  1. Add <reporoot>/code/eclipse-plugin/repository/target/repository/ directory as a new local update site in your Eclipse installation.
  2. 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.

WildFly extension

Build

  • cd <reporoot>/code/wildfly-plugin/
  • mvn clean install

Instalation

  • 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"/>
      

Usage

Inspecting local projects

  1. 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
  2. Select Inspect CDI beans.

Inspecting running applications

  1. Show CDI Inspector window in Eclipse: Main menu > Window > Show view > "Other ...", Select CDI Inspector
  2. 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

Development

Environment

Licence

GNU General Public License version 3

cdi-inspector's People

Contributors

happylynx avatar ondrazizka avatar

Watchers

Jozef Hartinger avatar James Cloos avatar Martin Kouba avatar  avatar

Forkers

noamik gcalis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.