/** * Add an associated bean. * The bean will be added to the servers {@link Container} * and if it is a {@link LifeCycle} instance, it will be * started/stopped along with the Server. Any beans that are also * {@link Destroyable}, will be destroyed with the server. * @param o the bean object to add */ @Override public boolean addBean(Object o) { if (super.addBean(o)) { _container.addBean(o); return true; } return false; }
/** * Add an associated bean. * The bean will be added to the servers {@link Container} * and if it is a {@link LifeCycle} instance, it will be * started/stopped along with the Server. Any beans that are also * {@link Destroyable}, will be destroyed with the server. * @param o the bean object to add */ @Override public boolean addBean(Object o) { if (super.addBean(o)) { _container.addBean(o); return true; } return false; }
/** * Add an associated bean. * The bean will be added to the servers {@link Container} * and if it is a {@link LifeCycle} instance, it will be * started/stopped along with the Server. Any beans that are also * {@link Destroyable}, will be destroyed with the server. * @param o the bean object to add */ @Override public boolean addBean(Object o) { if (super.addBean(o)) { _container.addBean(o); return true; } return false; }
/** * Add an associated bean. * The bean will be added to the servers {@link Container} * and if it is a {@link LifeCycle} instance, it will be * started/stopped along with the Server. Any beans that are also * {@link Destroyable}, will be destroyed with the server. * @param o the bean object to add */ @Override public boolean addBean(Object o) { if (super.addBean(o)) { _container.addBean(o); return true; } return false; }
/** * Add an associated bean. * The bean will be added to the servers {@link Container} * and if it is a {@link LifeCycle} instance, it will be * started/stopped along with the Server. Any beans that are also * {@link Destroyable}, will be destroyed with the server. * @param o the bean object to add */ @Override public boolean addBean(Object o) { if (super.addBean(o)) { _container.addBean(o); return true; } return false; }