java.lang.Object
org.odpi.openmetadata.adminservices.registration.ViewServiceAdmin
org.odpi.openmetadata.viewservices.myprofile.admin.MyProfileAdmin

public class MyProfileAdmin extends ViewServiceAdmin
MyProfileAdmin is the class that is called by the View Server to initialize and terminate the My Profile OMVS. The initialization call provides this OMVS with the Audit log and configuration.
  • Constructor Details

    • MyProfileAdmin

      public MyProfileAdmin()
      Default constructor
  • Method Details

    • initialize

      public void initialize(String serverName, ViewServiceConfig viewServiceConfig, AuditLog auditLog, String serverUserName, int maxPageSize) throws OMAGConfigurationErrorException
      Initialize the My Profile view service.
      Specified by:
      initialize in class ViewServiceAdmin
      Parameters:
      serverName - name of the local server
      viewServiceConfig - specific configuration properties for this view service.
      auditLog - audit log component for logging messages.
      serverUserName - user id to use to issue calls to the remote server.
      maxPageSize - maximum page size. 0 means unlimited
      Throws:
      OMAGConfigurationErrorException - invalid parameters in the configuration properties.
    • shutdown

      public void shutdown()
      Shutdown the My Profile service.
      Specified by:
      shutdown in class ViewServiceAdmin