public class PersistenceUnitInjectionSource extends InjectionSource
InjectionSource.ResolutionContext
Constructor and Description |
---|
PersistenceUnitInjectionSource(org.jboss.msc.service.ServiceName puServiceName,
org.jboss.msc.service.ServiceRegistry serviceRegistry,
String injectionTypeName,
org.jipijapa.plugin.spi.PersistenceUnitMetadata pu) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
void |
getResourceValue(InjectionSource.ResolutionContext resolutionContext,
org.jboss.msc.service.ServiceBuilder<?> serviceBuilder,
DeploymentPhaseContext phaseContext,
org.jboss.msc.inject.Injector<ManagedReferenceFactory> injector)
Get the value to use as the injection source.
|
int |
hashCode() |
public PersistenceUnitInjectionSource(org.jboss.msc.service.ServiceName puServiceName, org.jboss.msc.service.ServiceRegistry serviceRegistry, String injectionTypeName, org.jipijapa.plugin.spi.PersistenceUnitMetadata pu)
public void getResourceValue(InjectionSource.ResolutionContext resolutionContext, org.jboss.msc.service.ServiceBuilder<?> serviceBuilder, DeploymentPhaseContext phaseContext, org.jboss.msc.inject.Injector<ManagedReferenceFactory> injector) throws DeploymentUnitProcessingException
InjectionSource
getResourceValue
in class InjectionSource
resolutionContext
- the resolution context to useserviceBuilder
- the builder for the binder servicephaseContext
- the deployment phase contextinjector
- the injector into which the value should be placedDeploymentUnitProcessingException
- if an error occursCopyright © 2014 JBoss by Red Hat. All rights reserved.