COMPOSITE APPLICATIONS - DESIGN AND MANAGEMENT
The following property broker commands are supported:
This show all actions.
This show all actions that belong to that owner.
This shows all active actions.
This shows all owners.
This shows all properties, actions and wires that belong to that owner.
This shows all properties by owner.
This shows all properties for this owner (string owners only).
This shows all enabled wires.
This shows all enabled wires belonging to that owner.
This shows all wires.
This shows registered name spaces.
This traces the path for the specified action. This produces trace messages when a property change results in the watched action being fired.
This traces the path for the specified action on a specific page. This produces trace messages when a property change results in the watched action being fired.
This untraces the specified action and removes the trace.
This traces the path for the specified property.
This traces the path for the specified property on a specific page.
This untraces the specified property and removes the trace.
This traces the path for the specified wire. This produces trace messages when a property change connects up with a watched wire.
This traces the path for the specified wire on a specified page. This produces trace messages when a property change connects up with a watched wire.
This untraces the specified wire and removes the trace.
This shows a list of the currently traced properties, actions, and wires.
When broker.changedProperties( ) is called for the traced property, this appears:
2006/05/30 14:50:59.228 WARNING propertybroker PBTRACE(URL From Tree) changedProperties was called.
When the Action handler is invoked, in this case CoreActionHandler for given action, this appears:
2006/05/30 14:50:59.238 WARNING propertybroker PBTRACE(URL From Tree) calling handler (com.ibm.rcp.propertybroker.internal.CoreActionHandler) for Action (loadURL)
Lastly, the three Action handlers that are core to IBM® Lotus® Expeditor (Core, SWT and AWT) log the action object called. The end action registered for the action name "loadURL" is shown below:
2006/05/30 14:50:59.238 WARNING propertybroker PBTRACE(URL From Tree Calling action object (com.ibm.pvc.samples.propertybroker.browser.LoadURLAction) for Action (loadURL)
The SWT handler for the sample "HTML Source" property outputs the following::
2006/05/30 15:31:29.84 WARNING propertybroker PBTRACE(HTML Source) changedProperties was called.
2006/05/30 15:31:29.94 WARNING propertybroker PBTRACE(HTML Source) calling handler (com.ibm.rcp.propertybroker.swt.SWTHandler) for Action (previewSource)
2006/05/30 15:31:29.94 WARNING swt PBTRACE(HTML Source) Calling action object (com.ibm.pvc.samples.propertybroker.preview.views.PreviewSourceAction) for Action (previewSource)
Steps to register a property for tracing:
1. Launch the product with "-console" or through the Eclipse PDE.
2. Navigate to your screen (or perspective).
3. Switch to the console screen and type "help",; you should see a block for the "Property Broker Commands" like above.
4. Use a "pbsh p" to see which properties are registered. This lists the exact name of the properties from the WSDL. An example is provided below:
Property Broker Properties
-----------------------------------------
Owner = http://www.ibm.com/wps/c2a
There are 2 properties registered.
Name: URL From Tree
NameSpace: http://www.ibm.com/wps/c2a
Description:
Title: url.loader
Type: BaseURL
Class: class com.ibm.rcp.propertybroker.internal.property.PropertyImpl
Default Value: null
Is Wired: YES
Name: HTML Source
Title: HTML Source
Type: SourceCode
See Also