Méthode | Description | |
---|---|---|
getEntityManagers ( ) : AppserverIo\Storage\GenericStackable | Returns the storage with the registered entity manager configurations. | |
getIdentifier ( ) : string | Returns the identifier for the entity manager instance. | |
getManagerSettings ( ) : AppserverIo\Appserver\PersistenceContainer\PersistenceContainerSettingsInterface | Return's the bean manager settings. | |
initialize ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void | Has been automatically invoked by the container after the application instance has been created. | |
injectEntityManagers ( AppserverIo\Storage\GenericStackable $entityManagers ) : void | Injects the storage for the entity manager configurations. | |
injectManagerSettings ( AppserverIo\Appserver\Application\Interfaces\ManagerSettingsInterface $managerSettings ) : void | Injects the bean manager settings. | |
invoke ( AppserverIo\RemoteMethodInvocation\RemoteMethodInterface $remoteMethod, AppserverIo\Collections\CollectionInterface $sessions ) : mixed | Invoke the passed remote method on the described session bean and return the result. | |
lookup ( string $lookupName ) : object | Runs a lookup for the entity manager with the passed class name. | |
lookupProxy ( string $lookupName, string $sessionId = null ) : AppserverIo\RemoteMethodInvocation\RemoteObjectInterface | This returns a proxy to the requested session bean. | |
registerEntityManager ( AppserverIo\Psr\Application\ApplicationInterface $application, AppserverIo\Appserver\Core\Api\Node\PersistenceUnitNodeInterface $persistenceUnitNode ) : void | Deploys the entity manager described by the passed XML node. | |
registerEntityManagers ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void | Registers the entity managers at startup. |
public getEntityManagers ( ) : AppserverIo\Storage\GenericStackable | ||
Résultat | AppserverIo\Storage\GenericStackable | The storage with the entity manager configurations |
public getIdentifier ( ) : string | ||
Résultat | string |
public getManagerSettings ( ) : AppserverIo\Appserver\PersistenceContainer\PersistenceContainerSettingsInterface | ||
Résultat | AppserverIo\Appserver\PersistenceContainer\PersistenceContainerSettingsInterface | The bean manager settings |
public initialize ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void | ||
$application | AppserverIo\Psr\Application\ApplicationInterface | The application instance |
Résultat | void |
public injectEntityManagers ( AppserverIo\Storage\GenericStackable $entityManagers ) : void | ||
$entityManagers | AppserverIo\Storage\GenericStackable | The storage for the entity manager configurations |
Résultat | void |
public injectManagerSettings ( AppserverIo\Appserver\Application\Interfaces\ManagerSettingsInterface $managerSettings ) : void | ||
$managerSettings | AppserverIo\Appserver\Application\Interfaces\ManagerSettingsInterface | The bean manager settings |
Résultat | void |
public invoke ( AppserverIo\RemoteMethodInvocation\RemoteMethodInterface $remoteMethod, AppserverIo\Collections\CollectionInterface $sessions ) : mixed | ||
$remoteMethod | AppserverIo\RemoteMethodInvocation\RemoteMethodInterface | The remote method description |
$sessions | AppserverIo\Collections\CollectionInterface | The collection with the sessions |
Résultat | mixed | The result of the remote method invocation |
public lookupProxy ( string $lookupName, string $sessionId = null ) : AppserverIo\RemoteMethodInvocation\RemoteObjectInterface | ||
$lookupName | string | The lookup name for the requested session bean |
$sessionId | string | The session-ID if available |
Résultat | AppserverIo\RemoteMethodInvocation\RemoteObjectInterface | The proxy instance |
public registerEntityManager ( AppserverIo\Psr\Application\ApplicationInterface $application, AppserverIo\Appserver\Core\Api\Node\PersistenceUnitNodeInterface $persistenceUnitNode ) : void | ||
$application | AppserverIo\Psr\Application\ApplicationInterface | The application instance |
$persistenceUnitNode | AppserverIo\Appserver\Core\Api\Node\PersistenceUnitNodeInterface | The XML node that describes the entity manager |
Résultat | void |
public registerEntityManagers ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void | ||
$application | AppserverIo\Psr\Application\ApplicationInterface | The application instance |
Résultat | void |