作者:书友60614683 | 来源:互联网 | 2023-10-13 23:52
本文整理了Java中org.osgi.service.blueprint.reflect.BeanMetadata.getDependsOn()方法的一些代码示例,展示
本文整理了Java中org.osgi.service.blueprint.reflect.BeanMetadata.getDependsOn()
方法的一些代码示例,展示了BeanMetadata.getDependsOn()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。BeanMetadata.getDependsOn()
方法的具体详情如下:
包路径:org.osgi.service.blueprint.reflect.BeanMetadata
类名称:BeanMetadata
方法名:getDependsOn
暂无
代码示例
代码示例来源:origin: org.apache.geronimo.blueprint/geronimo-blueprint-core
for (String name : beanMetadata.getDependsOn()) {
deps.add(new RefRecipe(getName(null), name));
代码示例来源:origin: org.apache.geronimo.blueprint/geronimo-blueprint-core
public BeanMetadataImpl(BeanMetadata source) {
super(source);
this.className = source.getClassName();
this.initMethod = source.getInitMethod();
this.destroyMethod = source.getDestroyMethod();
for (BeanArgument argument : source.getArguments()) {
addArgument(new BeanArgumentImpl(argument));
}
for (BeanProperty property : source.getProperties()) {
addProperty(new BeanPropertyImpl(property));
}
this.initialization = source.getActivation();
this.factoryMethod = source.getFactoryMethod();
this.factoryCompOnent= MetadataUtil.cloneTarget(source.getFactoryComponent());
this.scope = source.getScope();
this.dependsOn = new ArrayList(source.getDependsOn());
if (source instanceof ExtendedBeanMetadata) {
this.runtimeClass = ((ExtendedBeanMetadata) source).getRuntimeClass();
}
}
代码示例来源:origin: org.apache.aries.blueprint/blueprint-parser
public BeanMetadataImpl(BeanMetadata source) {
super(source);
this.className = source.getClassName();
this.initMethod = source.getInitMethod();
this.destroyMethod = source.getDestroyMethod();
for (BeanArgument argument : source.getArguments()) {
addArgument(new BeanArgumentImpl(argument));
}
for (BeanProperty property : source.getProperties()) {
addProperty(new BeanPropertyImpl(property));
}
this.initialization = source.getActivation();
this.factoryMethod = source.getFactoryMethod();
this.factoryCompOnent= MetadataUtil.cloneTarget(source.getFactoryComponent());
this.scope = source.getScope() != null ? QName.valueOf(source.getScope()) : null;
this.dependsOn = new ArrayList(source.getDependsOn());
if (source instanceof ExtendedBeanMetadata) {
this.runtimeClass = ((ExtendedBeanMetadata) source).getRuntimeClass();
this.fieldInjection = ((ExtendedBeanMetadata) source).getFieldInjection();
this.rawCOnversion= ((ExtendedBeanMetadata) source).getRawConversion();
this.nOnStandardSetters= ((ExtendedBeanMetadata) source).getNonStandardSetters();
} else {
this.fieldInjection = false;
this.rawCOnversion= false;
this.nOnStandardSetters= false;
}
}
代码示例来源:origin: apache/aries
public BeanMetadataImpl(BeanMetadata source) {
super(source);
this.className = source.getClassName();
this.initMethod = source.getInitMethod();
this.destroyMethod = source.getDestroyMethod();
for (BeanArgument argument : source.getArguments()) {
addArgument(new BeanArgumentImpl(argument));
}
for (BeanProperty property : source.getProperties()) {
addProperty(new BeanPropertyImpl(property));
}
this.initialization = source.getActivation();
this.factoryMethod = source.getFactoryMethod();
this.factoryCompOnent= MetadataUtil.cloneTarget(source.getFactoryComponent());
this.scope = source.getScope() != null ? QName.valueOf(source.getScope()) : null;
this.dependsOn = new ArrayList(source.getDependsOn());
if (source instanceof ExtendedBeanMetadata) {
this.runtimeClass = ((ExtendedBeanMetadata) source).getRuntimeClass();
this.fieldInjection = ((ExtendedBeanMetadata) source).getFieldInjection();
this.rawCOnversion= ((ExtendedBeanMetadata) source).getRawConversion();
this.nOnStandardSetters= ((ExtendedBeanMetadata) source).getNonStandardSetters();
} else {
this.fieldInjection = false;
this.rawCOnversion= false;
this.nOnStandardSetters= false;
}
}