@ManagedResource(description="Assassin for dangling Microsoft Office Instances. Use with care!") public class MSOInstanceAssassin extends Object implements SelfRegistering, org.springframework.jmx.export.naming.SelfNaming
Constructor and Description |
---|
MSOInstanceAssassin() |
Modifier and Type | Method and Description |
---|---|
ObjectName |
getObjectName() |
Collection<String> |
getObservingPIDs() |
void |
killObservingProcesses() |
void |
updateObservingProcesses() |
public MSOInstanceAssassin() throws IOException
IOException
public ObjectName getObjectName()
getObjectName
in interface org.springframework.jmx.export.naming.SelfNaming
@ManagedOperation(description="Take a snapshot of running MS Office process IDs that have been created after this assassin was instantiated") public void updateObservingProcesses() throws IOException
IOException
@ManagedAttribute(description="Get all observing MS Office process IDs") public Collection<String> getObservingPIDs()
@ManagedOperation(description="Kill all observing MS Office processes") public void killObservingProcesses() throws IOException
IOException
Copyright © 2017 levigo holding gmbh. All rights reserved.