public HostComponentAdminState getComponentAdminState() {
clusterGlobalLock.readLock().lock();
try {
readLock.lock();
try {
HostComponentAdminState adminState = desiredStateEntity.getAdminState();
if (adminState == null
&& !serviceComponent.isClientComponent() && !serviceComponent.isMasterComponent()) {
adminState = HostComponentAdminState.INSERVICE;
}
return adminState;