public class DefaultSingletonService extends Object implements SingletonService<WebBeansContext>
Constructor and Description |
---|
DefaultSingletonService() |
Modifier and Type | Method and Description |
---|---|
void |
clear(Object classLoader)
Any clean activity.
|
void |
clearInstances(ClassLoader classLoader)
Clear all deployment instances when the application is undeployed.
|
WebBeansContext |
get(Object key)
Gets singleton instance for deployment.
|
public WebBeansContext get(Object key)
get
in interface SingletonService<WebBeansContext>
key
- instance keypublic void clearInstances(ClassLoader classLoader)
classLoader
- of the deploymentpublic void clear(Object classLoader)
clear
in interface SingletonService<WebBeansContext>
classLoader
- instance keyCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.