All Examples XML Examples BizTalk Example
Class examples.xml.biztalk.ejb.bizTradeJournal.BizTradeJournalBean
java.lang.Object
|
+----examples.xml.biztalk.ejb.bizTradeJournal.BizTradeJournalBean
- public class BizTradeJournalBean
- extends Object
- implements SessionBean
BizTradeJournal is a stateless SessionBean. This bean is used
to illustrate mapping a second bean to process a BizTalk document.
- Author:
- Copyright (c) 2000 by BEA Systems, Inc. All Rights Reserved.
-
BizTradeJournalBean()
-
-
ejbActivate()
- This method is required by the EJB Specification,
but is not used by this example.
-
ejbCreate()
- This method corresponds to the create method in the home interface
"BizBeanHome.java".
-
ejbPassivate()
- This method is required by the EJB Specification,
but is not used by this example.
-
ejbRemove()
- This method is required by the EJB Specification,
but is not used by this example.
-
service(IncomingMessage)
- Called by BizTalk Server when a message for this bean is received.
-
setSessionContext(SessionContext)
- Sets the session context.
BizTradeJournalBean
public BizTradeJournalBean()
ejbActivate
public void ejbActivate()
- This method is required by the EJB Specification,
but is not used by this example.
ejbRemove
public void ejbRemove()
- This method is required by the EJB Specification,
but is not used by this example.
ejbPassivate
public void ejbPassivate()
- This method is required by the EJB Specification,
but is not used by this example.
setSessionContext
public void setSessionContext(SessionContext ctx)
- Sets the session context.
- Parameters:
- ctx - SessionContext Context for session
ejbCreate
public void ejbCreate() throws CreateException
- This method corresponds to the create method in the home interface
"BizBeanHome.java".
The parameter sets of the two methods are identical. When the client calls
BizBeanHome.create(), the container allocates an instance of
the EJBean and calls ejbCreate().
- Throws: CreateException
- if there is
a communications or systems failure
- See Also:
- BizTradeJournalBean
service
public void service(IncomingMessage message) throws RemoteException
- Called by BizTalk Server when a message for this bean is received.
This method processes the BizTalk message payload by logging the trade
into the customers log file located in the /weblogic/examples/xml/biztalk
directory.
- Parameters:
- message - BizTalk message payload.
All Examples XML Examples BizTalk Example