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, getJndiNamepublic 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
InjectionSourcegetResourceValue in class InjectionSourcecontext - 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 ResourceDefinitionInjectionSourcepublic int hashCode()
hashCode in class ResourceDefinitionInjectionSourceCopyright © 2021 JBoss by Red Hat. All rights reserved.