org.rhq.enterprise.communications.command.server
Class CommandServiceId
java.lang.Object
org.rhq.enterprise.communications.command.server.CommandServiceId
- All Implemented Interfaces:
- java.io.Serializable
public class CommandServiceId
- extends java.lang.Object
- implements java.io.Serializable
This class identifies a registered command service.
- Author:
- John Mazzitelli
- See Also:
ServiceContainer.removeCommandService(CommandServiceId),
ServiceContainer.addCommandService(CommandService),
Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CommandServiceId
public CommandServiceId(java.lang.String id)
throws java.lang.IllegalArgumentException
- Constructor for
CommandServiceId.
- Parameters:
id - the ID (must not be null)
- Throws:
java.lang.IllegalArgumentException - if id is null
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
- See Also:
Object.equals(Object)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
- See Also:
Object.hashCode()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
- See Also:
Object.toString()
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.