Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F75071627
MetaDataActor.scala
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Jul 31, 05:23
Size
534 B
Mime Type
text/x-c++
Expires
Fri, Aug 2, 05:23 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
19475998
Attached To
R2664 SHRINE MedCo Fork
MetaDataActor.scala
View Options
package
net.shrine.metadata
import
akka.actor.
{
Actor
,
ActorRefFactory
,
ActorSystem
}
import
scala.concurrent.ExecutionContext
/**
* A super simple API that provides access to the MetaData section of SHRINE's configuration
*/
class
MetaDataActor
extends
Actor
with
MetaDataService
{
override
def
receive
:
Receive
=
runRoute
(
route
)
override
def
actorRefFactory
:
ActorRefFactory
=
context
override
def
system
:
ActorSystem
=
context
.
system
override
implicit
val
ec
:
ExecutionContext
=
ExecutionContext
.
Implicits
.
global
}
Event Timeline
Log In to Comment