Package de.aeb.xnsg.core.bf
Interface ICoreBF
@BusinessFacade(extraPackages="de.aeb.xnsg.foundation.bf")
public interface ICoreBF
Business facade for the XNSGFoundation
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Constant for the RFC function name for restartRFCServer() -
Method Summary
Modifier and TypeMethodDescriptioncheckBFFunctionExists
(BFFunctionDTO request) Can be called to know if a BF function exist.Returns all available monitroing values of the servergetBuildForSolution
(String solutionName) Return the build information of a solution that is deployed in the product on this server.getMonitoringValue
(String groupName, String valueName) Returns the current monitoring value for the given group and nameReturn information about the server that is answering this request.Return runtime information about the server that is answering this request.getRuntimeState
(RuntimeStateParmDTO runtimeStateParmDTO) Return runtime state information about the server that is answering this request.Generate Thread-DumpgetVersionForSolution
(String solutionName) Return the version information of a solution that is deployed in the product on this server.void
This method is only usefull to be called from SAP via RFC.
-
Field Details
-
AEB_XNSG_IF_RSTRFCSRV
Constant for the RFC function name for restartRFCServer()- See Also:
-
-
Method Details
-
echo
-
getMonitoringValue
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
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
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
Can be called to know if a BF function exist.- Parameters:
request
- - The function to be checked- Returns:
- result of the check
-
getRuntimeState
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
Generate Thread-Dump- Returns:
- dump of all threads
- Throws:
IOException
- thrown when writing to the output stream
-