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.
|
boolean |
exists(Object key) |
WebBeansContext |
get(Object key)
Gets singleton instance for deployment.
|
void |
register(ClassLoader key,
WebBeansContext context) |
public WebBeansContext get(Object key)
get in interface SingletonService<WebBeansContext>public void register(ClassLoader key, WebBeansContext context)
public void clearInstances(ClassLoader classLoader)
classLoader - of the deploymentpublic void clear(Object classLoader)
clear in interface SingletonService<WebBeansContext>public boolean exists(Object key)
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.