Class ServiceRegistry
java.lang.Object
org.apache.vinci.transport.vns.service.ServiceRegistry
Primary interface into the services database.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) Hashtable(package private) static int(package private) static int(package private) static int(package private) ServiceTree(package private) static int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidbooleanbooleanbooleanbooleancheckConflict(String ip, int min, int max) (package private) static StringconstructXMLString(Node C, boolean include) booleanvoidboolean(package private) Object[]getEntries(String name) (package private) Object[]getEntries(String name, int level) (package private) Object[]getEntries(String name, String level) (package private) intService[]getServices(String name) Service[]getServices(String name, int level) Service[]getServices(String name, int level, boolean resolveAlias) Service[]getServices(String name, String level) Service[]getServices(String name, String level, boolean resolveAlias) (package private) ServiceStack(package private) ServiceStackString[]String[]Object[]listServices(String prefix, int level) Object[]listServices(String prefix, String level) voidstatic voidstatic voidvoidboolean
-
Field Details
-
minAutoPort
static int minAutoPort -
maxAutoPort
static int maxAutoPort -
sizeAutoPort
static int sizeAutoPort -
MAX_ALIAS_LINKS
static int MAX_ALIAS_LINKS -
services
ServiceTree services -
bindings
Hashtable bindings
-
-
Constructor Details
-
ServiceRegistry
public ServiceRegistry()
-
-
Method Details
-
addBinding
-
delBinding
-
checkConflict
-
checkBinding
-
addService
-
addAlias
-
delAlias
-
addEntry
-
updateService
-
delService
-
getServices
-
getServices
-
getServices
-
getServices
-
getServices
-
getLevel
-
getStack
-
getStack
-
getEntries
-
getEntries
-
getEntries
-
listServices
-
listServices
-
listNames
-
listNames
-
load
- Throws:
Exception
-
constructXMLString
-
save
- Throws:
IOException
-
main
- Throws:
Exception
-
pr
-