PHP Класс AppserverIo\Appserver\PersistenceContainer\TimerServiceRegistry

Автор: Tim Wagner ([email protected])
Наследование: extends AppserverIo\Appserver\PersistenceContainer\ServiceRegistry, implements AppserverIo\Psr\EnterpriseBeans\TimerServiceContextInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
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.

Описание методов

getCalendarTimerFactory() публичный Метод

Returns the calendar timer factory for the timer service registry.
public getCalendarTimerFactory ( ) : AppserverIo\Appserver\PersistenceContainer\CalendarTimerFactoryInterface
Результат AppserverIo\Appserver\PersistenceContainer\CalendarTimerFactoryInterface The calendar timer factory instance

getIdentifier() публичный Метод

Initializes the manager instance.
См. также: AppserverIo\Psr\Application\ManagerInterface::initialize()
public getIdentifier ( ) : string
Результат string

getTimerFactory() публичный Метод

Returns the timer factory for the timer service registry.
public getTimerFactory ( ) : AppserverIo\Appserver\PersistenceContainer\TimerFactoryInterface
Результат AppserverIo\Appserver\PersistenceContainer\TimerFactoryInterface The timer factory instance

getTimerServiceExecutor() публичный Метод

Returns the service executor for the timer service registry.
public getTimerServiceExecutor ( ) : AppserverIo\Psr\EnterpriseBeans\ServiceExecutorInterface
Результат AppserverIo\Psr\EnterpriseBeans\ServiceExecutorInterface The timer service executor instance

initialize() публичный Метод

Has been automatically invoked by the container after the application instance has been created.
См. также: AppserverIo\Psr\Application\ManagerInterface::initialize()
public initialize ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void
$application AppserverIo\Psr\Application\ApplicationInterface The application instance
Результат void

injectCalendarTimerFactory() публичный Метод

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
Результат void

injectTimerFactory() публичный Метод

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
Результат void

injectTimerServiceExecutor() публичный Метод

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
Результат void

register() публичный Метод

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
Результат void

stop() публичный Метод

Shutdown the session manager instance.
public stop ( ) : void
Результат void \AppserverIo\Psr\Application\ManagerInterface::stop()

Описание свойств

$calendarTimerFactory защищенное свойство

The calendar timer factory.
protected CalendarTimerFactoryInterface,AppserverIo\Appserver\PersistenceContainer $calendarTimerFactory
Результат AppserverIo\Appserver\PersistenceContainer\CalendarTimerFactoryInterface

$timerFactory защищенное свойство

The timer factory.
protected TimerFactoryInterface,AppserverIo\Appserver\PersistenceContainer $timerFactory
Результат AppserverIo\Appserver\PersistenceContainer\TimerFactoryInterface

$timerServiceExecutor защищенное свойство

The timer service executor.
protected ServiceExecutorInterface,AppserverIo\Psr\EnterpriseBeans $timerServiceExecutor
Результат AppserverIo\Psr\EnterpriseBeans\ServiceExecutorInterface