@Override
  public ServiceInfo getModuleInfo() {
    return serviceInfo;
  }
Constructor.

@param stackContext      stack context which provides module access to external functionality
@param serviceInfo       associated service info
@param serviceDirectory  used for all IO interaction with service directory in stack definition
@param isCommonService   flag to mark a service as a common service
ambari-server/src/main/java/org/apache/ambari/server/stack/ServiceModule.java