fr.paris5.shaman.insight.server.rmi
Class HelloServiceImpl

fr.paris5.shaman.insight.component.AbstractExposedService
  |
  +--fr.paris5.shaman.insight.server.rmi.HelloServiceImpl
All Implemented Interfaces:
ExposedService, HelloService, InsightConfigurationConstants, java.rmi.Remote, java.io.Serializable, SystemConfigurationConstants

public class HelloServiceImpl
extends AbstractExposedService
implements HelloService

Implementation of HelloService, used for tests.

Version:
$Id: HelloServiceImpl.java,v 1.1 2002/06/18 12:23:12 caillette Exp $
Author:
Laurent Caillette
See Also:
Serialized Form

Field Summary
private  java.lang.String helloMessage
           
static java.lang.String HELLOMESSAGE_ATTRIBUTE
           
 
Fields inherited from class fr.paris5.shaman.insight.component.AbstractExposedService
iContext, insightManager, isRMIServer, logManager, port, portFactoryParamTypes, portParamTypes, ref, rmiIdentifier
 
Fields inherited from interface fr.paris5.shaman.insight.service.HelloService
ROLE
 
Fields inherited from interface fr.paris5.shaman.system.SystemConfigurationConstants
BASEDIRURL_ATTRIBUTE, DEFAULTHOSTNAME, EMPTYSYSTEM_RESOURCE, HOSTNAME_ATTRIBUTE, PORT_ATTRIBUTE, RUNSTYLE_ATTRIBUTE, SYSTEMCONFIGURATION_DEFAULT_RESOURCE
 
Fields inherited from interface fr.paris5.shaman.insight.component.InsightConfigurationConstants
CLASS_ATTRIBUTE, COMMANDLOGS_ELEMENT, DEFAULT_PREVALENCEBASE_DIR, DIR_ELEMENT, EXPOSEDAS_ATTRIBUTE, LOGKITCONFIGURATION_DEFAULT_RESOURCE, PERSISTING_ATTRIBUTE, ROLE_ATTRIBUTE, SNAPSHOTDIR_ELEMENT, SYSTEMCONFIGURATIONURL_ATTRIBUTE
 
Constructor Summary
HelloServiceImpl()
           
HelloServiceImpl(int port)
           
 
Method Summary
protected  void doConfigure(org.apache.avalon.framework.configuration.Configuration configuration)
          Subclasses may define their own behavior by overriding this method.
 java.lang.String sayHello()
           
 
Methods inherited from class fr.paris5.shaman.insight.component.AbstractExposedService
clone, compose, configure, contextualize, dispose, doCompose, doContextualize, doDispose, doInitialize, equals, exportObject, exportObject, exportObject, getInsightManager, getLogManager, getRef, hashCode, initialize, readObject, reexport, setLogKitManager, toString, writeObject
 

Field Detail

HELLOMESSAGE_ATTRIBUTE

public static final java.lang.String HELLOMESSAGE_ATTRIBUTE

helloMessage

private java.lang.String helloMessage
Constructor Detail

HelloServiceImpl

public HelloServiceImpl()

HelloServiceImpl

public HelloServiceImpl(int port)
                 throws java.rmi.RemoteException
Method Detail

doConfigure

protected void doConfigure(org.apache.avalon.framework.configuration.Configuration configuration)
                    throws org.apache.avalon.framework.configuration.ConfigurationException
Description copied from class: AbstractExposedService
Subclasses may define their own behavior by overriding this method.
Overrides:
doConfigure in class AbstractExposedService

sayHello

public java.lang.String sayHello()
                          throws java.rmi.RemoteException
Specified by:
sayHello in interface HelloService


Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.