| Interface | Description |
|---|---|
| ApplicationScopedComponent |
Indicate that the implementing component is scoped at application level
(shared across multiple sessions) and might also require initialization or
being shutdown.
|
| Component | |
| Injectable | |
| Installer | |
| Noop |
Marker interface for components that are no-ops.
|
| Resettable |
Allows the component to be reset.
|
| SessionScopedComponent |
Indicate that the implementing component is scoped at the session level (for
a single user) and might also need to be "opened" or "closed" at the
start/end of the session.
|
| TransactionScopedComponent |
Indicate that the implementing component is scoped at the transaction level
(within a single session).
|
Component
architecture, along with factories (called Installers)
to install (or create) those components.
There are three subinterfaces of
Component, for three different
scopes:
Many Components may also be
Injectable, meaning that
they know hot to inject themselves to a candidate object "if appropriate".
The convention adopted in most cases is for an object requiring injection of
component Xxx to implement an XxxAware interface that
defines a setXxx(Xxx) method.
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.