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

java.lang.Object
  extended by 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

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

Constructor Detail

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
Method Detail

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.