|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.v3.server.SnifferManagerImpl
@Service public class SnifferManagerImpl
Provide convenience methods to deal with Sniffers in the system.
| Field Summary | |
|---|---|
protected org.jvnet.hk2.component.Habitat |
habitat
|
| Constructor Summary | |
|---|---|
SnifferManagerImpl()
|
|
| Method Summary | ||
|---|---|---|
boolean |
canBeIsolated(Sniffer sniffer)
|
|
boolean |
containsPrimarySniffer(Collection<? extends Sniffer> sniffers)
|
|
|
getApplicableSniffers(DeploymentContext context,
Collection<T> sniffers,
boolean checkPath)
|
|
Collection<CompositeSniffer> |
getCompositeSniffers()
Returns all the presently registered composite sniffers |
|
Collection<CompositeSniffer> |
getCompositeSniffers(DeploymentContext context)
Returns a collection of composite sniffers that recognized some parts of the passed archive as components their container handle. |
|
Sniffer |
getSniffer(String appType)
|
|
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. |
|
boolean |
hasNoSniffers()
Check if there's any Sniffer installed at all. |
|
void |
validateSniffers(Collection<? extends Sniffer> snifferCol,
DeploymentContext context)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.jvnet.hk2.component.Habitat habitat
| Constructor Detail |
|---|
public SnifferManagerImpl()
| Method Detail |
|---|
public Collection<Sniffer> getSniffers()
getSniffers in interface SnifferManagerpublic Collection<CompositeSniffer> getCompositeSniffers()
getCompositeSniffers in interface SnifferManagerpublic final boolean hasNoSniffers()
Sniffer installed at all.
hasNoSniffers in interface SnifferManagerpublic Sniffer getSniffer(String appType)
getSniffer in interface SnifferManagerpublic Collection<Sniffer> getSniffers(DeploymentContext context)
getSniffers in interface SnifferManagercontext - the deployment context
public boolean canBeIsolated(Sniffer sniffer)
canBeIsolated in interface SnifferManagerpublic Collection<CompositeSniffer> getCompositeSniffers(DeploymentContext context)
getCompositeSniffers in interface SnifferManagercontext - deployment context
public <T extends Sniffer> List<T> getApplicableSniffers(DeploymentContext context,
Collection<T> sniffers,
boolean checkPath)
public void validateSniffers(Collection<? extends Sniffer> snifferCol,
DeploymentContext context)
public boolean containsPrimarySniffer(Collection<? extends Sniffer> sniffers)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||