public class BrokerCompleteEventType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
BrokerEvent[] |
infosets |
boolean |
replace_infosets_on_store |
BrokerAdminTypeDef |
type_def |
Constructor and Description |
---|
BrokerCompleteEventType()
Constructor.
|
BrokerCompleteEventType(BrokerAdminTypeDef type_def)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
refresh(BrokerAdminClient client)
Refreshes the information about the Event Type using the given client.
|
static BrokerCompleteEventType |
retrieve(BrokerAdminClient client,
java.lang.String event_type_name)
Retrieves the information about the specified Event Type with the given client.
|
void |
store(BrokerAdminClient client)
Stores the information from this object into the broker for which the given client object has been provided.
|
java.lang.String |
toString()
Converts this event type's information into a string.
|
java.lang.String |
toString(int indent_level)
Converts this event type's information into a string.
|
void |
write(java.io.Writer writer,
int indent_level)
Writes this event type's information out in a textual format.
|
public BrokerAdminTypeDef type_def
public boolean replace_infosets_on_store
public BrokerEvent[] infosets
public BrokerCompleteEventType()
public BrokerCompleteEventType(BrokerAdminTypeDef type_def)
public static BrokerCompleteEventType retrieve(BrokerAdminClient client, java.lang.String event_type_name) throws BrokerException
BrokerNullParameterException
- If client or event_type_name is null.BrokerInvalidClientException
- If client has been destroyed or disconnected.BrokerNoPermissionException
- If the client does not have permission to read the specified information.BrokerUnknownEventTypeException
- If the event type does not exist on the broker.BrokerException
public void refresh(BrokerAdminClient client) throws BrokerException
BrokerNullParameterException
- If client parameter is null or the 'type_def' instance variable is null or the or the event type name in it is null.BrokerInvalidClientException
- If client has been destroyed or disconnected.BrokerNoPermissionException
- If the client does not have permission to read the specified information. When this exception is thrown, all information that can be
retrieved is still retrieved. Inaccessible information is set to null.BrokerUnknownEventTypeException
- If the event type does not exist on the broker.BrokerException
public void store(BrokerAdminClient client) throws BrokerException
If the Event Type does not exist, the Event Type is created and initialized with whatever information is set in this object.
If the Event Type does exist, then some items are overwritten and some are merged.
If any exception is thrown, nothing is changed on the broker.
BrokerNullParameterException
- If client is null.BrokerInvalidClientException
- If client has been destroyed or disconnected.BrokerNoPermissionException
- If the client does not have permission to change the specified information.BrokerException
public void write(java.io.Writer writer, int indent_level) throws java.io.IOException, BrokerException
Unicode characters in the output are escaped using backslash-u notiation (e.g. ?).
Does not write anything if type_def is null.
java.io.IOException
- If there is an error wrtiting to the file.BrokerNullParameterException
- If writer is null.BrokerOutOfRangeException
- If indent_level is less than 0.BrokerException
public java.lang.String toString(int indent_level) throws BrokerException
Unicode characters in the output are escaped using backslash-u notiation (e.g. ?).
Returns an empty string if type_def is null.
BrokerOutOfRangeException
- If indent_level is less than 0.BrokerException
public java.lang.String toString()
Unicode characters in the output are escaped using backslash-u notiation (e.g. ?).
Returns an empty string if type_def is null.
toString
in class java.lang.Object
Copyright © 2002-2006 webMethods, Inc. Copyright © 2007-2021 Software AG Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.