|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagedObjectLocator
Provider interface for locating a Topic Oriented Application's 'managed' objects.
A 'managed' object is one that is of interest to the Talon server or TopicOrientedApplication
for introspection (e.g @EventHandler
or @AppCommandHandler
annotated
methods.)
It legal (though potentially inefficient) for a ManagedObjectLocator
to return
objects that end up not being of interest to the application.
A ManagedObjectLocator
may return itself as a managed object in which case
the ManagedObjectLocator
itself will be eligible to serve as an event or command
handler for the application. This may be useful, for example if the locator assumes responsibility
for cleaning up any objects it constructs.
Method Summary | |
---|---|
void |
locateManagedObjects(Set<Object> managedObjects)
Populates the set of managed objects for a TopicOrientedApplication. |
Method Detail |
---|
void locateManagedObjects(Set<Object> managedObjects) throws Exception
It is illegal to add null
objects to the set of managed objects - doing
so will caus application load to fail with an exception.
managedObjects
- The collection into which to add the service urls.
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |