SCS

scs.demos.philosopher.servant
Class PhilosopherComponent

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by scs.core.IComponentPOA
          extended by scs.core.servant.IComponentServant
              extended by scs.demos.philosopher.servant.PhilosopherComponent
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, IComponentOperations

public class PhilosopherComponent
extends IComponentServant


Field Summary
 
Fields inherited from class scs.core.servant.IComponentServant
cpId
 
Constructor Summary
PhilosopherComponent()
           
 
Method Summary
protected  java.util.ArrayList<FacetDescription> createFacets()
          Metodo abstrato para criar as facetas nas classes derivadas
protected  boolean doShutdown()
          Metodo abstrato para implementar o shutdown nas classes derivadas
protected  boolean doStartup()
          Metodo abstrato para implementar o startup nas classes derivadas
 IReceptacles getInfo()
           
 IReceptacles getLeftHand()
           
 IReceptacles getRightHand()
           
 
Methods inherited from class scs.core.servant.IComponentServant
createComponentId, getComponentId, getFacet, getFacetByName, getFacets, shutdown, startup
 
Methods inherited from class scs.core.IComponentPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhilosopherComponent

public PhilosopherComponent()
Method Detail

getLeftHand

public IReceptacles getLeftHand()

getRightHand

public IReceptacles getRightHand()

getInfo

public IReceptacles getInfo()

createFacets

protected java.util.ArrayList<FacetDescription> createFacets()
Description copied from class: IComponentServant
Metodo abstrato para criar as facetas nas classes derivadas

Specified by:
createFacets in class IComponentServant
Returns:
container de facetas

doShutdown

protected boolean doShutdown()
Description copied from class: IComponentServant
Metodo abstrato para implementar o shutdown nas classes derivadas

Specified by:
doShutdown in class IComponentServant
Returns:
status da operacao

doStartup

protected boolean doStartup()
Description copied from class: IComponentServant
Metodo abstrato para implementar o startup nas classes derivadas

Specified by:
doStartup in class IComponentServant
Returns:
status da operacao

SCS