|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jini.rio.core.ServiceBeanInstance
public class ServiceBeanInstance
This class indicates an instance of an instantiated ServiceBean
| Constructor Summary | |
|---|---|
ServiceBeanInstance(Uuid identifier,
MarshalledInstance mi,
ServiceBeanConfig sbConfig)
Create a ServiceBeanInstance |
|
ServiceBeanInstance(Uuid identifier,
MarshalledInstance mi,
ServiceBeanConfig sbConfig,
String hostAddress)
Create a ServiceBeanInstance |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
A ServiceBeanInstance is equal to another ServiceBeanInstance if the service identifier properties are equal |
String |
getHostAddress()
Get the IP address of the compute resource the service is executing on |
MarshalledInstance |
getMarshalledInstance()
Get the MarshalledInstance |
Object |
getService()
Get the object used to communicate to the ServiceBean |
ServiceBeanConfig |
getServiceBeanConfig()
Get the ServiceBeanConfig for the ServiceBean |
Uuid |
getServiceBeanID()
Get the unique identifier for the ServiceBean |
int |
hashCode()
Override hashCode to be the hash of the service identifier |
void |
setServiceBeanConfig(ServiceBeanConfig sbConfig)
Set the ServiceBeanConfig for the ServiceBean |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceBeanInstance(Uuid identifier,
MarshalledInstance mi,
ServiceBeanConfig sbConfig)
identifier - Unique identifier for the ServiceBeanmi - Object used to communicate to the ServiceBeansbConfig - ServiceBeanConfig object for the ServiceBean
public ServiceBeanInstance(Uuid identifier,
MarshalledInstance mi,
ServiceBeanConfig sbConfig,
String hostAddress)
identifier - Unique identifier for the ServiceBeanmi - Object used to communicate to the ServiceBeansbConfig - ServiceBeanConfig object for the ServiceBeanhostAddress - The hostAddress the service is executing on| Method Detail |
|---|
public Uuid getServiceBeanID()
public MarshalledInstance getMarshalledInstance()
public Object getService()
throws IOException,
ClassNotFoundException
ClassNotFoundException
IOExceptionpublic void setServiceBeanConfig(ServiceBeanConfig sbConfig)
sbConfig - The ServiceBeanConfig for the ServiceBeanpublic ServiceBeanConfig getServiceBeanConfig()
public String getHostAddress()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||