PHP Class AppserverIo\Appserver\PersistenceContainer\TimerServiceRegistry

Inheritance: extends AppserverIo\Appserver\PersistenceContainer\ServiceRegistry, implements AppserverIo\Psr\EnterpriseBeans\TimerServiceContextInterface
Afficher le fichier Open project: appserver-io/appserver Class Usage Examples

Protected Properties

Свойство Type Description
$calendarTimerFactory AppserverIo\Appserver\PersistenceContainer\CalendarTimerFactoryInterface The calendar timer factory.
$timerFactory AppserverIo\Appserver\PersistenceContainer\TimerFactoryInterface The timer factory.
$timerServiceExecutor AppserverIo\Psr\EnterpriseBeans\ServiceExecutorInterface The timer service executor.

Méthodes publiques

Méthode Description
getCalendarTimerFactory ( ) : AppserverIo\Appserver\PersistenceContainer\CalendarTimerFactoryInterface Returns the calendar timer factory for the timer service registry.
getIdentifier ( ) : string Initializes the manager instance.
getTimerFactory ( ) : AppserverIo\Appserver\PersistenceContainer\TimerFactoryInterface Returns the timer factory for the timer service registry.
getTimerServiceExecutor ( ) : AppserverIo\Psr\EnterpriseBeans\ServiceExecutorInterface Returns the service executor for the timer service registry.
initialize ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void Has been automatically invoked by the container after the application instance has been created.
injectCalendarTimerFactory ( AppserverIo\Appserver\PersistenceContainer\CalendarTimerFactoryInterface $calendarTimerFactory ) : void Injects the calendar timer factory for the timer service registry.
injectTimerFactory ( AppserverIo\Appserver\PersistenceContainer\TimerFactoryInterface $timerFactory ) : void Injects the timer factory for the timer service registry.
injectTimerServiceExecutor ( AppserverIo\Psr\EnterpriseBeans\ServiceExecutorInterface $timerServiceExecutor ) : void Injects the service executor for the timer service registry.
register ( AppserverIo\Psr\EnterpriseBeans\ServiceProviderInterface $instance ) : void Attaches the passed service, to the context.
stop ( ) : void Shutdown the session manager instance.

Method Details

getCalendarTimerFactory() public méthode

Returns the calendar timer factory for the timer service registry.
public getCalendarTimerFactory ( ) : AppserverIo\Appserver\PersistenceContainer\CalendarTimerFactoryInterface
Résultat AppserverIo\Appserver\PersistenceContainer\CalendarTimerFactoryInterface The calendar timer factory instance

getIdentifier() public méthode

Initializes the manager instance.
See also: AppserverIo\Psr\Application\ManagerInterface::initialize()
public getIdentifier ( ) : string
Résultat string

getTimerFactory() public méthode

Returns the timer factory for the timer service registry.
public getTimerFactory ( ) : AppserverIo\Appserver\PersistenceContainer\TimerFactoryInterface
Résultat AppserverIo\Appserver\PersistenceContainer\TimerFactoryInterface The timer factory instance

getTimerServiceExecutor() public méthode

Returns the service executor for the timer service registry.
public getTimerServiceExecutor ( ) : AppserverIo\Psr\EnterpriseBeans\ServiceExecutorInterface
Résultat AppserverIo\Psr\EnterpriseBeans\ServiceExecutorInterface The timer service executor instance

initialize() public méthode

Has been automatically invoked by the container after the application instance has been created.
See also: AppserverIo\Psr\Application\ManagerInterface::initialize()
public initialize ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void
$application AppserverIo\Psr\Application\ApplicationInterface The application instance
Résultat void

injectCalendarTimerFactory() public méthode

Injects the calendar timer factory for the timer service registry.
public injectCalendarTimerFactory ( AppserverIo\Appserver\PersistenceContainer\CalendarTimerFactoryInterface $calendarTimerFactory ) : void
$calendarTimerFactory AppserverIo\Appserver\PersistenceContainer\CalendarTimerFactoryInterface The calendar timer factory
Résultat void

injectTimerFactory() public méthode

Injects the timer factory for the timer service registry.
public injectTimerFactory ( AppserverIo\Appserver\PersistenceContainer\TimerFactoryInterface $timerFactory ) : void
$timerFactory AppserverIo\Appserver\PersistenceContainer\TimerFactoryInterface The timer factory
Résultat void

injectTimerServiceExecutor() public méthode

Injects the service executor for the timer service registry.
public injectTimerServiceExecutor ( AppserverIo\Psr\EnterpriseBeans\ServiceExecutorInterface $timerServiceExecutor ) : void
$timerServiceExecutor AppserverIo\Psr\EnterpriseBeans\ServiceExecutorInterface The service executor
Résultat void

register() public méthode

Attaches the passed service, to the context.
public register ( AppserverIo\Psr\EnterpriseBeans\ServiceProviderInterface $instance ) : void
$instance AppserverIo\Psr\EnterpriseBeans\ServiceProviderInterface The service instance to attach
Résultat void

stop() public méthode

Shutdown the session manager instance.
public stop ( ) : void
Résultat void \AppserverIo\Psr\Application\ManagerInterface::stop()

Property Details

$calendarTimerFactory protected_oe property

The calendar timer factory.
protected CalendarTimerFactoryInterface,AppserverIo\Appserver\PersistenceContainer $calendarTimerFactory
Résultat AppserverIo\Appserver\PersistenceContainer\CalendarTimerFactoryInterface

$timerFactory protected_oe property

The timer factory.
protected TimerFactoryInterface,AppserverIo\Appserver\PersistenceContainer $timerFactory
Résultat AppserverIo\Appserver\PersistenceContainer\TimerFactoryInterface

$timerServiceExecutor protected_oe property

The timer service executor.
protected ServiceExecutorInterface,AppserverIo\Psr\EnterpriseBeans $timerServiceExecutor
Résultat AppserverIo\Psr\EnterpriseBeans\ServiceExecutorInterface