@Service public class SnifferManagerImpl extends Object implements SnifferManager
Sniffers in the system.| Modifier and Type | Field and Description |
|---|---|
protected org.glassfish.hk2.api.ServiceLocator |
habitat |
| Constructor and Description |
|---|
SnifferManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
Sniffer |
getSniffer(String appType)
Return a sniffer instance based on its registered name
|
Collection<Sniffer> |
getSniffers()
Returns all the presently registered sniffers
|
Collection<Sniffer> |
getSniffers(DeploymentContext context)
Returns a collection of sniffers that recognized some parts of the
passed archive as components their container handle.
|
Collection<Sniffer> |
getSniffers(DeploymentContext context,
List<URI> uris,
org.glassfish.hk2.classmodel.reflect.Types types) |
boolean |
hasNoSniffers()
Check if there's any
Sniffer installed at all. |
void |
validateSniffers(Collection<? extends Sniffer> snifferCol,
DeploymentContext context) |
public Collection<Sniffer> getSniffers()
getSniffers in interface SnifferManagerpublic final boolean hasNoSniffers()
Sniffer installed at all.hasNoSniffers in interface SnifferManagerpublic Sniffer getSniffer(String appType)
SnifferManagergetSniffer in interface SnifferManagerappType - the sniffer service registration namepublic Collection<Sniffer> getSniffers(DeploymentContext context)
getSniffers in interface SnifferManagercontext - the deployment contextpublic Collection<Sniffer> getSniffers(DeploymentContext context, List<URI> uris, org.glassfish.hk2.classmodel.reflect.Types types)
getSniffers in interface SnifferManagerpublic void validateSniffers(Collection<? extends Sniffer> snifferCol, DeploymentContext context)
Copyright © 2017. All rights reserved.