- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.eclipse.persistence.platform.xml.XMLPlatformFactory.getXMLPlatformClass()
方法的一些代码示例,展示了XMLPlatformFactory.getXMLPlatformClass()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XMLPlatformFactory.getXMLPlatformClass()
方法的具体详情如下:
包路径:org.eclipse.persistence.platform.xml.XMLPlatformFactory
类名称:XMLPlatformFactory
方法名:getXMLPlatformClass
[英]INTERNAL: Return the implementation class for the XMLPlatform.
[中]内部:返回XMLPlatform的实现类。
代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence
/**
* INTERNAL:
* Return the XMLPlatform based on the toplink.xml.platform System property.
* @return an instance of XMLPlatform
* @throws XMLPlatformException
*/
public XMLPlatform getXMLPlatform() throws XMLPlatformException {
try {
if (PrivilegedAccessHelper.shouldUsePrivilegedAccess()){
try{
return (XMLPlatform)AccessController.doPrivileged(new PrivilegedNewInstanceFromClass(getXMLPlatformClass()));
}catch (PrivilegedActionException ex){
throw (RuntimeException) ex.getCause();
}
}else{
return (XMLPlatform)PrivilegedAccessHelper.newInstanceFromClass(getXMLPlatformClass());
}
} catch (IllegalAccessException e) {
throw XMLPlatformException.xmlPlatformCouldNotInstantiate(getXMLPlatformClass().getName(), e);
} catch (InstantiationException e) {
throw XMLPlatformException.xmlPlatformCouldNotInstantiate(getXMLPlatformClass().getName(), e);
}
}
}
代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core
/**
* INTERNAL:
* Return the XMLPlatform based on the toplink.xml.platform System property.
* @return an instance of XMLPlatform
* @throws XMLPlatformException
*/
public XMLPlatform getXMLPlatform() throws XMLPlatformException {
try {
if (PrivilegedAccessHelper.shouldUsePrivilegedAccess()){
try{
return (XMLPlatform)AccessController.doPrivileged(new PrivilegedNewInstanceFromClass(getXMLPlatformClass()));
}catch (PrivilegedActionException ex){
throw (RuntimeException) ex.getCause();
}
}else{
return (XMLPlatform)PrivilegedAccessHelper.newInstanceFromClass(getXMLPlatformClass());
}
} catch (IllegalAccessException e) {
throw XMLPlatformException.xmlPlatformCouldNotInstantiate(getXMLPlatformClass().getName(), e);
} catch (InstantiationException e) {
throw XMLPlatformException.xmlPlatformCouldNotInstantiate(getXMLPlatformClass().getName(), e);
}
}
}
代码示例来源:origin: com.haulmont.thirdparty/eclipselink
/**
* INTERNAL:
* Return the XMLPlatform based on the toplink.xml.platform System property.
* @return an instance of XMLPlatform
* @throws XMLPlatformException
*/
public XMLPlatform getXMLPlatform() throws XMLPlatformException {
try {
if (PrivilegedAccessHelper.shouldUsePrivilegedAccess()){
try{
return (XMLPlatform)AccessController.doPrivileged(new PrivilegedNewInstanceFromClass(getXMLPlatformClass()));
}catch (PrivilegedActionException ex){
throw (RuntimeException) ex.getCause();
}
}else{
return (XMLPlatform)PrivilegedAccessHelper.newInstanceFromClass(getXMLPlatformClass());
}
} catch (IllegalAccessException e) {
throw XMLPlatformException.xmlPlatformCouldNotInstantiate(getXMLPlatformClass().getName(), e);
} catch (InstantiationException e) {
throw XMLPlatformException.xmlPlatformCouldNotInstantiate(getXMLPlatformClass().getName(), e);
}
}
}
本文整理了Java中org.eclipse.persistence.platform.xml.XMLPlatformFactory.getXMLPlatformClass()方法的一些代码示例,展示了
本文整理了Java中org.eclipse.persistence.platform.xml.XMLPlatformFactory.getXMLPlatform()方法的一些代码示例,展示了XMLPl
本文整理了Java中org.eclipse.persistence.platform.xml.XMLPlatformFactory.()方法的一些代码示例,展示了XMLPlatformFactory.
本文整理了Java中org.eclipse.persistence.platform.xml.XMLPlatformFactory.getInstance()方法的一些代码示例,展示了XMLPlatf
本文整理了Java中org.eclipse.persistence.platform.xml.XMLPlatformFactory.setXMLPlatformClass()方法的一些代码示例,展示了
我是一名优秀的程序员,十分优秀!