org.drools.grid.service.directory.impl
Class GridServiceDescriptionJpa<T>

java.lang.Object
  extended by org.drools.grid.service.directory.impl.GridServiceDescriptionJpa<T>
All Implemented Interfaces:
Serializable, GridServiceDescription

public class GridServiceDescriptionJpa<T>
extends Object
implements GridServiceDescription, Serializable

See Also:
Serialized Form

Constructor Summary
GridServiceDescriptionJpa(GridServiceDescription detached, javax.persistence.EntityManagerFactory emf)
           
 
Method Summary
 Address addAddress(String transport)
           
 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 setServiceInterface(Class cls)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridServiceDescriptionJpa

public GridServiceDescriptionJpa(GridServiceDescription detached,
                                 javax.persistence.EntityManagerFactory emf)
Method Detail

getAddresses

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

addAddress

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

removeAddress

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

getId

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

getServiceInterface

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

setServiceInterface

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

getData

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

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

setData

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


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