Interface ICoreBF


@BusinessFacade(extraPackages="de.aeb.xnsg.foundation.bf") public interface ICoreBF
Business facade for the XNSGFoundation
  • Field Details

    • AEB_XNSG_IF_RSTRFCSRV

      static final String AEB_XNSG_IF_RSTRFCSRV
      Constant for the RFC function name for restartRFCServer()
      See Also:
  • Method Details

    • echo

      String echo(String echo)
    • getMonitoringValue

      String getMonitoringValue(String groupName, String valueName)
      Returns the current monitoring value for the given group and name
    • getAllMonitoringValues

      MonitoringDataProviderDTO[] getAllMonitoringValues()
      Returns all available monitroing values of the server
    • getProductInfo

      ProductInfoDTO getProductInfo()
      Return information about the server that is answering this request. This includes the product name and various version informations. The RFC name of this function is "/AEB/XNSG_IF_PRINFO"
      Returns:
      information packed in a ProductInfoDTO object
    • getVersionForSolution

      VersionInfoDTO getVersionForSolution(String solutionName)
      Return the version information of a solution that is deployed in the product on this server. The RFC name of this function is "/AEB/XNSG_IF_VERSOL"
      Parameters:
      solutionName - the name of the solution for which version information is to be obtained
      Returns:
      a VersionInfoDTO object containing the requested version, or null if the solution is not deployed to this server, or the argument is null
    • getBuildForSolution

      String getBuildForSolution(String solutionName)
      Return the build information of a solution that is deployed in the product on this server. The RFC name of this function is "/AEB/XNSG_IF_BLDSOL"
      Parameters:
      solutionName - the name of the solution for which version information is to be obtained
      Returns:
      a String containing the requested build number. if such build can be obtained, this is a numeric value. Later builds have a higher number. If no version is available, some special string is returned like UNKNOWN. The maximum string length is 8 characters.
    • restartRFCServer

      void restartRFCServer()
      This method is only usefull to be called from SAP via RFC. It will restart the RFCServer which receives this method call. This method is useful to be called from SAP, if within SAP some structure definitions had changed, e.g. after installing a transport. The RFC name of this function is "/AEB/XNSG_IF_RSTRFCSRV"
    • getRuntimeInfo

      RuntimeInfoDTO getRuntimeInfo()
      Return runtime information about the server that is answering this request. This includes the server name, ports and various other runtime informations. The RFC name of this function is "/AEB/XNSG_IF_RTINFO"
      Returns:
      information packed in a RuntimeInfoDTO object
    • checkBFFunctionExists

      BFFunctionExistsDTO checkBFFunctionExists(BFFunctionDTO request)
      Can be called to know if a BF function exist.
      Parameters:
      request - - The function to be checked
      Returns:
      result of the check
    • getRuntimeState

      RuntimeStateResultDTO getRuntimeState(RuntimeStateParmDTO runtimeStateParmDTO)
      Return runtime state information about the server that is answering this request. This includes if the server is doing fine or not. Also included are the supported operations (bfs) for the installation repository The RFC name of this function is "/AEB/XNSG_IF_RTSTATE"
      Parameters:
      parameter - packed in a RuntimeStateParmDTO object
      Returns:
      information packed in a RuntimeStateDTO object
    • getThreadDump

      String getThreadDump() throws IOException
      Generate Thread-Dump
      Returns:
      dump of all threads
      Throws:
      IOException - thrown when writing to the output stream