本文整理了Java中javax.ejb.Stateful.mappedName()
方法的一些代码示例,展示了Stateful.mappedName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Stateful.mappedName()
方法的具体详情如下:
包路径:javax.ejb.Stateful
类名称:Stateful
方法名:mappedName
暂无
代码示例来源:origin: org.jboss/jboss-metadata
protected SessionBeanMetaData create(Class<?> beanClass, Stateful annotation)
{
return create(beanClass, annotation.name(), annotation.mappedName(), annotation.description());
}
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss510-metadata
protected JBossSessionBeanMetaData create(Class<?> beanClass, Stateful annotation)
{
return create(beanClass, annotation.name(), annotation.mappedName(), annotation.description());
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss510-metadata
protected SessionBeanMetaData create(Class<?> beanClass, Stateful annotation)
{
return create(beanClass, annotation.name(), annotation.mappedName(), annotation.description());
}
代码示例来源:origin: org.glassfish.ejb/ejb-container
/**
* Set Annotation information to Descriptor.
* This method will also be invoked for an existing descriptor with
* annotation as user may not specific a complete xml.
* @param ejbDesc
* @param ainfo
* @return HandlerProcessingResult
*/
protected HandlerProcessingResult setEjbDescriptorInfo(
EjbDescriptor ejbDesc, AnnotationInfo ainfo)
throws AnnotationProcessorException {
EjbSessionDescriptor ejbSessionDesc = (EjbSessionDescriptor)ejbDesc;
// set session bean type in case it wasn't set in a sparse ejb-jar.xml.
if( !ejbSessionDesc.isSessionTypeSet() ) {
ejbSessionDesc.setSessionType(EjbSessionDescriptor.STATEFUL);
}
Stateful sful = (Stateful) ainfo.getAnnotation();
doDescriptionProcessing(sful.description(), ejbDesc);
doMappedNameProcessing(sful.mappedName(), ejbDesc);
return setBusinessAndHomeInterfaces(ejbDesc, ainfo);
}
}
代码示例来源:origin: org.apache.geronimo.ext.openejb/openejb-core
if (stateful.mappedName() != null) {
sessionBean.setMappedName(stateful.mappedName());
代码示例来源:origin: org.glassfish.main.ejb/ejb-container
doMappedNameProcessing(sful.mappedName(), ejbDesc);
代码示例来源:origin: org.apache.openejb/openejb-core
if (stateful.mappedName() != null) {
sessionBean.setMappedName(stateful.mappedName());
代码示例来源:origin: org.apache.tomee/openejb-core
if (stateful.mappedName() != null) {
sessionBean.setMappedName(stateful.mappedName());
内容来源于网络,如有侵权,请联系作者删除!