|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.semispace.ws.client.SemiSpaceTokenProxy
public class SemiSpaceTokenProxy
| Method Summary | |
|---|---|
String |
getPassword()
|
String |
getUsername()
|
boolean |
hasToken()
If a token is present, you are authenticated |
org.semispace.SemiEventRegistration |
notify(Object template,
org.semispace.SemiEventListener listener,
long duration)
Notify is illegal to use in proxy |
Object |
read(Object template,
long duration)
|
Object |
readIfExists(Object template)
|
protected static TokenWsSpace |
readSpaceServiceAsSpring()
An alternative way of performing lookup |
protected static TokenWsSpace |
readSpaceServiceAsStandardPort()
|
protected static TokenWsSpace |
readSpaceServiceAsStandardPort(String endpointAddress)
|
static SemiSpaceTokenProxy |
retrieveSpace(String endpoint)
Open WS connection to the defined end point. |
protected static SemiSpaceTokenProxy |
retrieveSpace(TokenWsSpace space)
This is a bit roundabout, but is used for junit purposes. |
void |
setPassword(String password)
|
protected void |
setSpace(TokenWsSpace space)
|
void |
setUsername(String username)
|
Object |
take(Object template,
long duration)
|
Object |
takeIfExists(Object template)
|
org.semispace.SemiLease |
write(Object obj,
long duration)
TODO Consider fixing that null is always returned. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public static SemiSpaceTokenProxy retrieveSpace(String endpoint)
protected static TokenWsSpace readSpaceServiceAsSpring()
protected static TokenWsSpace readSpaceServiceAsStandardPort()
protected static TokenWsSpace readSpaceServiceAsStandardPort(String endpointAddress)
protected static SemiSpaceTokenProxy retrieveSpace(TokenWsSpace space)
public org.semispace.SemiEventRegistration notify(Object template,
org.semispace.SemiEventListener listener,
long duration)
notify in interface org.semispace.SemiSpaceInterface
public Object read(Object template,
long duration)
read in interface org.semispace.SemiSpaceInterfacepublic Object readIfExists(Object template)
readIfExists in interface org.semispace.SemiSpaceInterface
public Object take(Object template,
long duration)
take in interface org.semispace.SemiSpaceInterfacepublic Object takeIfExists(Object template)
takeIfExists in interface org.semispace.SemiSpaceInterface
public org.semispace.SemiLease write(Object obj,
long duration)
write in interface org.semispace.SemiSpaceInterfaceSemiSpaceInterface.write(java.lang.Object, long)public boolean hasToken()
protected void setSpace(TokenWsSpace space)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||