Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
PETALS - PETALS Services Platform. Copyright (c) 2008 EBM Websourcing, http://www.ebmwebsourcing.com/ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ------------------------------------------------------------------------- $Id$ -------------------------------------------------------------------------
 
 
 package org.ow2.petals.component.framework.api;
 
 import java.util.Map;
 
 
Created on 15 mai 2008

Author(s):
Christophe HAMERLING - EBM WebSourcing
Since:
1.0
 
 public interface Component extends javax.jbi.component.ComponentComponentLifeCycle {

    
Returns the component delivery channel, used to send messages to petals container

Returns:
the delivery channel. Not null.
 
     public DeliveryChannel getChannel();

    
The component context

Returns:
the component context. Not null.
 
     public ComponentContext getContext();

    
Returns the component logger

Returns:
component logger. Not null.
 
     public Logger getLogger();

    
Get the Service Unit validator.

Returns:
the ServiceUnitExtensionsValidator
 
Get all the interceptors

Returns:
 
     public Map<StringInterceptorgetInterceptors();

    
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
 
     public Interceptor getInterceptor(final String name);

    

Deprecated:
Parameters:
serviceUnitExtensionsValidator
 
     public void setServiceUnitExtensionsValidator(
             final ServiceUnitExtensionsValidator serviceUnitExtensionsValidator);
 
     // public ComponentConfiguration getComponentConfiguration();
 
    

Returns:
    // public JBIAcceptorManager getListenerManager();
    
Create a performance notification which the type RECEIVING_FROM_OUTSIDE

Returns:
The performance notification to send.
    // public PerformanceNotification
    // createPerformanceNotificationReceivingFromOutside(
    // final String userData, final Exchange msgExchange) throws JBIException;
    
Create a performance notification which the type SENDING_TO_OUTSIDE

Returns:
The performance notification to send.
    // public PerformanceNotification
    // createPerformanceNotificationSendingToOutside(
    // final String userData, final Exchange msgExchange) throws JBIException;
    
Create a performance notification which the type RECEIVING_FROM_NMR

Returns:
The performance notification to send.
    // public PerformanceNotification
    // createPerformanceNotificationReceivingFromNMR(
    // final String userData, final Exchange msgExchange) throws JBIException;
    
Create a performance notification which the type SENDING_TO_NMR

Returns:
The performance notification to send.
    // public PerformanceNotification createPerformanceNotificationSendingToNMR(
    // final String userData,
    // final Exchange msgExchange) throws JBIException;
    
Send a performance notification using the performance notifier

Parameters:
performanceNotification
    // public void sendPerformanceNotification(final PerformanceNotification
    // performanceNotification) throws JBIException;
New to GrepCode? Check out our FAQ X