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 classPersistenceManagerFactoryResource.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.StringgetFactoryClass()Gets the value of the factoryClass property.StringgetIdentity()StringgetJdbcResourceJndiName()Gets the value of the jdbcResourceJndiName property.List<Property>getProperty()Properties as perorg.glassfish.api.admin.config.PropertyBagvoidsetDescription(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.voidsetJdbcResourceJndiName(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:
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 perorg.glassfish.api.admin.config.PropertyBag- Specified by:
getPropertyin interfacePropertyBag- Returns:
- the property list
-
getIdentity
@DuckTyped String getIdentity()
- Specified by:
getIdentityin interfaceBindableResource- Specified by:
getIdentityin interfaceResource
-
-