public interface ObjectService extends SciJavaService
Modifier and Type | Method and Description |
---|---|
void |
addObject(Object obj)
Registers an object with the object service.
|
default EventService |
eventService() |
default EventService |
getEventService()
Deprecated.
Use
eventService() instead. |
ObjectIndex<Object> |
getIndex()
Gets the index of available objects.
|
<T> List<T> |
getObjects(Class<T> type)
Gets a list of all registered objects compatible with the given type.
|
void |
removeObject(Object obj)
Deregisters an object with the object service.
|
initialize, registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
default EventService eventService()
ObjectIndex<Object> getIndex()
<T> List<T> getObjects(Class<T> type)
void addObject(Object obj)
void removeObject(Object obj)
@Deprecated default EventService getEventService()
eventService()
instead.Copyright © 2009–2018 SciJava. All rights reserved.