@Service @RunLevel(value=10) public class GMSAdapterService extends Object implements org.glassfish.hk2.api.PostConstruct, org.jvnet.hk2.config.ConfigListener
| Constructor and Description |
|---|
GMSAdapterService() |
| Modifier and Type | Method and Description |
|---|---|
org.jvnet.hk2.config.UnprocessedChangeEvents |
changed(PropertyChangeEvent[] events) |
GMSAdapter |
getGMSAdapter()
Gets the GMSAdapter.
|
GMSAdapter |
getGMSAdapterByName(String clusterName)
Gets the GMSAdapter for a specified cluster
|
boolean |
isGmsEnabled()
Returns true if there is at least one
GMSAdapter |
void |
postConstruct()
Starts the application loader service.
|
String |
toString() |
public void postConstruct()
postConstruct in interface org.glassfish.hk2.api.PostConstructpublic GMSAdapter getGMSAdapter()
IllegalStateException.
If there are none then null is returned.getGMSAdapterByName(String)public boolean isGmsEnabled()
GMSAdapterpublic GMSAdapter getGMSAdapterByName(String clusterName)
clusterName - public org.jvnet.hk2.config.UnprocessedChangeEvents changed(PropertyChangeEvent[] events)
changed in interface org.jvnet.hk2.config.ConfigListenerCopyright © 2017. All rights reserved.