public class AdministeredObjectDefinitionInjectionSource extends ResourceDefinitionInjectionSource
InjectionSource.ResolutionContext
Modifier and Type | Field and Description |
---|---|
static String |
DESCRIPTION |
static String |
INTERFACE |
static String |
PROPERTIES |
jndiName, properties
Constructor and Description |
---|
AdministeredObjectDefinitionInjectionSource(String jndiName,
String className,
String resourceAdapter) |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String key,
String value) |
boolean |
equals(Object o) |
String |
getDescription() |
String |
getInterface() |
void |
getResourceValue(InjectionSource.ResolutionContext context,
org.jboss.msc.service.ServiceBuilder<?> serviceBuilder,
org.jboss.as.server.deployment.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) |
addProperties, addProperties, addProperties, getJndiName
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, org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext, org.jboss.msc.inject.Injector<ManagedReferenceFactory> injector) throws org.jboss.as.server.deployment.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 placedorg.jboss.as.server.deployment.DeploymentUnitProcessingException
- if an error occurspublic String getDescription()
public void setDescription(String description)
public String getInterface()
public void setInterface(String interfaceName)
public boolean equals(Object o)
equals
in class ResourceDefinitionInjectionSource
public int hashCode()
hashCode
in class ResourceDefinitionInjectionSource
Copyright © 2018 JBoss by Red Hat. All rights reserved.