JBoss.org Community Documentation

JBoss Microcontainer 2.0.0 Beta9

User Guide

Mark Newton

AleŇ° Justin

Legal Notice

What this Book Covers
I. Getting Started
1. Introduction
2. Download and Installing
3. Building services
3.1. Creating POJOs
3.2. Wiring POJOs together
3.3. Configuring a service
3.4. Testing a service
3.5. Packaging a service
4. Using services
4.1. Bootstrapping the microcontainer
4.2. Deploying the service
4.3. Direct access
4.4. Indirect access
4.5. Dynamic classloading
5. Adding behaviour with AOP
5.1. Creating an aspect
5.2. Configuring the microcontainer
5.3. Applying an aspect
5.4. Lifecycle callbacks
5.5. Adding service lookup through JNDI
6. Advanced deployment
6.1. Deployment stages and actions
6.2. Changing the descriptor file format
6.3. Changing the archive structure
6.4. Changing the classloader
6.5. Adding a deployment action
II. POJO Development
7. Introduction
8. Running the examples
9. Configuring POJOs
9.1. Using annotations
9.2. Writing deployment descriptors
9.3. Using JavaBean XML
9.4. Using Spring XML
9.5. Using Java Properties
10. Creating POJOs
10.1. Defining classloaders
10.2. Calling constructors
10.3. Using factories
10.4. Creating bean aliases
11. Injecting properties
11.1. Using values
11.2. Calling methods
11.3. Using bean references
11.4. Injecting context information
11.5. Auto-wiring
12. Defining dependencies
12.1. POJO dependencies
12.2. Supply and Demand
12.3. Service dependencies
13. Adding deployment behaviour
13.1. Deployment actions
13.2. Deployment callbacks
13.3. Service lifecycle
III. AOP Development
14. Introduction
15. Configuration
16. Using Aspects
17. Using Lifecycle Callbacks
18. AOP Dependencies
IV. The Deployment Framework
19. Introduction
20. The Virtual File System
21. Identifying the deployment structure
21.1. Deployment Descriptors
21.2. Java Archives (JARs)
21.3. Nested deployments
21.4. Declaring a custom deployment structure
21.5. Determining the deployment structure programmatically
22. Creating Deployment Contexts
22.1. Introduction
22.2. Accessing a deployment
22.3. Attaching extra information
22.4. Deployment components
22.5. Deployment dependencies
23. Processing a deployment
23.1. Introduction
23.2. Deployment stages
23.3. Deployment actions
23.4. Ordering (Inputs and outputs)
23.5. Deploying components
24. Putting it all together
24.1. Introduction
24.2. Defining the deployment framework
24.3. Defining deployment structures
24.4. Defining deployment actions
V. Managing Deployments
VI. Classloading
25. Defining Policies
VII. Developing OSGi services
VIII. Extending the Microcontainer
26. Introduction
27. Guice Extension
28. Identity Extension
29. jBPM Extension
30. Drools Extension
A. Additional Resources
A.1. Wiki
A.2. Forums