com.bea.wli.sb.transports
Class TransportValidationContext
java.lang.Object
com.bea.wli.sb.transports.TransportValidationContext
public class TransportValidationContext
- extends Object
Container for supplying information to transport providers that can be used when
implementing validation checks of endpoint configuration
The context property Bag contains other objects useful during validation.
A JMXConnection can be retrieved from the property context bag with the JMXCONNECTOR key
The provider can then access the alsb server MBeans using this object.
If no JMXConnector is available, or server MBeans are no more available, the validation must be done in "offline" mode.
JMXCONNECTOR
public static final String JMXCONNECTOR
- See Also:
- Constant Field Values
TransportValidationContext
public TransportValidationContext(Locale locale,
ServiceInfo info,
Diagnostics diags)
TransportValidationContext
public TransportValidationContext(Locale locale,
ServiceInfo info,
Diagnostics diags,
HashMap contextPropertyBag)
getLocale
public Locale getLocale()
- Returns:
- locale to be used when returning diagnostic messages from validation
getServiceInfo
public ServiceInfo getServiceInfo()
- Returns:
- information about the service to be validated
getDiagnostics
public Diagnostics getDiagnostics()
- Returns:
- container diagnostics object to be used for returning validation messages
putContextProperty
public Object putContextProperty(Object key,
Object value)
getContextProperty
public Object getContextProperty(Object key)
getContextPropertyKeySet
public Set getContextPropertyKeySet()
removeContextProperty
public Object removeContextProperty(Object key)