org.ow2.jonas.management
Interface J2EEServerService

All Known Implementing Classes:
J2EEServer

public interface J2EEServerService

Management interface of the J2EEServer states.

Author:
Francois Fornaciari

Method Summary
 String getUploadDirectory()
          Get the directory in which J2EEServer uploads files
 boolean isFailed()
          Is the server FAILED.
 boolean isRunning()
          Is the server RUNNING.
 boolean isStarting()
          Is the server STARTING.
 boolean isStopped()
          Is the server STOPPED.
 boolean isStopping()
          Is the server STOPPING.
 void setFailed()
          Set the server state to FAILED and perform a notification.
 void setRunning()
          Set the server state to RUNNING and perform a notification.
 void setStarting()
          Set the server state to STARTING and perform a notification.
 void setStopped()
          Set the server state to STOPPED and perform a notification.
 void setStopping()
          Set the server state to STOPPING and perform a notification.
 

Method Detail

isStarting

boolean isStarting()
Is the server STARTING.


isRunning

boolean isRunning()
Is the server RUNNING.


isFailed

boolean isFailed()
Is the server FAILED.


isStopping

boolean isStopping()
Is the server STOPPING.


isStopped

boolean isStopped()
Is the server STOPPED.


setStarting

void setStarting()
Set the server state to STARTING and perform a notification.


setRunning

void setRunning()
Set the server state to RUNNING and perform a notification.


setFailed

void setFailed()
Set the server state to FAILED and perform a notification.


setStopping

void setStopping()
Set the server state to STOPPING and perform a notification.


setStopped

void setStopped()
Set the server state to STOPPED and perform a notification.


getUploadDirectory

String getUploadDirectory()
Get the directory in which J2EEServer uploads files

Returns:
directory in which J2EEServer uploads files


Copyright © 2010 OW2 Consortium. All Rights Reserved.