本文整理了Java中org.oasisopen.sca.annotation.Reference.<init>
方法的一些代码示例,展示了Reference.<init>
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Reference.<init>
方法的具体详情如下:
包路径:org.oasisopen.sca.annotation.Reference
类名称:Reference
方法名:<init>
暂无
代码示例来源:origin: com.carecon.fabric3/fabric3-pojo
public ReflectionFactoryImpl(@Reference InstantiatorFactory instantiatorFactory,
@Reference InjectorFactory injectorFactory,
@Reference LifecycleInvokerFactory lifecycleInvokerFactory,
@Reference ServiceInvokerFactory serviceInvokerFactory,
@Reference ConsumerInvokerFactory consumerInvokerFactory) {
this.instantiatorFactory = instantiatorFactory;
this.injectorFactory = injectorFactory;
this.lifecycleInvokerFactory = lifecycleInvokerFactory;
this.serviceInvokerFactory = serviceInvokerFactory;
this.consumerInvokerFactory = consumerInvokerFactory;
}
代码示例来源:origin: com.carecon.fabric3/fabric3-java
public AbstractPojoImplementationProcessor(@Reference JavaContractProcessor contractProcessor,
@Reference JavaImplementationIntrospector introspector,
@Reference IntrospectionHelper helper) {
this.contractProcessor = contractProcessor;
this.introspector = introspector;
this.helper = helper;
}
代码示例来源:origin: com.carecon.fabric3/fabric3-java
public JavaServiceHeuristic(@Reference IntrospectionHelper helper,
@Reference JavaContractProcessor contractProcessor,
@Reference OperationPolicyIntrospector policyIntrospector) {
this.helper = helper;
this.contractProcessor = contractProcessor;
this.policyIntrospector = policyIntrospector;
}
代码示例来源:origin: com.carecon.fabric3/fabric3-java
public JavaSourceWireAttacher(@Reference ComponentManager manager,
@Reference WireProxyService proxyService,
@Reference TransformerRegistry transformerRegistry) {
super(transformerRegistry);
this.manager = manager;
this.proxyService = proxyService;
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-junit
public JUnitImplementationProcessorImpl(@Reference(name = "classVisitor") ClassVisitor classVisitor,
@Reference(name = "heuristic") HeuristicProcessor heuristic,
@Reference(name = "helper") IntrospectionHelper helper) {
this.classVisitor = classVisitor;
this.heuristic = heuristic;
this.helper = helper;
}
代码示例来源:origin: org.fabric3/fabric3-federation-deployment
public ControllerRuntimeUpdateCommandExecutor(@Reference(name = "lcm") LogicalComponentManager lcm,
@Reference(name = "generator") Generator generator,
@Reference CommandExecutorRegistry executorRegistry,
@Monitor RuntimeUpdateMonitor monitor) {
this.lcm = lcm;
this.generator = generator;
this.executorRegistry = executorRegistry;
this.monitor = monitor;
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-fabric
@Constructor
public AttachChannelConnectionCommandExecutor(@Reference CommandExecutorRegistry executorRegistry, @Reference ChannelConnector connector) {
this.executorRegistry = executorRegistry;
this.connector = connector;
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-fabric
public ProducerCommandGenerator(@Reference ConnectionGenerator connectionGenerator,
@Reference ChannelCommandGenerator channelGenerator,
@Property(name = "order") int order) {
this.connectionGenerator = connectionGenerator;
this.channelGenerator = channelGenerator;
this.order = order;
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-fabric
@Constructor
public ConnectorImpl(@Reference ClassLoaderRegistry classLoaderRegistry, @Reference TransformerInterceptorFactory transformerFactory) {
this.classLoaderRegistry = classLoaderRegistry;
this.transformerFactory = transformerFactory;
transform = true;
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-transform
@Reference(required = false)
public void setFactories(List<TransformerFactory> factories) {
List<TransformerFactory> sorted = new ArrayList<TransformerFactory>(factories);
Collections.sort(sorted, COMPARATOR);
this.factories = sorted;
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-jpa-hibernate
public SystemConfigOverrideParser(@Reference LoaderRegistry loaderRegistry,
@Reference EventService eventService,
@Monitor OverrideParserMonitor monitor) {
this.loaderRegistry = loaderRegistry;
this.eventService = eventService;
this.monitor = monitor;
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-pojo
public MapBuilderImpl(@Reference TransformerRegistry registry) {
super(registry);
try {
documentBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
} catch (ParserConfigurationException e) {
throw new AssertionError(e);
}
}
代码示例来源:origin: org.fabric3/fabric3-pojo
public MapBuilderImpl(@Reference TransformerRegistry registry) {
super(registry);
try {
documentBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
} catch (ParserConfigurationException e) {
throw new AssertionError(e);
}
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-recovery
public FSDomainReplayer(@Reference(name = "domain") Domain domain,
@Reference XMLFactory xmlFactory,
@Reference HostInfo hostInfo,
@Reference EventService eventService,
@Monitor FSDomainReplayMonitor monitor) {
this.domain = domain;
this.eventService = eventService;
this.monitor = monitor;
this.inputFactory = xmlFactory.newInputFactoryInstance();
domainLog = new File(hostInfo.getDataDir(), "domain.xml");
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-pojo
@Reference(required = false)
public void setInstantiatorFactories(List<InstantiatorFactory> factories) {
for (InstantiatorFactory factory : factories) {
if (!factory.isDefault() || instantiatorFactory == null) {
instantiatorFactory = factory;
}
}
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-pojo
@Reference(required = false)
public void setLifecycleInvokerFactories(List<LifecycleInvokerFactory> factories) {
for (LifecycleInvokerFactory factory : factories) {
if (!factory.isDefault() || lifecycleInvokerFactory == null) {
lifecycleInvokerFactory = factory;
}
}
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-fabric
/**
* Lazily injects providers as they become available from runtime extensions.
*
* @param providers the set of providers
*/
@Reference(required = false)
public void setProviders(List<BindingProvider> providers) {
this.providers = providers;
orderProviders();
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-fabric
/**
* Constructor.
*
* @param wireGenerator the physical wire generator
* @param order the order for this command generator
*/
public ReferenceCommandGenerator(@Reference WireGenerator wireGenerator, @Property(name = "order") int order) {
this.wireGenerator = wireGenerator;
this.order = order;
}
代码示例来源:origin: com.carecon.fabric3/fabric3-host-api
@Reference(required = false)
public void setDestination(DestinationRouter destination) {
this.delegate = destination;
for (Entry entry : cache) {
delegate.send(entry.level, entry.destinationIndex, entry.timestamp, entry.source, entry.message, entry.parse, entry.values);
}
cache = null;
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-fabric
@Constructor
public StartContextCommandExecutor(@Reference CommandExecutorRegistry executorRegistry,
@Reference ScopeRegistry scopeRegistry,
@Reference ChannelManager channelManager,
@Monitor ContextMonitor monitor) {
this.commandExecutorRegistry = executorRegistry;
this.channelManager = channelManager;
this.compositeScopeContainer = scopeRegistry.getScopeContainer(Scope.COMPOSITE);
this.domainScopeContainer = scopeRegistry.getScopeContainer(Scope.DOMAIN);
this.monitor = monitor;
}
内容来源于网络,如有侵权,请联系作者删除!