@Service public class SnifferManagerImpl extends Object implements SnifferManager
Sniffer
s 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 SnifferManager
public final boolean hasNoSniffers()
Sniffer
installed at all.hasNoSniffers
in interface SnifferManager
public Sniffer getSniffer(String appType)
SnifferManager
getSniffer
in interface SnifferManager
appType
- the sniffer service registration namepublic Collection<Sniffer> getSniffers(DeploymentContext context)
getSniffers
in interface SnifferManager
context
- the deployment contextpublic Collection<Sniffer> getSniffers(DeploymentContext context, List<URI> uris, org.glassfish.hk2.classmodel.reflect.Types types)
getSniffers
in interface SnifferManager
public void validateSniffers(Collection<? extends Sniffer> snifferCol, DeploymentContext context)
Copyright © 2018. All rights reserved.