更新时间:2023-02-22 23:35:56
您可以在运行时使用反射来检查对象的具体类型,例如应用程序注入的 EJBContext .服务器.
EJBContext
You can check the concrete type of object at runtime using reflection, e.g. the EJBContext that is injected by the app. server.
如何确定运行应用程序的Application Server的类型?
IBM Worklight - 无法在WebSphere Application Server上运行应用程序
如何确定我的应用程序是否在x86或x64 Windows上运行?
如何确定应用程序是作为移动应用程序还是桌面应用程序运行?
C ++运行时如何确定抛出的异常的类型?