Searched defs:sniffer (Results 1 - 8 of 8) sorted by relevance

/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/deployment/
H A DSnifferManager.java57 * Return a sniffer instance based on its registered name
58 * @param name the sniffer service registration name
59 * @return the sniffer instance of null if not found.
64 * Returns true if no sniffer/container is registered in the habitat.
65 * @return true if not sniffer is registered
87 * If no sniffer recognize the passed archive, an empty collection is
97 * Return whether a sniffer supports to be isolated during deployment per use request.
99 * @param sniffer the sniffer to test
100 * @return true if a sniffer ca
103 canBeIsolated(Sniffer sniffer) argument
[all...]
/glassfish-3.1.2/web/gf-web-connector/src/main/java/org/glassfish/web/sniffer/
H A DWebSniffer.java41 package org.glassfish.web.sniffer;
83 * @return true if this sniffer handles this application type
96 * @return whether this sniffer should be visible to user
129 * be returned in the sniffer list for a certain module.
130 * This method will be used to validate and filter the retrieved sniffer
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/server/
H A DContainerStarter.java89 public Collection<EngineInfo> startContainer(Sniffer sniffer, Module snifferModule) { argument
91 assert sniffer!=null;
92 String containerName = sniffer.getModuleType();
116 modules = sniffer.setup(containerHome, logger);
134 for (String name : sniffer.getContainersNames()) {
154 logger.severe("Cannot start " + sniffer.getModuleType() + " container");
159 EngineInfo info = new EngineInfo(provider, sniffer, containerClassLoader);
H A DSnifferManagerImpl.java121 for (Sniffer sniffer : getSniffers()) {
122 if (appType.equalsIgnoreCase(sniffer.getModuleType())) {
123 return sniffer;
133 * If no sniffer recognize the passed archive, an empty collection is
145 for (Sniffer sniffer : getSniffers()) {
146 if (!(sniffer instanceof CompositeSniffer))
147 nonCompositeSniffers.add(sniffer);
154 for (Sniffer sniffer : nonCompositeSniffers) {
155 if ( !appSniffers.contains(sniffer) &&
156 sniffer
163 canBeIsolated(Sniffer sniffer) argument
[all...]
H A DApplicationLifecycle.java364 for (Sniffer sniffer : sniffers) {
365 logger.fine("Before Sorting" + sniffer.getModuleType());
621 for (Sniffer sniffer : sniffers) {
622 if (sniffer.getContainersNames() == null || sniffer.getContainersNames().length == 0) {
623 report.failure(logger, "no container associated with application of type : " + sniffer.getModuleType(), null);
627 Module snifferModule = modulesRegistry.find(sniffer.getClass());
629 report.failure(logger, "cannot find container module from service implementation " + sniffer.getClass(), null);
632 final String containerName = sniffer.getContainersNames()[0];
651 containersInfo = setupContainer(sniffer, snifferModul
940 setupContainer(Sniffer sniffer, Module snifferModule, Logger logger, DeploymentContext context) argument
[all...]
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/data/
H A DEngineInfo.java63 * to the sniffer, the container itself and the list of applications deployed in
71 final Sniffer sniffer; field in class:EngineInfo
77 * Creates a new ContractProvider info with references to the container, the sniffer
81 * @param sniffer sniffer associated with that container
83 public EngineInfo(Inhabitant<T> container, Sniffer sniffer, ClassLoader cloader) { argument
85 this.sniffer = sniffer;
97 * Returns the sniffer associated with this container
98 * @return the sniffer instanc
[all...]
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/
H A DSnifferAdapter.java87 private Sniffer sniffer; field in class:SnifferAdapter
91 public void initialize(Sniffer sniffer, ContainerMapper mapper) { argument
92 this.sniffer = sniffer;
109 // bingo, we found a sniffer that wants to handle this requested
122 if (containerRegistry.getContainer(sniffer.getContainersNames()[0]) != null) {
126 containerRegistry.getContainer(sniffer.getContainersNames()[0]).getContainer();
129 logger.log(Level.INFO, "core.snifferadapter.starting.container", sniffer.getModuleType());
130 Module snifferModule = modulesRegistry.find(sniffer.getClass());
132 Collection<EngineInfo> containersInfo = containerStarter.startContainer(sniffer, snifferModul
[all...]
/glassfish-3.1.2/deployment/admin/src/test/java/org/glassfish/deployment/admin/
H A DListComponentsCommandTest.java84 assertTrue("test app with sniffer engine=web", true==lcc.isApplicationOfThisType(app, "web"));
86 assertFalse("test app with sniffer engine=web", true==lcc.isApplicationOfThisType(app, "ejb"));
111 assertEquals("compare all sniffer engines", "<web, security>",
257 private String sniffer = ""; field in class:ListComponentsCommandTest.EngineTest
258 public String getSniffer() {return sniffer;}
260 sniffer = value;

Completed in 46 milliseconds