public class DefaultSingletonService extends Object implements SingletonService<WebBeansContext>
| Constructor and Description |
|---|
DefaultSingletonService() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear(Object classLoader) |
void |
clearInstances(ClassLoader classLoader)
Clear all deployment instances when the application is undeployed.
|
WebBeansContext |
get(Object key)
Gets singleton instance for deployment.
|
ClassLoader |
getSingletonClassLoader(Object object)
Gets classloader with given singelton instance.
|
public WebBeansContext get(Object key)
get in interface SingletonService<WebBeansContext>public void clearInstances(ClassLoader classLoader)
classLoader - of the deploymentpublic ClassLoader getSingletonClassLoader(Object object)
object - singleton instancepublic void clear(Object classLoader)
clear in interface SingletonService<WebBeansContext>Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.