PHP 인터페이스 AppserverIo\Appserver\Core\Api\Node\PersistenceUnitNodeInterface

상속: extends AppserverIo\Configuration\Interfaces\NodeInterface
파일 보기 프로젝트 열기: appserver-io/appserver 0 사용 예제들

공개 메소드들

메소드 설명
getAnnotationRegistries ( ) : array Returns the entity managers annotation registries configuration.
getDatasource ( ) : AppserverIo\Appserver\Core\Api\Node\DatasourceNode Returns the entity manager's datasource configuration.
getDirectories ( ) : DirectoryNode[] Array with the directories.
getDirectoriesAsArray ( string $prepend = null ) : The Returns an array with the directories as string value, each prepended with the passed value.
getFactory ( ) : string Returns the entity manager's factory class name.
getInterface ( ) : string Returns the entity manager's interface.
getMetadataCacheConfiguration ( ) : AppserverIo\Appserver\Core\Api\Node\MetadataCacheConfigurationNode Returns the entity manager's metadata cache configuration.
getMetadataConfiguration ( ) : AppserverIo\Appserver\Core\Api\Node\MetadataConfigurationNode Returns the entity manager's metadata configuration.
getName ( ) : string Returns the entity manager's name.
getParam ( string $name ) : mixed Returns the param with the passed name casted to the specified type.
getParams ( ) : array Array with the handler params to use.
getParamsAsArray ( ) : array Returns the params casted to the defined type as associative array.
getQueryCacheConfiguration ( ) : AppserverIo\Appserver\Core\Api\Node\MetadataConfigurationNode Returns the entity manager's query cache configuration.
getResultCacheConfiguration ( ) : AppserverIo\Appserver\Core\Api\Node\MetadataConfigurationNode Returns the entity manager's result cache configuration.
getType ( ) : string Returns the entity manager's class name.

메소드 상세

getAnnotationRegistries() 공개 메소드

Returns the entity managers annotation registries configuration.
public getAnnotationRegistries ( ) : array
리턴 array The entity managers annotation registries configuration

getDatasource() 공개 메소드

Returns the entity manager's datasource configuration.
public getDatasource ( ) : AppserverIo\Appserver\Core\Api\Node\DatasourceNode
리턴 AppserverIo\Appserver\Core\Api\Node\DatasourceNode The entity manager's datasource configuration

getDirectories() 공개 메소드

Array with the directories.
public getDirectories ( ) : DirectoryNode[]
리턴 DirectoryNode[]

getDirectoriesAsArray() 공개 메소드

Returns an array with the directories as string value, each prepended with the passed value.
public getDirectoriesAsArray ( string $prepend = null ) : The
$prepend string Prepend to each directory
리턴 The array with the directories as string

getFactory() 공개 메소드

Returns the entity manager's factory class name.
public getFactory ( ) : string
리턴 string The entity manager's factory class name

getInterface() 공개 메소드

Returns the entity manager's interface.
public getInterface ( ) : string
리턴 string The entity manager's interface

getMetadataCacheConfiguration() 공개 메소드

Returns the entity manager's metadata cache configuration.
public getMetadataCacheConfiguration ( ) : AppserverIo\Appserver\Core\Api\Node\MetadataCacheConfigurationNode
리턴 AppserverIo\Appserver\Core\Api\Node\MetadataCacheConfigurationNode The entity manager's metadata cache configuration

getMetadataConfiguration() 공개 메소드

Returns the entity manager's metadata configuration.
public getMetadataConfiguration ( ) : AppserverIo\Appserver\Core\Api\Node\MetadataConfigurationNode
리턴 AppserverIo\Appserver\Core\Api\Node\MetadataConfigurationNode The entity manager's metadata configuration

getName() 공개 메소드

Returns the entity manager's name.
public getName ( ) : string
리턴 string The entity manager's name

getParam() 공개 메소드

Returns the param with the passed name casted to the specified type.
public getParam ( string $name ) : mixed
$name string The name of the param to be returned
리턴 mixed The requested param casted to the specified type

getParams() 공개 메소드

Array with the handler params to use.
public getParams ( ) : array
리턴 array

getParamsAsArray() 공개 메소드

Returns the params casted to the defined type as associative array.
public getParamsAsArray ( ) : array
리턴 array The array with the casted params

getQueryCacheConfiguration() 공개 메소드

Returns the entity manager's query cache configuration.
public getQueryCacheConfiguration ( ) : AppserverIo\Appserver\Core\Api\Node\MetadataConfigurationNode
리턴 AppserverIo\Appserver\Core\Api\Node\MetadataConfigurationNode The entity manager's query cache configuration

getResultCacheConfiguration() 공개 메소드

Returns the entity manager's result cache configuration.
public getResultCacheConfiguration ( ) : AppserverIo\Appserver\Core\Api\Node\MetadataConfigurationNode
리턴 AppserverIo\Appserver\Core\Api\Node\MetadataConfigurationNode The entity manager's result cache configuration

getType() 공개 메소드

Returns the entity manager's class name.
public getType ( ) : string
리턴 string The entity manager's class name