PHP Class AppserverIo\Appserver\PersistenceContainer\TimerServiceRegistry

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

Protected Properties

Property 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.

Public Methods

Method 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 method

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

getIdentifier() public method

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

getTimerFactory() public method

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

getTimerServiceExecutor() public method

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

initialize() public method

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
return void

injectCalendarTimerFactory() public method

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
return void

injectTimerFactory() public method

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
return void

injectTimerServiceExecutor() public method

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
return void

register() public method

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
return void

stop() public method

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

Property Details

$calendarTimerFactory protected property

The calendar timer factory.
protected CalendarTimerFactoryInterface,AppserverIo\Appserver\PersistenceContainer $calendarTimerFactory
return AppserverIo\Appserver\PersistenceContainer\CalendarTimerFactoryInterface

$timerFactory protected property

The timer factory.
protected TimerFactoryInterface,AppserverIo\Appserver\PersistenceContainer $timerFactory
return AppserverIo\Appserver\PersistenceContainer\TimerFactoryInterface

$timerServiceExecutor protected property

The timer service executor.
protected ServiceExecutorInterface,AppserverIo\Psr\EnterpriseBeans $timerServiceExecutor
return AppserverIo\Psr\EnterpriseBeans\ServiceExecutorInterface