org.granite.config.flex
Class ServicesConfig
java.lang.Object
org.granite.config.flex.ServicesConfig
- All Implemented Interfaces:
- ScannedItemHandler
public class ServicesConfig
- extends Object
- implements ScannedItemHandler
- Author:
- Franck WOLFF
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServicesConfig
public ServicesConfig(InputStream customConfigIs,
Configuration configuration,
boolean scan)
throws IOException,
SAXException
- Throws:
IOException
SAXException
handleMarkerItem
public boolean handleMarkerItem(ScannedItem item)
- Specified by:
handleMarkerItem in interface ScannedItemHandler
handleScannedItem
public void handleScannedItem(ScannedItem item)
- Specified by:
handleScannedItem in interface ScannedItemHandler
handleClass
public void handleClass(Class<?> clazz)
scan
public void scan(Configuration configuration)
findServiceById
public Service findServiceById(String id)
findServicesByMessageType
public List<Service> findServicesByMessageType(String messageType)
addService
public void addService(Service service)
findChannelById
public Channel findChannelById(String id)
addChannel
public void addChannel(Channel channel)
findFactoryById
public Factory findFactoryById(String id)
addFactory
public void addFactory(Factory factory)
findDestinationById
public Destination findDestinationById(String messageType,
String id)
findDestinationsByMessageType
public List<Destination> findDestinationsByMessageType(String messageType)
handleRemoveService
public void handleRemoveService(Class<?> clazz)
- Remove service (new addings for osgi).
- Parameters:
clazz - service class.