com.sap.netweaver.bc.rf.util.event
Interface IEventMapper
- All Known Implementing Classes:
- AbstractEventMapper
- public interface IEventMapper
An event mapper maps events to other events. This mapping takes place inside
the event broker for receivers that have registered an event mapper. It moves
the need to transform events from one kind to another from the event receiver
to the broker, but it is more a hack than anything else, because the mapper
is totally specific and will be used only in conjunction with the registered
receiver.
getID
public String getID()
- Get the mapper's unique system id.
- Returns:
- mapper's unique system id
getDescription
public String getDescription()
- Get the mapper's displayable name.
- Returns:
- mapper's displayable name
getDescription
public String getDescription(Locale locale)
- Get the mapper's localized displayable name.
- Parameters:
locale - locale
- Returns:
- mapper's localized displayable name
map
public IEvent map(IEvent event)
- Map or transform an event prior to sending it to the receiver from one kind
to another which then is sent to the receiver. It might be a good idea to
put the orginal event in the user defined parameter of the new mapped and
sent event.
- Parameters:
event - event to be mapped
- Returns:
- mapped event
getEvents
public IEventList getEvents(IEventBroker broker)
- Returns a list of mapped event templates for all possible events this
mapper can send. The event instances contained in the list are "templates",
that means the event parameter is not relevant. An implementation of this
method should call the broker and ask it to call all its senders to get the
list of all possible event templates which can possibly be handed over to a
mapper/receiver. Then the mapper should check, which of these event
templates are supported and can be mapped and should return these mapped
event templates in a list.
- Parameters:
broker - broker to be asked for all possible events of all of its
senders
- Returns:
- list of event templates for all possible events this mapper can
return in conjunction with the broker
Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.