当前位置: 首页>>代码示例>>Java>>正文


Java ProxyUtil.newProxyInstance方法代码示例

本文整理汇总了Java中com.liferay.portal.kernel.util.ProxyUtil.newProxyInstance方法的典型用法代码示例。如果您正苦于以下问题:Java ProxyUtil.newProxyInstance方法的具体用法?Java ProxyUtil.newProxyInstance怎么用?Java ProxyUtil.newProxyInstance使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.liferay.portal.kernel.util.ProxyUtil的用法示例。


在下文中一共展示了ProxyUtil.newProxyInstance方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: toEscapedModel

import com.liferay.portal.kernel.util.ProxyUtil; //导入方法依赖的package包/类
@Override
public Region toEscapedModel() {
	if (_escapedModel == null) {
		_escapedModel = (Region)ProxyUtil.newProxyInstance(_classLoader,
				_escapedModelInterfaces, new AutoEscapeBeanHandler(this));
	}

	return _escapedModel;
}
 
开发者ID:liferay,项目名称:liferay-blade-samples,代码行数:10,代码来源:RegionModelImpl.java

示例2: toEscapedModel

import com.liferay.portal.kernel.util.ProxyUtil; //导入方法依赖的package包/类
@Override
public Country toEscapedModel() {
	if (_escapedModel == null) {
		_escapedModel = (Country)ProxyUtil.newProxyInstance(_classLoader,
				_escapedModelInterfaces, new AutoEscapeBeanHandler(this));
	}

	return _escapedModel;
}
 
开发者ID:liferay,项目名称:liferay-blade-samples,代码行数:10,代码来源:CountryModelImpl.java

示例3: toEscapedModel

import com.liferay.portal.kernel.util.ProxyUtil; //导入方法依赖的package包/类
@Override
public Foo toEscapedModel() {
	if (_escapedModel == null) {
		_escapedModel = (Foo)ProxyUtil.newProxyInstance(_classLoader,
				_escapedModelInterfaces, new AutoEscapeBeanHandler(this));
	}

	return _escapedModel;
}
 
开发者ID:liferay,项目名称:liferay-blade-samples,代码行数:10,代码来源:FooModelImpl.java

示例4: toEscapedModel

import com.liferay.portal.kernel.util.ProxyUtil; //导入方法依赖的package包/类
@Override
public AppRole toEscapedModel() {
	if (_escapedModel == null) {
		_escapedModel = (AppRole)ProxyUtil.newProxyInstance(_classLoader,
				_escapedModelInterfaces, new AutoEscapeBeanHandler(this));
	}

	return _escapedModel;
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:10,代码来源:AppRoleModelImpl.java

示例5: toEscapedModel

import com.liferay.portal.kernel.util.ProxyUtil; //导入方法依赖的package包/类
@Override
public EbMessage toEscapedModel() {
	if (_escapedModel == null) {
		_escapedModel = (EbMessage)ProxyUtil.newProxyInstance(_classLoader,
				_escapedModelInterfaces, new AutoEscapeBeanHandler(this));
	}

	return _escapedModel;
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:10,代码来源:EbMessageModelImpl.java

示例6: toEscapedModel

import com.liferay.portal.kernel.util.ProxyUtil; //导入方法依赖的package包/类
@Override
public LearningActivity toEscapedModel() {
	if (_escapedModelProxy == null) {
		_escapedModelProxy = (LearningActivity)ProxyUtil.newProxyInstance(_classLoader,
				_escapedModelProxyInterfaces,
				new AutoEscapeBeanHandler(this));
	}

	return _escapedModelProxy;
}
 
开发者ID:TelefonicaED,项目名称:liferaylms-portlet,代码行数:11,代码来源:LearningActivityModelImpl.java

示例7: toEscapedModel

import com.liferay.portal.kernel.util.ProxyUtil; //导入方法依赖的package包/类
@Override
public DictAttribute toEscapedModel() {
	if (_escapedModel == null) {
		_escapedModel = (DictAttribute)ProxyUtil.newProxyInstance(_classLoader,
				_escapedModelInterfaces, new AutoEscapeBeanHandler(this));
	}

	return _escapedModel;
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:10,代码来源:DictAttributeModelImpl.java

示例8: toEscapedModel

import com.liferay.portal.kernel.util.ProxyUtil; //导入方法依赖的package包/类
@Override
public CourseResult toEscapedModel() {
	if (_escapedModelProxy == null) {
		_escapedModelProxy = (CourseResult)ProxyUtil.newProxyInstance(_classLoader,
				_escapedModelProxyInterfaces,
				new AutoEscapeBeanHandler(this));
	}

	return _escapedModelProxy;
}
 
开发者ID:TelefonicaED,项目名称:liferaylms-portlet,代码行数:11,代码来源:CourseResultModelImpl.java

示例9: toEscapedModel

import com.liferay.portal.kernel.util.ProxyUtil; //导入方法依赖的package包/类
@Override
public SubAccount toEscapedModel() {
	if (_escapedModel == null) {
		_escapedModel = (SubAccount)ProxyUtil.newProxyInstance(_classLoader,
				_escapedModelInterfaces, new AutoEscapeBeanHandler(this));
	}

	return _escapedModel;
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:10,代码来源:SubAccountModelImpl.java

示例10: toEscapedModel

import com.liferay.portal.kernel.util.ProxyUtil; //导入方法依赖的package包/类
@Override
public DossierTag toEscapedModel() {
	if (_escapedModel == null) {
		_escapedModel = (DossierTag)ProxyUtil.newProxyInstance(_classLoader,
				_escapedModelInterfaces, new AutoEscapeBeanHandler(this));
	}

	return _escapedModel;
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:10,代码来源:DossierTagModelImpl.java

示例11: toEscapedModel

import com.liferay.portal.kernel.util.ProxyUtil; //导入方法依赖的package包/类
@Override
public DictCollection toEscapedModel() {
	if (_escapedModel == null) {
		_escapedModel = (DictCollection)ProxyUtil.newProxyInstance(_classLoader,
				_escapedModelInterfaces, new AutoEscapeBeanHandler(this));
	}

	return _escapedModel;
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:10,代码来源:DictCollectionModelImpl.java

示例12: toEscapedModel

import com.liferay.portal.kernel.util.ProxyUtil; //导入方法依赖的package包/类
@Override
public ProcessOrder2User toEscapedModel() {
	return (ProcessOrder2User)ProxyUtil.newProxyInstance(ProcessOrder2User.class.getClassLoader(),
		new Class[] { ProcessOrder2User.class },
		new AutoEscapeBeanHandler(this));
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:7,代码来源:ProcessOrder2UserClp.java

示例13: toEscapedModel

import com.liferay.portal.kernel.util.ProxyUtil; //导入方法依赖的package包/类
@Override
public DossierStep2Role toEscapedModel() {
	return (DossierStep2Role)ProxyUtil.newProxyInstance(DossierStep2Role.class.getClassLoader(),
		new Class[] { DossierStep2Role.class },
		new AutoEscapeBeanHandler(this));
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:7,代码来源:DossierStep2RoleClp.java

示例14: toEscapedModel

import com.liferay.portal.kernel.util.ProxyUtil; //导入方法依赖的package包/类
@Override
public DossierProcess toEscapedModel() {
	return (DossierProcess)ProxyUtil.newProxyInstance(DossierProcess.class.getClassLoader(),
		new Class[] { DossierProcess.class },
		new AutoEscapeBeanHandler(this));
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:7,代码来源:DossierProcessClp.java

示例15: toEscapedModel

import com.liferay.portal.kernel.util.ProxyUtil; //导入方法依赖的package包/类
@Override
public DictCollection toEscapedModel() {
	return (DictCollection)ProxyUtil.newProxyInstance(DictCollection.class.getClassLoader(),
		new Class[] { DictCollection.class },
		new AutoEscapeBeanHandler(this));
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:7,代码来源:DictCollectionClp.java


注:本文中的com.liferay.portal.kernel.util.ProxyUtil.newProxyInstance方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。