it.imolinfo.jbi4corba.jbi.component
Class Jbi4CorbaLifeCycle

java.lang.Object
  extended by it.imolinfo.jbi4corba.jbi.component.runtime.AbstractComponentLifeCycle
      extended by it.imolinfo.jbi4corba.jbi.component.Jbi4CorbaLifeCycle
All Implemented Interfaces:
javax.jbi.component.ComponentLifeCycle

public class Jbi4CorbaLifeCycle
extends AbstractComponentLifeCycle

Jbi4Corba ComponentLifeCycle implementation.

Author:
Marco Piraccini

Field Summary
 
Fields inherited from class it.imolinfo.jbi4corba.jbi.component.runtime.AbstractComponentLifeCycle
JBI4CORBABC_PERF_CATEGORIES, jbiContext, mRuntimeConfig, mRuntimeConfigHelper, mStatusProviderHelper, PERF_CAT_DENORMALIZATION, PERF_CAT_NORMALIZATION, SHORT_DISPLAY_NAME
 
Constructor Summary
Jbi4CorbaLifeCycle(ComponentRuntime compRuntime)
          Instantiates a new jbi4corba life cycle.
 
Method Summary
protected  void activateServiceConsumers()
          Do nothing.
protected  void activateServiceProviders()
          Do nothing.
protected  StandardMBean createExtensionMBean()
          no extension mbean.
protected  ObjectName createExtensionMBeanName()
          no extension mbean.
protected  MessageExchangeReceiver createMessageExchangeReceiver()
          Create the message exchange receiver.
protected  void deactivateServiceConsumers()
          Do nothing.
protected  void deactivateServiceProviders()
          Do nothing.
 RuntimeConfiguration getRuntimeConfiguration()
          get the RuntimeConfigurationMbean object
protected  void initMessageExchangeHandlerFactory()
          Init the Message Exchange Handler factory.
 
Methods inherited from class it.imolinfo.jbi4corba.jbi.component.runtime.AbstractComponentLifeCycle
getComponentRuntime, getExtensionMBeanName, init, onInit, onShutDown, onStart, onStop, shutDown, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jbi4CorbaLifeCycle

public Jbi4CorbaLifeCycle(ComponentRuntime compRuntime)
Instantiates a new jbi4corba life cycle.

Parameters:
compRuntime - the component runtime
Method Detail

initMessageExchangeHandlerFactory

protected void initMessageExchangeHandlerFactory()
                                          throws javax.jbi.JBIException
Init the Message Exchange Handler factory.

Specified by:
initMessageExchangeHandlerFactory in class AbstractComponentLifeCycle
Throws:
javax.jbi.JBIException - if some problem occurs
See Also:
AbstractComponentLifeCycle.initMessageExchangeHandlerFactory()

createMessageExchangeReceiver

protected MessageExchangeReceiver createMessageExchangeReceiver()
                                                         throws Exception
Create the message exchange receiver.

Specified by:
createMessageExchangeReceiver in class AbstractComponentLifeCycle
Returns:
the MessageExchangeReceiver
Throws:
Exception - if some problem occurs
See Also:
AbstractComponentLifeCycle.createMessageExchangeReceiver(), MessageExchangeReceiver

activateServiceConsumers

protected void activateServiceConsumers()
                                 throws javax.jbi.JBIException
Do nothing.

Specified by:
activateServiceConsumers in class AbstractComponentLifeCycle
Throws:
javax.jbi.JBIException - if some problem occurs
See Also:
AbstractComponentLifeCycle.activateServiceConsumers()

deactivateServiceConsumers

protected void deactivateServiceConsumers()
                                   throws javax.jbi.JBIException
Do nothing.

Specified by:
deactivateServiceConsumers in class AbstractComponentLifeCycle
Throws:
javax.jbi.JBIException - if some problem occurs
See Also:
AbstractComponentLifeCycle.deactivateServiceConsumers()

activateServiceProviders

protected void activateServiceProviders()
                                 throws javax.jbi.JBIException
Do nothing.

Specified by:
activateServiceProviders in class AbstractComponentLifeCycle
Throws:
javax.jbi.JBIException - if some problem occurs
See Also:
AbstractComponentLifeCycle.activateServiceProviders()

deactivateServiceProviders

protected void deactivateServiceProviders()
                                   throws javax.jbi.JBIException
Do nothing.

Specified by:
deactivateServiceProviders in class AbstractComponentLifeCycle
Throws:
javax.jbi.JBIException - if some problem occurs
See Also:
AbstractComponentLifeCycle.deactivateServiceProviders()

createExtensionMBeanName

protected ObjectName createExtensionMBeanName()
no extension mbean.

Specified by:
createExtensionMBeanName in class AbstractComponentLifeCycle
Returns:
alway null

createExtensionMBean

protected StandardMBean createExtensionMBean()
no extension mbean.

Specified by:
createExtensionMBean in class AbstractComponentLifeCycle
Returns:
always null

getRuntimeConfiguration

public RuntimeConfiguration getRuntimeConfiguration()
get the RuntimeConfigurationMbean object



Copyright © 2005-2010 Imola Informatica. All Rights Reserved.