org.rhq.enterprise.communications.command.server
Class CommandServiceId

java.lang.Object
  extended by org.rhq.enterprise.communications.command.server.CommandServiceId
All Implemented Interfaces:
Serializable

public class CommandServiceId
extends Object
implements Serializable

This class identifies a registered command service.

Author:
John Mazzitelli
See Also:
ServiceContainer.removeCommandService(CommandServiceId), ServiceContainer.addCommandService(CommandService), Serialized Form

Constructor Summary
CommandServiceId(String id)
          Constructor for CommandServiceId.
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandServiceId

public CommandServiceId(String id)
                 throws IllegalArgumentException
Constructor for CommandServiceId.

Parameters:
id - the ID (must not be null)
Throws:
IllegalArgumentException - if id is null
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.