|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.resilientedge.jockey.peerbridge.LoopbackApplication
Represents a Application on the network
| Field Summary | |
protected static int |
nextAppId_
|
protected static int |
NO_APPLICATION_ID
|
| Method Summary | |
int |
compareTo(java.lang.Object other)
Returns zero if the other app is the same as this app. |
boolean |
equals(java.lang.Object other)
Indicates whether some other object is "equal to" this application. |
AppDescriptor |
getAppDescriptor()
Return the application descriptor. |
java.lang.String |
getAppId()
Return the application id. |
Authority[] |
getAuthorities()
Return the authorities given to this application by the creator. |
void |
setAppId(java.lang.String id)
Set the id for this application. |
AppToken |
toAppToken()
Return a copy of this object translated to a client side token. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final int NO_APPLICATION_ID
protected static int nextAppId_
| Method Detail |
public java.lang.String getAppId()
getAppId in interface PBApplicationpublic void setAppId(java.lang.String id)
setAppId in interface PBApplicationid - the application idpublic AppDescriptor getAppDescriptor()
getAppDescriptor in interface PBApplicationpublic Authority[] getAuthorities()
getAuthorities in interface PBApplicationpublic AppToken toAppToken()
toAppToken in interface PBApplicationpublic int compareTo(java.lang.Object other)
compareTo in interface java.lang.Comparableother - app to comparepublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - object to compare
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||