org.apache.falcon.service
Class Services

java.lang.Object
  extended by org.apache.falcon.service.Services
All Implemented Interfaces:
Iterable<FalconService>

public final class Services
extends Object
implements Iterable<FalconService>

Repository of services initialized at startup.


Method Summary
static Services get()
           
<T extends FalconService>
T
getService(String serviceName)
           
 FalconService init(String serviceName)
           
 boolean isRegistered(String serviceName)
           
 Iterator<FalconService> iterator()
           
 void register(FalconService service)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static Services get()

register

public void register(FalconService service)
              throws FalconException
Throws:
FalconException

getService

public <T extends FalconService> T getService(String serviceName)

isRegistered

public boolean isRegistered(String serviceName)

iterator

public Iterator<FalconService> iterator()
Specified by:
iterator in interface Iterable<FalconService>

init

public FalconService init(String serviceName)
                   throws FalconException
Throws:
FalconException

reset

public void reset()


Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.