Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06

weblogic.cluster.singleton
Class AbstractServiceLocationSelector

java.lang.Object
  extended by weblogic.cluster.singleton.AbstractServiceLocationSelector
All Implemented Interfaces:
ServiceLocationSelector
Direct Known Subclasses:
BasicServiceLocationSelector

public abstract class AbstractServiceLocationSelector
extends Object
implements ServiceLocationSelector

This class is the base class for all the ServiceLocationSelector interface implementations. It provides common utility methods.


Field Summary
protected static boolean DEBUG
           
 
Constructor Summary
AbstractServiceLocationSelector()
           
 
Method Summary
abstract  weblogic.management.configuration.ServerMBean chooseServer()
           
protected  boolean executePostScript(weblogic.management.configuration.MigratableTargetMBean bean, weblogic.management.configuration.ServerMBean target)
           
protected  boolean executePostScript(weblogic.management.configuration.MigratableTargetMBean mtBean, weblogic.management.configuration.ServerMBean target, weblogic.management.configuration.ServerMBean lastHost)
           
protected  List getAcceptableServers(List serverList)
           
protected  boolean isServerRunning(weblogic.management.configuration.ServerMBean srvr)
           
 void migrationSuccessful(weblogic.management.configuration.ServerMBean server, boolean automaticMigration)
           
protected static void p(Object o)
           
abstract  void setLastHost(weblogic.management.configuration.ServerMBean server)
           
abstract  void setServerList(List servers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

protected static final boolean DEBUG
Constructor Detail

AbstractServiceLocationSelector

public AbstractServiceLocationSelector()
Method Detail

getAcceptableServers

protected List getAcceptableServers(List serverList)

isServerRunning

protected boolean isServerRunning(weblogic.management.configuration.ServerMBean srvr)

executePostScript

protected boolean executePostScript(weblogic.management.configuration.MigratableTargetMBean mtBean,
                                    weblogic.management.configuration.ServerMBean target,
                                    weblogic.management.configuration.ServerMBean lastHost)

executePostScript

protected boolean executePostScript(weblogic.management.configuration.MigratableTargetMBean bean,
                                    weblogic.management.configuration.ServerMBean target)

p

protected static void p(Object o)

migrationSuccessful

public void migrationSuccessful(weblogic.management.configuration.ServerMBean server,
                                boolean automaticMigration)
Specified by:
migrationSuccessful in interface ServiceLocationSelector

chooseServer

public abstract weblogic.management.configuration.ServerMBean chooseServer()
Specified by:
chooseServer in interface ServiceLocationSelector

setLastHost

public abstract void setLastHost(weblogic.management.configuration.ServerMBean server)
Specified by:
setLastHost in interface ServiceLocationSelector

setServerList

public abstract void setServerList(List servers)
Specified by:
setServerList in interface ServiceLocationSelector

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06