Package org.eclipse.wst.server.core

Examples of org.eclipse.wst.server.core.IServerLifecycleListener


  /***
   * ����ͬ��
   */
  private void launchSync(){
    IServer tamcatServer = TomcatServerOsgiModel.getTomcatServer();
    ServerCore.addServerLifecycleListener(new IServerLifecycleListener() {
      @Override
      public void serverAdded(IServer server) {
        IRuntimeType type = server.getServerType().getRuntimeType();
        if (type.getName().startsWith(Constants.ApacheTomcat)) {
          server.addServerListener(new TomcatServerListener());
View Full Code Here


     *
     * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
     */
    public void start(BundleContext context) throws Exception {
        super.start(context);
        ServerCore.addServerLifecycleListener(new IServerLifecycleListener() {
            public void serverAdded(IServer server) {
                triggerStartUpdateServerTask(server);
            }

            public void serverChanged(IServer server) {
View Full Code Here

TOP

Related Classes of org.eclipse.wst.server.core.IServerLifecycleListener

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.