org.ow2.frascati.util
Class AbstractFractalLoggeable<ExceptionType extends FrascatiException>

java.lang.Object
  extended by org.ow2.frascati.util.AbstractLoggeable
      extended by org.ow2.frascati.util.AbstractFractalLoggeable<ExceptionType>

public abstract class AbstractFractalLoggeable<ExceptionType extends FrascatiException>
extends AbstractLoggeable

OW2 FraSCAti Util abstract loggeable class providing helper methods related to OW2 Fractal API.

Version:
1.3
Author:
Philippe Merle

Field Summary
 
Fields inherited from class org.ow2.frascati.util.AbstractLoggeable
log
 
Constructor Summary
AbstractFractalLoggeable()
           
 
Method Summary
protected  void addFractalSubComponent(org.objectweb.fractal.api.Component composite, org.objectweb.fractal.api.Component component)
           
protected  void addFractalSubComponent(org.objectweb.fractal.api.control.ContentController contentController, org.objectweb.fractal.api.Component component)
           
protected  void bindFractalComponent(org.objectweb.fractal.api.control.BindingController bindingController, String interfaceName, Object value)
           
protected  void bindFractalComponent(org.objectweb.fractal.api.Component component, String interfaceName, Object value)
           
protected  org.objectweb.fractal.api.control.BindingController getFractalBindingController(org.objectweb.fractal.api.Component component)
           
protected  String getFractalComponentName(org.objectweb.fractal.api.Component component)
           
protected  String getFractalComponentName(org.objectweb.fractal.api.control.NameController nameController)
           
protected  String getFractalComponentState(org.objectweb.fractal.api.Component component)
           
protected  String getFractalComponentState(org.objectweb.fractal.api.control.LifeCycleController lifeCycleController)
           
protected  org.objectweb.fractal.api.control.ContentController getFractalContentController(org.objectweb.fractal.api.Component component)
           
protected  Object getFractalInterface(org.objectweb.fractal.api.Component component, String interfaceName)
           
protected  Object getFractalInternalInterface(org.objectweb.fractal.api.Component component, String interfaceName)
           
protected  Object getFractalInternalInterface(org.objectweb.fractal.api.control.ContentController contentController, String interfaceName)
           
protected  org.objectweb.fractal.api.control.LifeCycleController getFractalLifeCycleController(org.objectweb.fractal.api.Component component)
           
protected  org.objectweb.fractal.api.control.NameController getFractalNameController(org.objectweb.fractal.api.Component component)
           
protected  org.objectweb.fractal.api.Component[] getFractalSubComponents(org.objectweb.fractal.api.Component composite)
           
protected  org.objectweb.fractal.api.Component[] getFractalSubComponents(org.objectweb.fractal.api.control.ContentController contentController)
           
protected abstract  ExceptionType newException(String message)
          Create a new exception.
protected  void removeFractalSubComponent(org.objectweb.fractal.api.Component composite, org.objectweb.fractal.api.Component component)
           
protected  void removeFractalSubComponent(org.objectweb.fractal.api.control.ContentController contentController, org.objectweb.fractal.api.Component component)
           
protected  void setFractalComponentName(org.objectweb.fractal.api.Component component, String name)
           
protected  void setFractalComponentName(org.objectweb.fractal.api.control.NameController nameController, String name)
           
protected  void startFractalComponent(org.objectweb.fractal.api.Component component)
           
protected  void startFractalComponent(org.objectweb.fractal.api.control.LifeCycleController lifeCycleController)
           
protected  void stopFractalComponent(org.objectweb.fractal.api.Component component)
           
protected  void stopFractalComponent(org.objectweb.fractal.api.control.LifeCycleController lifeCycleController)
           
 
Methods inherited from class org.ow2.frascati.util.AbstractLoggeable
logDo, logDone, severe, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFractalLoggeable

public AbstractFractalLoggeable()
Method Detail

newException

protected abstract ExceptionType newException(String message)
Create a new exception.


getFractalBindingController

protected final org.objectweb.fractal.api.control.BindingController getFractalBindingController(org.objectweb.fractal.api.Component component)
                                                                                         throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

bindFractalComponent

protected final void bindFractalComponent(org.objectweb.fractal.api.control.BindingController bindingController,
                                          String interfaceName,
                                          Object value)
                                   throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

bindFractalComponent

protected final void bindFractalComponent(org.objectweb.fractal.api.Component component,
                                          String interfaceName,
                                          Object value)
                                   throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

getFractalInterface

protected final Object getFractalInterface(org.objectweb.fractal.api.Component component,
                                           String interfaceName)
                                    throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

getFractalContentController

protected final org.objectweb.fractal.api.control.ContentController getFractalContentController(org.objectweb.fractal.api.Component component)
                                                                                         throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

getFractalInternalInterface

protected final Object getFractalInternalInterface(org.objectweb.fractal.api.control.ContentController contentController,
                                                   String interfaceName)
                                            throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

getFractalInternalInterface

protected final Object getFractalInternalInterface(org.objectweb.fractal.api.Component component,
                                                   String interfaceName)
                                            throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

getFractalSubComponents

protected final org.objectweb.fractal.api.Component[] getFractalSubComponents(org.objectweb.fractal.api.control.ContentController contentController)
                                                                       throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

getFractalSubComponents

protected final org.objectweb.fractal.api.Component[] getFractalSubComponents(org.objectweb.fractal.api.Component composite)
                                                                       throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

addFractalSubComponent

protected final void addFractalSubComponent(org.objectweb.fractal.api.control.ContentController contentController,
                                            org.objectweb.fractal.api.Component component)
                                     throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

addFractalSubComponent

protected final void addFractalSubComponent(org.objectweb.fractal.api.Component composite,
                                            org.objectweb.fractal.api.Component component)
                                     throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

removeFractalSubComponent

protected final void removeFractalSubComponent(org.objectweb.fractal.api.control.ContentController contentController,
                                               org.objectweb.fractal.api.Component component)
                                        throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

removeFractalSubComponent

protected final void removeFractalSubComponent(org.objectweb.fractal.api.Component composite,
                                               org.objectweb.fractal.api.Component component)
                                        throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

getFractalLifeCycleController

protected final org.objectweb.fractal.api.control.LifeCycleController getFractalLifeCycleController(org.objectweb.fractal.api.Component component)
                                                                                             throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

startFractalComponent

protected final void startFractalComponent(org.objectweb.fractal.api.control.LifeCycleController lifeCycleController)
                                    throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

startFractalComponent

protected final void startFractalComponent(org.objectweb.fractal.api.Component component)
                                    throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

stopFractalComponent

protected final void stopFractalComponent(org.objectweb.fractal.api.control.LifeCycleController lifeCycleController)
                                   throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

stopFractalComponent

protected final void stopFractalComponent(org.objectweb.fractal.api.Component component)
                                   throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

getFractalComponentState

protected final String getFractalComponentState(org.objectweb.fractal.api.control.LifeCycleController lifeCycleController)
                                         throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

getFractalComponentState

protected final String getFractalComponentState(org.objectweb.fractal.api.Component component)
                                         throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

getFractalNameController

protected final org.objectweb.fractal.api.control.NameController getFractalNameController(org.objectweb.fractal.api.Component component)
                                                                                   throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

setFractalComponentName

protected final void setFractalComponentName(org.objectweb.fractal.api.control.NameController nameController,
                                             String name)
                                      throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

setFractalComponentName

protected final void setFractalComponentName(org.objectweb.fractal.api.Component component,
                                             String name)
                                      throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

getFractalComponentName

protected final String getFractalComponentName(org.objectweb.fractal.api.control.NameController nameController)
                                        throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException

getFractalComponentName

protected final String getFractalComponentName(org.objectweb.fractal.api.Component component)
                                        throws ExceptionType extends FrascatiException
Throws:
ExceptionType extends FrascatiException


Copyright © 2007-2011 OW2 Consortium. All Rights Reserved.