org.sapia.soto
Interface Layer

All Known Implementing Classes:
AopLayer, JmxLayer, MonitorAgentLayer, UbikLayer

public interface Layer

This interface specifies the minimal behavior of implementations of the "layer" concept.

The lifecycle of layers is as follows:

  • the init() method is called after init() has been called on the layer's corresponding service's init() method.

    Author:
    Yanick Duchesne
    Copyright:
    Copyright © 2002-2003 Sapia Open Source Software . All Rights Reserved.
    License:
    Read the license.txt file of the jar or visit the license page at the Sapia OSS web site

    Method Summary
     void dispose()
              Shuts down this instance.
     void init(ServiceMetaData meta)
              Initializes this instance.
     void start(ServiceMetaData meta)
              Starts this instance.
     

    Method Detail

    init

    void init(ServiceMetaData meta)
              throws Exception
    Initializes this instance.

    Throws:
    Exception - if an exception occurs during initialization.

    start

    void start(ServiceMetaData meta)
               throws Exception
    Starts this instance.

    Throws:
    Exception - if an exception occurs during startup.

    dispose

    void dispose()
    Shuts down this instance.



    Copyright © 2002-2007 Sapia Open Community, Inc. All Rights Reserved.