Examples of removeNetworkProxy()


Examples of com.sun.enterprise.v3.services.impl.GrizzlyService.removeNetworkProxy()

                grizzlyService = Globals.get(GrizzlyService.class);
            } catch (RunLevelException rle) {
                // if GrizzlyService was shut down already, skip removing the proxy.
            }
            if (grizzlyService != null)
                grizzlyService.removeNetworkProxy(JMS_SERVICE);
            grizzlyListenerInit = false;
        }
        super.destroy();
    }
View Full Code Here

Examples of com.sun.enterprise.v3.services.impl.GrizzlyService.removeNetworkProxy()

                grizzlyService = Globals.get(GrizzlyService.class);
            } catch (RunLevelException rle) {
                // if GrizzlyService was shut down already, skip removing the proxy.
            }
            if (grizzlyService != null)
                grizzlyService.removeNetworkProxy(JMS_SERVICE);
            grizzlyListenerInit = false;
        }
        super.destroy();
    }
View Full Code Here

Examples of com.sun.enterprise.v3.services.impl.GrizzlyService.removeNetworkProxy()

                grizzlyService = Globals.get(GrizzlyService.class);
            } catch (RunLevelException rle) {
                // if GrizzlyService was shut down already, skip removing the proxy.
            }
            if (grizzlyService != null)
                grizzlyService.removeNetworkProxy(JMS_SERVICE);
            grizzlyListenerInit = false;
        }
        super.destroy();
    }
View Full Code Here

Examples of com.sun.enterprise.v3.services.impl.GrizzlyService.removeNetworkProxy()

                grizzlyService = Globals.get(GrizzlyService.class);
            } catch (RunLevelException rle) {
                // if GrizzlyService was shut down already, skip removing the proxy.
            }
            if (grizzlyService != null)
                grizzlyService.removeNetworkProxy(JMS_SERVICE);
            grizzlyListenerInit = false;
        }
        super.destroy();
    }
View Full Code Here

Examples of com.sun.enterprise.v3.services.impl.GrizzlyService.removeNetworkProxy()

        JmsService jmsService = getJmsService();
        if (connectorRuntime.isServer() && grizzlyListenerInit && jmsService != null
                && EMBEDDED.equalsIgnoreCase(jmsService.getType())) {
            GrizzlyService grizzlyService = Globals.get(GrizzlyService.class);
            if (grizzlyService != null)
                grizzlyService.removeNetworkProxy(JMS_SERVICE);
            grizzlyListenerInit = false;
        }
        super.destroy();
    }
View Full Code Here

Examples of com.sun.enterprise.v3.services.impl.GrizzlyService.removeNetworkProxy()

                    grizzlyService = Globals.get(GrizzlyService.class);
                } catch (RunLevelException rle) {
                    // if GrizzlyService was shut down already, skip removing the proxy.
                }
                if (grizzlyService != null)
                    grizzlyService.removeNetworkProxy(JMS_SERVICE);
                grizzlyListenerInit = false;
            }
        } catch (Throwable th) {
            _logger.log(Level.WARNING, "Error occurs when shutting down JMSRA: " + th.getMessage());
            throw new RuntimeException(th);
View Full Code Here

Examples of com.sun.enterprise.v3.services.impl.GrizzlyService.removeNetworkProxy()

                    synchronized (grizzlyListeners) {
                        if (grizzlyListeners.size() > 0) {
                            String[] listeners = grizzlyListeners.toArray(new String[grizzlyListeners.size()]);
                            for (String listenerName : listeners) {
                                try {
                                    grizzlyService.removeNetworkProxy(listenerName);
                                    grizzlyListeners.remove(listenerName);
                                } catch (Exception e) {
                                    if (_logger.isLoggable(Level.WARNING)) {
                                        _logger.log(Level.WARNING, "Failed to shut down Grizzly NetworkListener " + listenerName, e);
                                    }
View Full Code Here

Examples of com.sun.enterprise.v3.services.impl.GrizzlyService.removeNetworkProxy()

                    GrizzlyService grizzlyService = Globals.get(GrizzlyService.class);
                    synchronized (adapter.getGrizzlyListeners()) {
                        if (_logger.isLoggable(Level.FINE)) {
                            _logger.log(Level.FINE, "Stopping Grizzly proxy " + name);
                        }
                        grizzlyService.removeNetworkProxy(name);
                        adapter.getGrizzlyListeners().remove(name);
                    }
                    notifyFlag = false;
                }
            }
View Full Code Here

Examples of com.sun.enterprise.v3.services.impl.GrizzlyService.removeNetworkProxy()

                    grizzlyService = Globals.get(GrizzlyService.class);
                } catch (RunLevelException rle) {
                    // if GrizzlyService was shut down already, skip removing the proxy.
                }
                if (grizzlyService != null)
                    grizzlyService.removeNetworkProxy(JMS_SERVICE);
                grizzlyListenerInit = false;
            }
        } catch (Throwable th) {
            _logger.log(Level.WARNING, "Error occurs when shutting down JMSRA: " + th.getMessage());
            throw new RuntimeException(th);
View Full Code Here

Examples of com.sun.enterprise.v3.services.impl.GrizzlyService.removeNetworkProxy()

                    grizzlyService = Globals.get(GrizzlyService.class);
                } catch (RunLevelException rle) {
                    // if GrizzlyService was shut down already, skip removing the proxy.
                }
                if (grizzlyService != null)
                    grizzlyService.removeNetworkProxy(JMS_SERVICE);
                grizzlyListenerInit = false;
            }
        } catch (Throwable th) {
            _logger.log(Level.WARNING, "Error occurs when shutting down JMSRA: " + th.getMessage());
            throw new RuntimeException(th);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.