|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.admin.AdminFactory
public class AdminFactory
A factory allowing to create Admin
instance.
Allows to set the Lookup Service Groups and Locators. The Admin listens for events from the lookup service of components added and removed. It will monitor all components that work within the specified group and locator.
Allows to set the username and password that will be used to authenticate when secured services are discovered.
Constructor Summary | |
---|---|
AdminFactory()
|
Method Summary | |
---|---|
AdminFactory |
addGroup(String group)
Adds a lookup group that will be used to find Lookup Services (using multicast) that will be used to listen for events. |
AdminFactory |
addGroups(String groups)
Adds a comma delimited string of groups that will be used to find the Lookup Services (using multicast). |
AdminFactory |
addLocator(String locator)
Adds a lookup locator (ip and port) of the lookup service that will be used to listen for events. |
AdminFactory |
addLocators(String locators)
Adds a comma delimited lookup locators (ip and port) of the lookup service that will be used to listen for events. |
Admin |
createAdmin()
Creates the admin and begins its listening for events from the lookup service. |
AdminFactory |
useGsLogging(boolean useGsLogging)
|
AdminFactory |
userDetails(String userName,
String password)
Sets the username and password for discovery of secured services. |
AdminFactory |
userDetails(UserDetails userDetails)
Sets the user details that will be used when discovering secured services. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdminFactory()
Method Detail |
---|
public AdminFactory useGsLogging(boolean useGsLogging)
public AdminFactory addGroup(String group)
public AdminFactory addGroups(String groups)
public AdminFactory addLocator(String locator)
public AdminFactory addLocators(String locators)
public AdminFactory userDetails(String userName, String password)
public AdminFactory userDetails(UserDetails userDetails)
public Admin createAdmin()
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |