org.jvnet.hk2.component
Class Singleton

java.lang.Object
  extended by org.jvnet.hk2.component.Scope
      extended by org.jvnet.hk2.component.Singleton

@Scoped(value=Singleton.class)
public class Singleton
extends 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 class Scope


Copyright © 2010 Oracle Corporation. All Rights Reserved.