Sonic ESB API

com.sonicsw.xq
Interface XQContext

All Known Subinterfaces:
XQAdapterContext, XQInitContext, XQServiceContext

public interface XQContext

An XQContext provides access to all the information needed by a service when it is initializing. This includes start-up parameters as well as support for logging.


Method Summary
 XQAddressFactory getAddressFactory()
          Returns an XQAddressFactory appropriate to this context.
 XQEnvelopeFactory getEnvelopeFactory()
          Returns an XQEnvelopeFactory appropriate to this context.
 XQLog getLog()
          Returns a logging object.
 XQMessageFactory getMessageFactory()
          returns a reference to the XQMessageFactory.
 XQParameters getParameters()
          Returns parameters required for initialization of a service.
 

Method Detail

getParameters

XQParameters getParameters()
Returns parameters required for initialization of a service.

Returns:
an XQParameters object containing service initialization information

getLog

XQLog getLog()
Returns a logging object.

Returns:
an XQLog object that the service can use

getAddressFactory

XQAddressFactory getAddressFactory()
Returns an XQAddressFactory appropriate to this context.

Returns:
an XQAddressFactory

getMessageFactory

XQMessageFactory getMessageFactory()
returns a reference to the XQMessageFactory. This may optionally be used to create messages from within the XQMessageAdapter.

Returns:
a message factory

getEnvelopeFactory

XQEnvelopeFactory getEnvelopeFactory()
Returns an XQEnvelopeFactory appropriate to this context.

Returns:
an XQEnvelopeFactory

Sonic ESB API

Copyright © 2001-2013 Aurea, Inc. All Rights Reserved.
HTML formatted on 29-April-2013.