|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.openwings.component.utilities.ServiceDescriptor
This class is used to provide metadata about a service being implemented or used by a component.
| Constructor Summary | |
ServiceDescriptor()
Default constructor - empty |
|
ServiceDescriptor(java.lang.Class serviceInterface,
UniqueID uniqueID,
boolean implementsInterface)
This is the primary constructor for the ServiceDescriptor class. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
overrides default equals() method. |
boolean |
getImplementsInterface()
This method tells whether this service is implemented locally or remotely. |
java.lang.String |
getName()
This method returns the name of the service. |
java.lang.Class |
getServiceInterface()
This method returns the class of the service interface. |
UniqueID |
getUniqueID()
This method returns the unique identifier for the service. |
int |
hashCode()
overrides default hashCode() method. |
void |
setImplementsInterface(boolean implementsInterface)
This method tells whether this service is implemented locally or remotely. |
void |
setServiceInterface(java.lang.Class serviceInterface)
This method sets the class of the service interface. |
void |
setUniqueID(UniqueID uniqueID)
This method sets the unique identifier for the service. |
java.lang.String |
toString()
overrides default toString() method. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ServiceDescriptor()
public ServiceDescriptor(java.lang.Class serviceInterface,
UniqueID uniqueID,
boolean implementsInterface)
ServiceDescriptor class.
serviceInterface - the interface this service implments.uniqueID - the unique id of this serviceimplementsInterface - true if the component
implements the interface, false if the component calls
the interface| Method Detail |
public java.lang.String getName()
public UniqueID getUniqueID()
public void setUniqueID(UniqueID uniqueID)
uniqueID - unique identifier for the service.public java.lang.Class getServiceInterface()
public void setServiceInterface(java.lang.Class serviceInterface)
serviceInterface - class of the service interface.public boolean getImplementsInterface()
true if the component
implements the interface, false if the component calls
the interfacepublic void setImplementsInterface(boolean implementsInterface)
implementsInterface - true if the component
implements the interface, false if the component calls
the interfacepublic boolean equals(java.lang.Object obj)
public int hashCode()
public java.lang.String toString()
|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||