Class Token
java.lang.Object
Token
- public class Token
- extends Object
Singleton class that creates token and return token only to the first creator otherwise it returns null
The first user will only get the token and other will get null means no token
- Version:
- version1.0
- Author:
- Adeel Hashmi
|
Method Summary |
protected static Token |
createToken()
Creates Token object and return |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createToken
protected static Token createToken()
- Creates Token object and return
- Returns:
- If instance is not created create it otherwise return null