Class Token

java.lang.Object
  extended byToken

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:
version 1.1
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
 

Method Detail

createToken

protected static Token createToken()
Creates Token object and return

Returns:
If instance is not created create it otherwise return null