org.jboss.weld.bootstrap.api.helpers
Class IsolatedStaticSingletonProvider
java.lang.Object
org.jboss.weld.bootstrap.api.SingletonProvider
org.jboss.weld.bootstrap.api.helpers.IsolatedStaticSingletonProvider
public class IsolatedStaticSingletonProvider
- extends SingletonProvider
A singleton provider that assumes an isolated classloder per application
- Author:
- Sanjeeb.Sahoo@Sun.COM, Pete Muir
Method Summary |
|
create(Class<? extends T> type)
Create a new singleton |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IsolatedStaticSingletonProvider
public IsolatedStaticSingletonProvider()
create
public <T> Singleton<T> create(Class<? extends T> type)
- Description copied from class:
SingletonProvider
- Create a new singleton
- Specified by:
create
in class SingletonProvider
- Parameters:
type
- represents the type of Java object stored in the singleton
- Returns:
- a singelton
Copyright © 2013 Seam Framework. All Rights Reserved.