Package com.sun.enterprise.admin.event

Examples of com.sun.enterprise.admin.event.AdminEventListenerException


                        }
                    }
                }
            }
        } catch (Exception ex) {
           throw new AdminEventListenerException(ex);
       
    }
View Full Code Here


                           
                            if ( ((HttpListener)object).getDefaultVirtualServer()
                                    .equals(com.sun.enterprise.web.VirtualServer.ADMIN_VS)){
                               
                                if (configChangeList.size() == 1){
                                    throw new AdminEventListenerException("Restart required");
                                } else {
                                    continue;
                                }                               
                            }
                           
                            webContainer.updateConnector(
                                (HttpListener)object,
                                config.getHttpService(),
                                configContext);
                        } else if (object instanceof ElementProperty) {
                            // Property has been added or updated
                            parentXpath = configChange.getParentXPath();
                            if (parentXpath == null) {
                                parentXpath =
                                    xpath.substring(0, xpath.lastIndexOf("/"));
                            }
                            httpBean = (HttpListener)
                                configContext.exactLookup(parentXpath);
                            webContainer.updateConnector(
                                httpBean,
                                config.getHttpService(),
                                configContext);
                        }
                    } else {
                        // Property has been deleted
                        parentXpath =
                            xpath.substring(0, xpath.lastIndexOf("/"));
                        httpBean = (HttpListener)
                            configContext.exactLookup(parentXpath);
                        webContainer.updateConnector(
                            httpBean,
                            config.getHttpService(),
                            configContext);
                    }
                }
            }
        } catch (Exception ex) {
           throw new AdminEventListenerException(ex);
        }
    }
View Full Code Here

            if ( config == null) return;
               
            webContainer.deleteConnector(config.getHttpService());

        catch( Exception ex){
           throw new AdminEventListenerException(ex);
        }     
    }    
View Full Code Here

           
            webContainer.updateHttpService(config.getHttpService(),
                                           configContext);

        } catch (Exception e) {
           throw new AdminEventListenerException(e);
        }
    }
View Full Code Here

                        }
                    }
                }
            }
        } catch (Exception ex) {
           throw new AdminEventListenerException(ex);
        }
    }
View Full Code Here

                        }
                    }
                }
            }
        } catch (Exception ex) {
           throw new AdminEventListenerException(ex);
        }
    }
View Full Code Here

            Config config = ServerBeansFactory.getConfigBean(configContext);
            if (config != null) {
                webContainer.deleteHost(config.getHttpService());   
            }
        } catch( Exception ex){
           throw new AdminEventListenerException(ex);
        }   
    }
View Full Code Here

                return;
            }
            webContainer.updateHttpService(config.getHttpService(),
                                           configContext);
        } catch (Exception e) {
           throw new AdminEventListenerException(e);
        }
    }
View Full Code Here

                return;
            }
            webContainer.updateHttpService(config.getHttpService(),
                                           configContext);
        } catch (Exception e) {
           throw new AdminEventListenerException(e);
        }
    }
View Full Code Here

                return;
            }
            webContainer.updateHttpService(config.getHttpService(),
                                           configContext);
        } catch (Exception e) {
           throw new AdminEventListenerException(e);
        }
    }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.admin.event.AdminEventListenerException

Copyright © 2018 www.massapicom. 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.