com.sun.enterprise.config.serverbeans
Interface PersistenceManagerFactoryResource

All Superinterfaces:
BindableResource, org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, javax.validation.Payload, org.jvnet.hk2.config.types.PropertyBag, Resource

public interface PersistenceManagerFactoryResource
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, Resource, org.jvnet.hk2.config.types.PropertyBag, BindableResource

Persistence Manager runtime configuration


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
org.jvnet.hk2.config.types.PropertyBag.Duck
 
Method Summary
 java.lang.String getDescription()
          Gets the value of the description property.
 java.lang.String getEnabled()
          Gets the value of the enabled property.
 java.lang.String getFactoryClass()
          Gets the value of the factoryClass property.
 java.lang.String getJdbcResourceJndiName()
          Gets the value of the jdbcResourceJndiName property.
 java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
          Properties as per PropertyBag
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setEnabled(java.lang.String value)
          Sets the value of the enabled property.
 void setFactoryClass(java.lang.String value)
          Sets the value of the factoryClass property.
 void setJdbcResourceJndiName(java.lang.String value)
          Sets the value of the jdbcResourceJndiName property.
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
getProperty, getPropertyValue, getPropertyValue
 
Methods inherited from interface com.sun.enterprise.config.serverbeans.BindableResource
getJndiName, setJndiName
 
Methods inherited from interface com.sun.enterprise.config.serverbeans.Resource
getObjectType, setObjectType
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 

Method Detail

getFactoryClass

java.lang.String getFactoryClass()
Gets the value of the factoryClass property. Class that creates persistence manager instance

Returns:
possible object is String

setFactoryClass

void setFactoryClass(java.lang.String value)
                     throws java.beans.PropertyVetoException
Sets the value of the factoryClass property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getJdbcResourceJndiName

java.lang.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(java.lang.String value)
                             throws java.beans.PropertyVetoException
Sets the value of the jdbcResourceJndiName property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getEnabled

java.lang.String getEnabled()
Gets the value of the enabled property.

Specified by:
getEnabled in interface BindableResource
Returns:
possible object is String

setEnabled

void setEnabled(java.lang.String value)
                throws java.beans.PropertyVetoException
Sets the value of the enabled property.

Specified by:
setEnabled in interface BindableResource
Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getDescription

java.lang.String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

void setDescription(java.lang.String value)
                    throws java.beans.PropertyVetoException
Sets the value of the description property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getProperty

@ToDo(priority=IMPORTANT,
      details="Provide PropertyDesc for legal props")
@PropertiesDesc(props={})
java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
Properties as per PropertyBag

Specified by:
getProperty in interface org.jvnet.hk2.config.types.PropertyBag


Copyright © 2012 GlassFish Community. All Rights Reserved.