org.ow2.petals.component.framework.api
Interface PetalsComponent

All Superinterfaces:
javax.jbi.component.Component, javax.jbi.component.ComponentLifeCycle

public interface PetalsComponent
extends javax.jbi.component.Component, javax.jbi.component.ComponentLifeCycle

Author:
Christophe HAMERLING - EBM WebSourcing

Method Summary
 javax.jbi.messaging.DeliveryChannel getChannel()
          Returns the component delivery channel, used to send messages to petals container
 javax.jbi.component.ComponentContext getContext()
          The component context
 Interceptor getInterceptor(java.lang.String name)
          Get the interceptor that have the given name.
 java.util.Map<java.lang.String,Interceptor> getInterceptors()
          Get all the interceptors
 java.util.logging.Logger getLogger()
          Returns the component logger
 
Methods inherited from interface javax.jbi.component.Component
getLifeCycle, getServiceDescription, getServiceUnitManager, isExchangeWithConsumerOkay, isExchangeWithProviderOkay, resolveEndpointReference
 
Methods inherited from interface javax.jbi.component.ComponentLifeCycle
getExtensionMBeanName, init, shutDown, start, stop
 

Method Detail

getChannel

javax.jbi.messaging.DeliveryChannel getChannel()
Returns the component delivery channel, used to send messages to petals container

Returns:
the delivery channel. Not null.

getContext

javax.jbi.component.ComponentContext getContext()
The component context

Returns:
the component context. Not null.

getLogger

java.util.logging.Logger getLogger()
Returns the component logger

Returns:
component logger. Not null.

getInterceptors

java.util.Map<java.lang.String,Interceptor> getInterceptors()
Get all the interceptors

Returns:

getInterceptor

Interceptor getInterceptor(java.lang.String name)
Get the interceptor that have the given name.

Parameters:
name -
Returns:
null if the interceptor is not found of is there are no interceptor in the component


Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.