org.glassfish.hk2.scopes
Class Singleton

java.lang.Object
  extended by org.glassfish.hk2.scopes.Singleton
All Implemented Interfaces:
Scope

@Scoped(value=Singleton.class)
public class Singleton
extends java.lang.Object
implements Scope

Singleton scope.

Author:
Kohsuke Kawaguchi

Constructor Summary
Singleton()
           
 
Method Summary
 ScopeInstance current()
          Deprecated. Singleton instances are not stored in a single map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Singleton

public Singleton()
Method Detail

current

public ScopeInstance current()
Deprecated. Singleton instances are not stored in a single map.

Specified by:
current in interface Scope


Copyright © 2011 Oracle Corporation. All Rights Reserved.