weblogic.cluster.singleton
Class AbstractServiceLocationSelector
java.lang.Object
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
|
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 |
DEBUG
protected static final boolean DEBUG
AbstractServiceLocationSelector
public AbstractServiceLocationSelector()
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