public class DirectAdministeredObjectInjectionSource extends InjectionSource
InjectionSource.ResolutionContext
Modifier and Type | Field and Description |
---|---|
static String |
DESCRIPTION |
static String |
INTERFACE |
static String |
PROPERTIES |
Constructor and Description |
---|
DirectAdministeredObjectInjectionSource(String jndiName,
String className,
String resourceAdapter) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDescription() |
String |
getInterface() |
String[] |
getProperties() |
void |
getResourceValue(InjectionSource.ResolutionContext context,
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() |
void |
setDescription(String description) |
void |
setInterface(String interfaceName) |
void |
setProperties(String[] properties) |
public static final String DESCRIPTION
public static final String INTERFACE
public static final String PROPERTIES
public void getResourceValue(InjectionSource.ResolutionContext context, org.jboss.msc.service.ServiceBuilder<?> serviceBuilder, DeploymentPhaseContext phaseContext, org.jboss.msc.inject.Injector<ManagedReferenceFactory> injector) throws DeploymentUnitProcessingException
InjectionSource
getResourceValue
in class InjectionSource
context
- 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 occurspublic String getDescription()
public void setDescription(String description)
public String getInterface()
public void setInterface(String interfaceName)
public String[] getProperties()
public void setProperties(String[] properties)
Copyright © 2015 JBoss by Red Hat. All rights reserved.