org.apache.falcon.service
Class Services
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.