Class AbstractDistributionService
java.lang.Object
org.opencastproject.job.api.AbstractJobProducer
org.opencastproject.distribution.api.AbstractDistributionService
- All Implemented Interfaces:
JobProducer
- Direct Known Subclasses:
AwsS3DistributionServiceImpl,DownloadDistributionServiceImpl,WowzaStreamingDistributionService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe distribution channel for this serviceprotected FilePath to the distribution directoryprotected OrganizationDirectoryServiceThe organization directory serviceprotected SecurityServiceThe security serviceprotected ServiceRegistryThe remote service registryprotected Stringthis media download service's base URLprotected TrustedHttpClientprotected UserDirectoryServiceThe user directory serviceprotected WorkspaceThe workspace referenceFields inherited from class org.opencastproject.job.api.AbstractJobProducer
ACCEPT_JOB_LOADS_EXCEEDING_PROPERTY, acceptJobLoadsExeedingMaxLoad, DEFAULT_ACCEPT_JOB_LOADS_EXCEEDING, executor, jobType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected OrganizationDirectoryServiceReturns a reference to the organization directory service.protected SecurityServiceReturns a reference to the security serviceprotected ServiceRegistryReturns a reference to the service registry.protected TrustedHttpClientprotected UserDirectoryServiceReturns a reference to the user directory servicevoidsetOrganizationDirectoryService(OrganizationDirectoryService organizationDirectory) Sets a reference to the organization directory service.voidsetSecurityService(SecurityService securityService) Callback for setting the security service.voidsetServiceRegistry(ServiceRegistry serviceRegistry) Callback for the OSGi environment to set the service registry reference.voidsetTrustedHttpClient(TrustedHttpClient httpClient) Callback for the OSGi environment to set the trusted http clientreference.voidsetUserDirectoryService(UserDirectoryService userDirectoryService) Callback for setting the user directory service.voidsetWorkspace(Workspace workspace) Callback for the OSGi environment to set the workspace reference.Methods inherited from class org.opencastproject.job.api.AbstractJobProducer
acceptJob, activate, countJobs, finallyUpdateJob, getJobType, incident, isReadyToAccept, isReadyToAcceptJobs, process
-
Field Details
-
distributionDirectory
Path to the distribution directory -
serviceUrl
this media download service's base URL -
serviceRegistry
The remote service registry -
workspace
The workspace reference -
securityService
The security service -
userDirectoryService
The user directory service -
organizationDirectoryService
The organization directory service -
trustedHttpClient
-
distributionChannel
The distribution channel for this service
-
-
Constructor Details
-
AbstractDistributionService
-
-
Method Details
-
setWorkspace
Callback for the OSGi environment to set the workspace reference.- Parameters:
workspace- the workspace
-
setServiceRegistry
Callback for the OSGi environment to set the service registry reference.- Parameters:
serviceRegistry- the service registry
-
getServiceRegistry
Returns a reference to the service registry.- Specified by:
getServiceRegistryin classAbstractJobProducer- Returns:
- the service registry
- See Also:
-
setSecurityService
Callback for setting the security service.- Parameters:
securityService- the securityService to set
-
setUserDirectoryService
Callback for setting the user directory service.- Parameters:
userDirectoryService- the userDirectoryService to set
-
setOrganizationDirectoryService
Sets a reference to the organization directory service.- Parameters:
organizationDirectory- the organization directory
-
getSecurityService
Returns a reference to the security service- Specified by:
getSecurityServicein classAbstractJobProducer- Returns:
- the security service
- See Also:
-
getUserDirectoryService
Returns a reference to the user directory service- Specified by:
getUserDirectoryServicein classAbstractJobProducer- Returns:
- the user directory service
- See Also:
-
getOrganizationDirectoryService
Returns a reference to the organization directory service.- Specified by:
getOrganizationDirectoryServicein classAbstractJobProducer- Returns:
- the organization directory service
- See Also:
-
setTrustedHttpClient
Callback for the OSGi environment to set the trusted http clientreference.- Parameters:
httpClient- the trusted http client
-
getTrustedHttpClient
-