org.ow2.easybeans.api
Interface EZBManageableContainer

All Known Subinterfaces:
EZBContainer

public interface EZBManageableContainer

Manageable interface for EZBContainer.

Author:
Guillaume Sauthier

Method Summary
 org.ow2.util.archive.api.IArchive getArchive()
          Gets the archive used by this container.
 org.ow2.util.ee.deploy.api.deployable.IDeployable getDeployable()
          Gets the deployable used by this container.
 String getId()
          Gets the id of this container.
 String getName()
          Gets the name of this container.
 boolean isAvailable()
          Check if the container is available or not.
 void resolve()
          Resolve the metadata and analyze deployment descriptors.
 void start()
          Start this container.
 void stop()
          Stop this container.
 

Method Detail

getId

String getId()
Gets the id of this container.

Returns:
string id.

getName

String getName()
Gets the name of this container.

Returns:
the name.

resolve

void resolve()
             throws EZBContainerException
Resolve the metadata and analyze deployment descriptors. May be called before the start method. If not already called, it will be called inside the start method.

Throws:
EZBContainerException - if resolve step has failed

start

void start()
           throws EZBContainerException
Start this container.

Throws:
EZBContainerException - if the start fails.

stop

void stop()
Stop this container.


getDeployable

org.ow2.util.ee.deploy.api.deployable.IDeployable getDeployable()
Gets the deployable used by this container.

Returns:
the deployable.

getArchive

org.ow2.util.archive.api.IArchive 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.


Copyright © 2006-2012 OW2 Consortium. All Rights Reserved.