Package org.glassfish.connectors.config
Interface PersistenceManagerFactoryResource
-
- All Superinterfaces:
BindableResource
,ConfigBeanProxy
,jakarta.validation.Payload
,PropertyBag
,Resource
@ResourceTypeOrder(deploymentOrder=PERSISTENCE_RESOURCE) public interface PersistenceManagerFactoryResource extends ConfigBeanProxy, Resource, PropertyBag, BindableResource
Persistence Manager runtime configuration
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PersistenceManagerFactoryResource.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescription()
Gets the value of the description property.String
getEnabled()
Gets the value of the enabled property.String
getFactoryClass()
Gets the value of the factoryClass property.String
getIdentity()
String
getJdbcResourceJndiName()
Gets the value of the jdbcResourceJndiName property.List<Property>
getProperty()
Properties as perorg.glassfish.api.admin.config.PropertyBag
void
setDescription(String value)
Sets the value of the description property.void
setEnabled(String value)
Sets the value of the enabled property.void
setFactoryClass(String value)
Sets the value of the factoryClass property.void
setJdbcResourceJndiName(String value)
Sets the value of the jdbcResourceJndiName 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
-
getFactoryClass
String getFactoryClass()
Gets the value of the factoryClass property. Class that creates persistence manager instance- 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
-
getJdbcResourceJndiName
String getJdbcResourceJndiName()
Gets the value of the jdbcResourceJndiName property. jdbc resource with which database connections are obtained- Returns:
- possible object is
String
-
setJdbcResourceJndiName
void setJdbcResourceJndiName(String value) throws PropertyVetoException
Sets the value of the jdbcResourceJndiName property.- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
-
getEnabled
String getEnabled()
Gets the value of the enabled property.- Specified by:
getEnabled
in interfaceBindableResource
- Returns:
- possible object is
String
-
setEnabled
void setEnabled(String value) throws PropertyVetoException
Sets the value of the enabled property.- Specified by:
setEnabled
in 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 perorg.glassfish.api.admin.config.PropertyBag
- Specified by:
getProperty
in interfacePropertyBag
- Returns:
- the property list
-
getIdentity
@DuckTyped String getIdentity()
- Specified by:
getIdentity
in interfaceBindableResource
- Specified by:
getIdentity
in interfaceResource
-
-