org.objectweb.easybeans.api
Interface EZBManageableContainer

All Known Subinterfaces:
EZBContainer
All Known Implementing Classes:
JContainer3

public interface EZBManageableContainer

Manageable interface for EZBContainer.

Author:
Guillaume Sauthier

Method Summary
 EZBArchive getArchive()
          Gets the archive used by this container.
 java.lang.String getId()
          Gets the id of this container.
 java.lang.String getName()
          Gets the name of this container.
 boolean isAvailable()
          Check if the container is available or not.
 void start()
          Start this container.
 void stop()
          Stop this container.
 

Method Detail

getId

java.lang.String getId()
Gets the id of this container.

Returns:
string id.

getName

java.lang.String getName()
Gets the name of this container.

Returns:
the name.

start

void start()
           throws EZBContainerException
Start this container.

Throws:
EZBContainerException - if the start fails.

stop

void stop()
Stop this container.


getArchive

EZBArchive getArchive()
Gets the archive used by this container. It can be a .jar file or a directory.

Returns:
the archive.

isAvailable

boolean isAvailable()
Check if the container is available or not.

Returns:
true if the container is available.