Annotation Type Singleton

  • @Target(value=TYPE)
    public @interface Singleton
    Annotation used with Authenticator and PeerAuthenticator to denote only one instance will be created for optimization. Implementation must be thread safe. Without the annotation a new (peer)authenticator instance will be created for each request.
Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Endpoints Frameworks for App Engine
Need help? Visit our support page.