本文整理了Java中org.osoa.sca.annotations.Reference.<init>
方法的一些代码示例,展示了Reference.<init>
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Reference.<init>
方法的具体详情如下:
包路径:org.osoa.sca.annotations.Reference
类名称:Reference
方法名:<init>
暂无
代码示例来源:origin: org.codehaus.fabric3/fabric3-messaging-jxta
/**
* Injected discovery service to be used.
*
* @param discoveryService Discovery service..
*/
@Reference
public void setDiscoveryService(DiscoveryService discoveryService) {
this.discoveryService = discoveryService;
}
代码示例来源:origin: com.ptteng/keeper-admin-core
@Reference
public void setRoleService(RoleService roleService) {
this.roleService = roleService;
}
代码示例来源:origin: com.ptteng/keeper-admin-core
@Reference
public void setModuleService(ModuleService moduleService) {
this.moduleService = moduleService;
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-binding-ws-axis2
public F3ConfiguratorImpl(@Reference WorkScheduler scheduler, @Reference HostInfo info) {
this.scheduler = scheduler;
this.info = info;
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-extension
/**
* Constructor specifies the registry to register with.
*
* @param registry the LoaderRegistry this loader should register with
*/
protected LoaderExtension(@Reference LoaderRegistry registry) {
this.registry = registry;
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-loader
public JavaInterfaceLoader(@Reference ContractProcessor contractProcessor,
@Reference IntrospectionHelper helper) {
this.contractProcessor = contractProcessor;
this.helper = helper;
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-loader
public DefinitionsLoader(@Reference XmlResourceElementLoaderRegistry elementLoaderRegistry,
@Reference Loader loader) {
this.elementLoaderRegistry = elementLoaderRegistry;
this.loaderRegistry = loader;
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-loader
public ComponentTypeLoader(@Reference LoaderRegistry registry,
@Reference(name = "property") TypeLoader<Property> propertyLoader) {
this.registry = registry;
this.propertyLoader = propertyLoader;
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-messaging-jxta
/**
* Injected JXTA service to be used.
*
* @param jxtaService JXTA service..
*/
@Reference
public void setJxtaService(JxtaService jxtaService) {
this.jxtaService = jxtaService;
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-binding-ws-axis2
public Axis2ServiceProvisionerImpl(@Reference ServletHost servletHost,
@Reference ClassLoaderRegistry classLoaderRegistry,
@Reference PolicyApplier policyApplier,
@Reference F3Configurator f3Configurator,
@Reference ExpressionExpander expander,
@Monitor ServiceProvisionerMonitor monitor) {
this.servletHost = servletHost;
this.classLoaderRegistry = classLoaderRegistry;
this.policyApplier = policyApplier;
this.f3Configurator = f3Configurator;
this.expander = expander;
this.monitor = monitor;
}
代码示例来源:origin: org.codehaus.fabric3.standalone/fabric3-standalone-admin
public DistributedDomainMBean(@Reference(name = "domain") Domain domain,
@Reference MetaDataStore store,
@Reference(name = "lcm") LogicalComponentManager lcm,
@Reference HostInfo info,
@Monitor DomainMBeanMonitor monitor) {
super(domain, store, lcm, info, monitor);
}
代码示例来源:origin: org.codehaus.fabric3.tomcat/fabric3-tomcat-extension
public TomcatWebApplicationActivator(@Reference ConnectorService connectorService,
@Reference ClassLoaderRegistry registry,
@Reference ContributionResolver resolver,
@Monitor ActivatorMonitor monitor) {
this.connectorService = connectorService;
this.classLoaderRegistry = registry;
this.resolver = resolver;
this.monitor = monitor;
}
代码示例来源:origin: org.codehaus.fabric3.standalone/fabric3-standalone-admin
public ContributionServiceMBean(@Reference ServletHost servletHost,
@Reference ContributionService contributionService,
@Reference MetaDataStore metaDataStore,
@Monitor ContributionServiceMBeanMonitor monitor) {
this.servletHost = servletHost;
this.contributionService = contributionService;
this.metaDataStore = metaDataStore;
this.monitor = monitor;
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-loader
/**
* Constructor.
*
* @param registry the loader registry
* @param store optional MetaDataStore used to resolve resources reference to by their symbolic name
*/
@Constructor
public IncludeLoader(@Reference LoaderRegistry registry, @Reference(required = false) MetaDataStore store) {
super(registry);
this.store = store;
}
代码示例来源:origin: org.ow2.frascati/frascati-assembly-factory
/**
* Map of the Implementation plugins indexed by name.
*/
@Reference(name = "implementations")
public final void setImplementations(List<Processor<Implementation>> implementationProcessors) {
this.setProcessors(implementationProcessors);
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-maven
/**
* @param hostInfo
* @Deprecated JFM FIXME remove when properties work
*/
@Constructor
public MavenArtifactRepository(@Reference HostInfo hostInfo) {
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-marshal-xstream
public XStreamMarshalService(@Reference XStreamFactory factory) {
xStream = factory.createInstance();
staxDriver = new ClassLoaderStaxDriver(getClass().getClassLoader());
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-jpa-core
public JpaImplementationLoader(@Reference JavaImplementationProcessor implementationProcessor, @Reference JavaContractProcessor contractProcessor) {
this.implementationProcessor = implementationProcessor;
IntrospectionContext context = new DefaultIntrospectionContext();
factoryServiceContract = contractProcessor.introspect(EntityManager.class, context);
assert !context.hasErrors(); // should not happen
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-jpa-core
public PersistenceContextProcessor(@Reference JavaContractProcessor contractProcessor) {
super(PersistenceContext.class);
IntrospectionContext context = new DefaultIntrospectionContext();
factoryServiceContract = contractProcessor.introspect(EntityManager.class, context);
assert !context.hasErrors(); // should not happen
}
代码示例来源:origin: org.codehaus.fabric3/fabric3-jpa-core
public PersistenceUnitProcessor(@Reference JavaContractProcessor contractProcessor) {
super(PersistenceUnit.class);
IntrospectionContext context = new DefaultIntrospectionContext();
factoryServiceContract = contractProcessor.introspect(EntityManagerFactory.class, context);
assert !context.hasErrors(); // should not happen
}
内容来源于网络,如有侵权,请联系作者删除!