com.gigaspaces.jmx.focalserver
Interface LookupDisoveryManagerMBean

All Known Subinterfaces:
JMXConnectionFinderMBean
All Known Implementing Classes:
JMXConnectionFinder

public interface LookupDisoveryManagerMBean

Manage mbean Jini discovery settings


Method Summary
 void addGroup(java.lang.String group)
          add a discovery group
 void addLocator(java.lang.String url)
          add a unicast url
 java.lang.String[] getGroups()
          list discovery groups
 java.lang.String[] getLocators()
          list of unicast urls
 void removeGroup(java.lang.String group)
          remove discovery group
 void removeLocator(java.lang.String url)
          remove a unicast url
 void setAllGroups()
          set discovery to ALL_GROUPS
 void setGroups(java.lang.String[] groups)
           
 void setLocators(java.lang.String[] urls)
          sets an array of Jini unicast urls
 

Method Detail

getGroups

java.lang.String[] getGroups()
list discovery groups

Returns:

addGroup

void addGroup(java.lang.String group)
              throws java.io.IOException
add a discovery group

Parameters:
group -
Throws:
java.io.IOException

setGroups

void setGroups(java.lang.String[] groups)
               throws java.io.IOException
Throws:
java.io.IOException

removeGroup

void removeGroup(java.lang.String group)
remove discovery group

Parameters:
group -

setAllGroups

void setAllGroups()
                  throws java.io.IOException
set discovery to ALL_GROUPS

Throws:
java.io.IOException

getLocators

java.lang.String[] getLocators()
list of unicast urls

Returns:

addLocator

void addLocator(java.lang.String url)
                throws java.net.MalformedURLException
add a unicast url

Parameters:
url - in the form of jini://:
Throws:
java.net.MalformedURLException

removeLocator

void removeLocator(java.lang.String url)
                   throws java.net.MalformedURLException
remove a unicast url

Parameters:
url - in the form of jini://:
Throws:
java.net.MalformedURLException

setLocators

void setLocators(java.lang.String[] urls)
                 throws java.net.MalformedURLException
sets an array of Jini unicast urls

Parameters:
urls - in the form of jini://:
Throws:
java.net.MalformedURLException


Copyright (c) 2007 GigaSpaces Technologies, Inc.
All Rights Reserved.