org.drools.grid.service.directory.impl
Class GridServiceDescriptionImpl

java.lang.Object
  extended by org.drools.grid.service.directory.impl.GridServiceDescriptionImpl
All Implemented Interfaces:
Serializable, GridServiceDescription

public class GridServiceDescriptionImpl
extends Object
implements GridServiceDescription, Serializable

See Also:
Serialized Form

Constructor Summary
GridServiceDescriptionImpl()
           
GridServiceDescriptionImpl(Class cls)
           
GridServiceDescriptionImpl(String id)
           
 
Method Summary
 Address addAddress(String protocol)
           
 boolean equals(Object obj)
           
 Map<String,Address> getAddresses()
           
 Serializable getData()
           
 String getId()
           
 Class getServiceInterface()
           
 int hashCode()
           
 void removeAddress(String transport)
           
 void setData(Serializable data)
           
 void setId(String id)
           
 void setServiceInterface(Class serviceInterface)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GridServiceDescriptionImpl

public GridServiceDescriptionImpl()

GridServiceDescriptionImpl

public GridServiceDescriptionImpl(Class cls)

GridServiceDescriptionImpl

public GridServiceDescriptionImpl(String id)
Method Detail

getId

public String getId()
Specified by:
getId in interface GridServiceDescription

setId

public void setId(String id)

getServiceInterface

public Class getServiceInterface()
Specified by:
getServiceInterface in interface GridServiceDescription

setServiceInterface

public void setServiceInterface(Class serviceInterface)
Specified by:
setServiceInterface in interface GridServiceDescription

addAddress

public Address addAddress(String protocol)
Specified by:
addAddress in interface GridServiceDescription

getAddresses

public Map<String,Address> getAddresses()
Specified by:
getAddresses in interface GridServiceDescription

removeAddress

public void removeAddress(String transport)
Specified by:
removeAddress in interface GridServiceDescription

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

getData

public Serializable getData()
Specified by:
getData in interface GridServiceDescription

setData

public void setData(Serializable data)
Specified by:
setData in interface GridServiceDescription


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.