本文整理了Java中javax.ejb.EJB.description()
方法的一些代码示例,展示了EJB.description()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。EJB.description()
方法的具体详情如下:
包路径:javax.ejb.EJB
类名称:EJB
方法名:description
暂无
代码示例来源:origin: org.wicketstuff/javaee-inject
&& field.getAnnotation(EJB.class).description().equals("stateful")
|| field.getType().isAnnotationPresent(Stateful.class))) {
代码示例来源:origin: org.wicketstuff/wicketstuff-javaee-inject
field.getAnnotation(EJB.class).description().equals("stateful") || field.getType()
.isAnnotationPresent(Stateful.class)))
代码示例来源:origin: org.apache.geronimo.modules/geronimo-j2ee-builder
String descriptionAnnotation = annotation.description();
if (!descriptionAnnotation.isEmpty()) {
ejbLocalRef.setDescriptions(new Text[] {new Text(null, descriptionAnnotation)});
String descriptionAnnotation = annotation.description();
if (!descriptionAnnotation.isEmpty()) {
ejbRef.setDescriptions(new Text[] {new Text(null, descriptionAnnotation) });
String descriptionAnnotation = annotation.description();
if (!descriptionAnnotation.isEmpty()) {
ejbRef.setDescriptions(new Text[] {new Text(null, descriptionAnnotation) });
代码示例来源:origin: org.jboss/jboss-metadata
protected AnnotatedEJBReferenceMetaData createEJB(EJB annotation, E element)
{
AnnotatedEJBReferenceMetaData ref = new AnnotatedEJBReferenceMetaData();
if(annotation.name().length() > 0)
ref.setEjbRefName(annotation.name());
else
ref.setEjbRefName(getName(element));
if(annotation.beanInterface() != Object.class)
ref.setBeanInterface(annotation.beanInterface());
else
ref.setBeanInterface(getType(element));
if(annotation.description().length() > 0)
{
DescriptionImpl description = new DescriptionImpl();
description.setDescription(annotation.description());
DescriptionsImpl descriptions = new DescriptionsImpl();
descriptions.add(description);
ref.setDescriptions(descriptions);
}
if(annotation.beanName().length() > 0)
ref.setLink(annotation.beanName());
if(annotation.mappedName().length() > 0)
ref.setMappedName(annotation.mappedName());
return ref;
}
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss510-metadata
protected AnnotatedEJBReferenceMetaData createEJB(EJB annotation, E element)
{
AnnotatedEJBReferenceMetaData ref = new AnnotatedEJBReferenceMetaData();
if(annotation.name().length() > 0)
ref.setEjbRefName(annotation.name());
else
ref.setEjbRefName(getName(element));
if(annotation.beanInterface() != Object.class)
ref.setBeanInterface(annotation.beanInterface());
else
ref.setBeanInterface(getType(element));
if(annotation.description().length() > 0)
{
DescriptionImpl description = new DescriptionImpl();
description.setDescription(annotation.description());
DescriptionsImpl descriptions = new DescriptionsImpl();
descriptions.add(description);
ref.setDescriptions(descriptions);
}
if(annotation.beanName().length() > 0)
ref.setLink(annotation.beanName());
if(annotation.mappedName().length() > 0)
ref.setMappedName(annotation.mappedName());
String name = ProcessorUtils.getName(element);
Set<ResourceInjectionTargetMetaData> injectionTargets = ProcessorUtils.getInjectionTargets(name, element);
if(injectionTargets != null)
ref.setInjectionTargets(injectionTargets);
return ref;
}
代码示例来源:origin: org.glassfish.ejb/ejb-container
if (!ok(ejbRef.getDescription()) && ok(ejbAn.description()))
ejbRef.setDescription(ejbAn.description());
代码示例来源:origin: org.glassfish.main.ejb/ejb-container
if (!ok(ejbRef.getDescription()) && ok(ejbAn.description()))
ejbRef.setDescription(ejbAn.description());
内容来源于网络,如有侵权,请联系作者删除!