Package org.glassfish.resources.config
Interface ExternalJndiResource
-
- All Superinterfaces:
BindableResource,ConfigBeanProxy,jakarta.validation.Payload,PropertyBag,Resource
@ResourceConfigCreator(commandName="create-jndi-resource") @UniqueResourceNameConstraint(message="{resourcename.isnot.unique}", payload=ExternalJndiResource.class) @ResourceTypeOrder(deploymentOrder=EXTERNALJNDI_RESOURCE) public interface ExternalJndiResource extends ConfigBeanProxy, Resource, PropertyBag, BindableResource
Resource residing in an external JNDI repository
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classExternalJndiResource.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()Gets the value of the description property.StringgetEnabled()Gets the value of the enabled property.@NotNull StringgetFactoryClass()Gets the value of the factoryClass property.StringgetIdentity()@NotNull StringgetJndiLookupName()Gets the value of the jndiLookupName property.List<Property>getProperty()Properties as perPropertyBag@NotNull StringgetResType()Gets the value of the resType property.voidsetDescription(String value)Sets the value of the description property.voidsetEnabled(String value)Sets the value of the enabled property.voidsetFactoryClass(String value)Sets the value of the factoryClass property.voidsetJndiLookupName(String value)Sets the value of the jndiLookupName property.voidsetResType(String value)Sets the value of the resType property.-
Methods inherited from interface com.sun.enterprise.config.serverbeans.BindableResource
getJndiName, setJndiName
-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Methods inherited from interface com.sun.enterprise.config.serverbeans.Resource
getDeploymentOrder, getObjectType, setDeploymentOrder, setObjectType
-
-
-
-
Method Detail
-
getJndiLookupName
@NotNull @NotNull String getJndiLookupName()
Gets the value of the jndiLookupName property.- Returns:
- possible object is
String
-
setJndiLookupName
void setJndiLookupName(String value) throws PropertyVetoException
Sets the value of the jndiLookupName property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getResType
@NotNull @NotNull String getResType()
Gets the value of the resType property.- Returns:
- possible object is
String
-
setResType
void setResType(String value) throws PropertyVetoException
Sets the value of the resType property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getFactoryClass
@NotNull @NotNull String getFactoryClass()
Gets the value of the factoryClass property.- Returns:
- possible object is
String
-
setFactoryClass
void setFactoryClass(String value) throws PropertyVetoException
Sets the value of the factoryClass property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getEnabled
String getEnabled()
Gets the value of the enabled property.- Specified by:
getEnabledin interfaceBindableResource- Returns:
- possible object is
String
-
setEnabled
void setEnabled(String value) throws PropertyVetoException
Sets the value of the enabled property.- Specified by:
setEnabledin interfaceBindableResource- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getDescription
String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
void setDescription(String value) throws PropertyVetoException
Sets the value of the description property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getProperty
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<Property> getProperty()
Properties as perPropertyBag- Specified by:
getPropertyin interfacePropertyBag- Returns:
- the property list
-
getIdentity
@DuckTyped String getIdentity()
- Specified by:
getIdentityin interfaceBindableResource- Specified by:
getIdentityin interfaceResource
-
-