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

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

public class OperationServiceImpl
extends AbstractExposedService
implements OperationService

Implementation of OperationService.

Version:
$Id: OperationServiceImpl.java,v 1.2 2002/07/04 10:05:16 caillette Exp $
Author:
Laurent Caillette
See Also:
Serialized Form

Field Summary
private  InsightModel insightModel
           
private  org.apache.avalon.excalibur.concurrent.ReadWriteLock lock
           
 
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.OperationService
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
OperationServiceImpl()
           
OperationServiceImpl(int port)
           
 
Method Summary
 Operation executeOperation(Operation operation)
           
private  InsightModel getInsightModel()
           
 
Methods inherited from class fr.paris5.shaman.insight.component.AbstractExposedService
clone, compose, configure, contextualize, dispose, doCompose, doConfigure, doContextualize, doDispose, doInitialize, equals, exportObject, exportObject, exportObject, getInsightManager, getLogManager, getRef, hashCode, initialize, readObject, reexport, setLogKitManager, toString, writeObject
 

Field Detail

lock

private final org.apache.avalon.excalibur.concurrent.ReadWriteLock lock

insightModel

private InsightModel insightModel
Constructor Detail

OperationServiceImpl

public OperationServiceImpl()

OperationServiceImpl

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

getInsightModel

private InsightModel getInsightModel()

executeOperation

public Operation executeOperation(Operation operation)
                           throws java.lang.Exception
Specified by:
executeOperation in interface OperationService


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