JBossKernelAspects

Version 3

    JBoss MicroKernel Aspects

     

     

     

    The kernel provides the following optional attributes to be used in a container configuration.

     

     

     

    Injection

     

     

     

    Injects dependent objects into the managed POJO.

     

     

     

    Lifecycle

     

     

     

    Invokes configurable lifecycle methods at the relevent point in the deployment.

     

    • create - internal resource configuration

     

    • start - may use other services

     

    • stop - tidies up any resources used from other services

     

    • destroy - removes internal configuration

     

     

     

    NOTE: the names are configurable

     

     

     

    Valve

     

     

     

    Prevents new invocations and allows inflight invocations to complete before undeployment.

     

     

     

    State

     

     

     

    Invokes callbacks for storing/restoring state across redeployment.

     

     

     

    JMX manageable

     

     

     

    Makes the POJO/service a JMX MBean

     

    Design