You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2001/12/02 04:47:48 UTC
cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/interfaces EmbeddorMBean.java
donaldp 01/12/01 19:47:48
Added: src/java/org/apache/avalon/phoenix/interfaces
EmbeddorMBean.java
Log:
Add in interface via which management module interacts with embeddor.
Revision Changes Path
1.1 jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/interfaces/EmbeddorMBean.java
Index: EmbeddorMBean.java
===================================================================
/*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE file.
*/
package org.apache.avalon.phoenix.interfaces;
/**
* This is the interface via which the Management interface interacts
* with the Embeddor.
*
* @author <a href="peter@apache.org">Peter Donald</a>
*/
public interface EmbeddorMBean
{
String ROLE = "org.apache.avalon.phoenix.interfaces.EmbeddorMBean";
/**
* Get name by which the server is know.
* Usually this defaults to "Phoenix" but the admin
* may assign another name. This is useful when you
* are managing a cluster of Phoenix servers.
*
* @return the name of server
*/
String getName();
/**
* Get location of Phoenix installation
*
* @return the home directory of phoenix
*/
String getHomeDirectory();
/**
* Retrieve the number of millisecond
* the server has been up.
*
* @return the the number of millisecond the server has been up
*/
long getUpTime();
/**
* Retrieve a string identifying version of server.
* Usually looks like "v4.0.1a".
*
* @return version string of server.
*/
String getVersion();
/**
* Get a string defining the build.
* Possibly the date on which it was built, where it was built,
* with what features it was built and so forth.
*
* @return the string describing build
*/
String getBuildData();
/**
* Request the Embeddor shutsdown.
*/
void shutdown();
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>