Package com.sun.appserv.management.util.misc

Examples of com.sun.appserv.management.util.misc.RunnableBase


                cascadeInstances(sc);
            } else {
                // instance is server instance so invoke the DAS' mbean
                // for cascading this instance on DAS
          _logger.log(Level.INFO, "cascading.instance.background", instanceName);
                RunnableBase rb = new RunnableBase() {
                    protected void doRun() {
                        invokeDASCascading(sc);
                    }
                };
                rb.submit( RunnableBase.HowToRun.RUN_IN_SEPARATE_THREAD );
            }
        } catch (ConfigException ce) {
            ce.printStackTrace();
            _logger.log(Level.WARNING, "cascading.ServerHelper_isDAS_error", ce);
  } catch (Exception ex) {
View Full Code Here


    {
            // start a thread upon completion of server startup that will mark things as needing
            // a refresh, providing an accurate view of all available attributes without requiring
            // the client to make an explicit call to refresh().  Failure to do this means
            // that an empty or minimal state will be improperly returned.
            final RunnableBase refresher = new RunnableBase() {
                protected void doRun() {
                    FeatureAvailability.getInstance().waitForFeature(
                            SERVER_STARTED_FEATURE, "DottedNamesBase");
                   
                    setupOldDottedNamesProxy();
                    mRefreshNeeded   = true; // refresh lazily
                }
            };
            refresher.submit( RunnableBase.HowToRun.RUN_IN_SEPARATE_THREAD );
    }
  }
View Full Code Here

TOP

Related Classes of com.sun.appserv.management.util.misc.RunnableBase

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.