Class AddNotificationListenerCmdletCommand
- Namespace
- MASES.JNetPS.Cmdlet.JMX
- Assembly
- MASES.JNetPS.dll
[Cmdlet("Add", "NotificationListener")]
[OutputType(new Type[] { typeof(void) })]
public class AddNotificationListenerCmdletCommand : JNetPSCmdlet<JNetPSCore>
- Inheritance
-
AddNotificationListenerCmdletCommand
- Inherited Members
-
- Extension Methods
-
Properties
Connector
[Parameter(Position = 0, Mandatory = true, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The JMXConnector to use.")]
public JMXConnector Connector { get; set; }
Property Value
- JMXConnector
Filter
[Parameter(Position = 3, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The filter object. If filter is null, no filtering will be performed before handling notifications.")]
public NotificationFilter Filter { get; set; }
Property Value
- NotificationFilter
Handback
[Parameter(Position = 4, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The context to be sent to the listener when a notification is emitted.")]
public object Handback { get; set; }
Property Value
- object
Listener
[Parameter(Position = 2, Mandatory = true, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The listener object which will handle the notifications emitted by the registered MBean.")]
public NotificationListener Listener { get; set; }
Property Value
- NotificationListener
ObjectName
[Parameter(Position = 1, Mandatory = true, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the MBean on which the listener should be added.")]
public ObjectName ObjectName { get; set; }
Property Value
- ObjectName
Methods
ProcessCommand()
protected override void ProcessCommand()