org.apache.juddi.v3.client.mapping
Class PolicyLocalFirst
java.lang.Object
org.apache.juddi.v3.client.mapping.PolicyRoundRobin
org.apache.juddi.v3.client.mapping.PolicyLocalFirst
- All Implemented Interfaces:
- SelectionPolicy
public class PolicyLocalFirst
- extends PolicyRoundRobin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JUDDI_CLIENT_LOCAL
public static final String JUDDI_CLIENT_LOCAL
- See Also:
- Constant Field Values
DEFAULT_CLIENT_LOCAL
public static final String DEFAULT_CLIENT_LOCAL
- See Also:
- Constant Field Values
PolicyLocalFirst
public PolicyLocalFirst(Properties properties)
- This policy prefers 'local' EPR over remote EPRs. By default 'local' means
the EPR contains the String 'localhost'. This setting can be overwritten
by setting the 'juddi.client.local' property. An example would be 'localhost:8080'.
- Parameters:
properties
-
select
public String select(Topology topology)
- Specified by:
select
in interface SelectionPolicy
- Overrides:
select
in class PolicyRoundRobin
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.