Package org.jboss.msc.service

Examples of org.jboss.msc.service.ServiceNotFoundException


                                        future.failed(controller.getStartException());
                                        controller.removeListener(this);
                                        break;
                                    }
                                    case REMOVING_to_REMOVED: {
                                        future.failed(new ServiceNotFoundException("Server controller service was removed"));
                                        controller.removeListener(this);
                                        break;
                                    }
                                }
                            }
                        });
                        break;
                    }
                    case STARTING_to_START_FAILED: {
                        controller.removeListener(this);
                        future.failed(controller.getStartException());
                        break;
                    }
                    case REMOVING_to_REMOVED: {
                        controller.removeListener(this);
                        future.failed(new ServiceNotFoundException("Root service was removed"));
                        break;
                    }
                }
            }
        });
View Full Code Here


                                        future.failed(controller.getStartException());
                                        controller.removeListener(this);
                                        break;
                                    }
                                    case REMOVING_to_REMOVED: {
                                        future.failed(new ServiceNotFoundException("Server controller service was removed"));
                                        controller.removeListener(this);
                                        break;
                                    }
                                }
                            }
                        });
                        break;
                    }
                    case STARTING_to_START_FAILED: {
                        controller.removeListener(this);
                        future.failed(controller.getStartException());
                        break;
                    }
                    case REMOVING_to_REMOVED: {
                        controller.removeListener(this);
                        future.failed(new ServiceNotFoundException("Root service was removed"));
                        break;
                    }
                }
            }
        });
View Full Code Here

                                        future.failed(controller.getStartException());
                                        controller.removeListener(this);
                                        break;
                                    }
                                    case REMOVING_to_REMOVED: {
                                        future.failed(new ServiceNotFoundException("Server controller service was removed"));
                                        controller.removeListener(this);
                                        break;
                                    }
                                }
                            }
                        });
                        break;
                    }
                    case STARTING_to_START_FAILED: {
                        controller.removeListener(this);
                        future.failed(controller.getStartException());
                        break;
                    }
                    case REMOVING_to_REMOVED: {
                        controller.removeListener(this);
                        future.failed(new ServiceNotFoundException("Root service was removed"));
                        break;
                    }
                }
            }
        });
View Full Code Here

                                        future.failed(controller.getStartException());
                                        controller.removeListener(this);
                                        break;
                                    }
                                    case REMOVING_to_REMOVED: {
                                        future.failed(new ServiceNotFoundException("Server controller service was removed"));
                                        controller.removeListener(this);
                                        break;
                                    }
                                }
                            }
                        });
                        break;
                    }
                    case STARTING_to_START_FAILED: {
                        controller.removeListener(this);
                        future.failed(controller.getStartException());
                        break;
                    }
                    case REMOVING_to_REMOVED: {
                        controller.removeListener(this);
                        future.failed(new ServiceNotFoundException("Root service was removed"));
                        break;
                    }
                }
            }
        });
View Full Code Here

                        controller.removeListener(this);
                    }

                    @Override
                    public void serviceRemoved(final ServiceController<?> controller) {
                        future.failed(new ServiceNotFoundException("Server controller service was removed"));
                        controller.removeListener(this);
                    }
                });
            }

            @Override
            public void serviceFailed(final ServiceController<?> controller, final StartException reason) {
                controller.removeListener(this);
                future.failed(reason);
            }

            @Override
            public void serviceRemoved(final ServiceController<?> controller) {
                controller.removeListener(this);
                future.failed(new ServiceNotFoundException("Root service was removed"));
            }
        });
        return future;
    }
View Full Code Here

TOP

Related Classes of org.jboss.msc.service.ServiceNotFoundException

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.