Class Hierarchy All Classes All Fields and Methods

Class com.ibm.broker.config.proxy.LogProxy

java.lang.Object
        com.ibm.broker.config.proxy.AdministeredObject
                com.ibm.broker.config.proxy.LogProxy

public class LogProxy
extends AdministeredObject

The LogProxy represents the selection of broker log entries for the current user.

In order to use LogProxy objects, applications must first obtain handles to them. Here is an example of how to do this:

     ConfigManagerConnectionParameters cmcp =
         new MQConfigManagerConnectionParameters("localhost", 1414, "QMGR");
     ConfigManagerProxy cmp = ConfigManagerProxy.getInstance(cmcp);
     LogProxy l = cmp.getLog();
 

com.ibm.broker.config.proxy.LogProxy extends com.ibm.broker.config.proxy.AdministeredObject

Responsibilities Represents a collection of Log Entries.
Internal Collaborators com.ibm.broker.config.proxy.LogEntry


 Change Activity:
 --------   ----------- -------------   ------------------------------------
 Reason:    Date:       Originator:     Comments:
 --------   ----------- -------------   ------------------------------------
 25103.1    2004-03-29  HDMPL           v6 Release

 

Method Index
Method Description
void clear() Removes all log entries associated with this LogProxy (that is, clears the log of all of this user's messages).
Enumeration elements() Returns an Enumeration of all LogEntry objects available to the user in the log.
ConfigurationObjectType getConfigurationObjectType() Returns the ConfigurationObjectType associated with this AdministeredObject type.
ConfigurationObjectType getConfigurationObjectTypeOfParent() Returns the ConfigurationObjectType associated with the logical parent of this AdministeredObject type.
LogEntry getLogEntry(int) Returns the LogEntry at the supplied position in the log,
int getSize() Returns the number of LogEntry objects available to the user.

Methods

clear

public void clear() throws ConfigManagerProxyLoggedException

Removes all log entries associated with this LogProxy (that is, clears the log of all of this user's messages).

elements

public Enumeration elements() throws ConfigManagerProxyPropertyNotInitializedException

Returns an Enumeration of all LogEntry objects available to the user in the log.

getConfigurationObjectType

public ConfigurationObjectType getConfigurationObjectType() 

Returns the ConfigurationObjectType associated with this AdministeredObject type.

getConfigurationObjectTypeOfParent

public ConfigurationObjectType getConfigurationObjectTypeOfParent() 

Returns the ConfigurationObjectType associated with the logical parent of this AdministeredObject type.

getLogEntry

public synchronized LogEntry getLogEntry(int position) throws ArrayIndexOutOfBoundsException, ConfigManagerProxyPropertyNotInitializedException

Returns the LogEntry at the supplied position in the log,

getSize

public int getSize() throws ConfigManagerProxyPropertyNotInitializedException

Returns the number of LogEntry objects available to the user.

Class Hierarchy All Classes All Fields and Methods