|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.red5.server.service.ServiceInvoker
public class ServiceInvoker
Makes remote calls, invoking services, resolves service handlers
Field Summary | |
---|---|
static String |
SERVICE_NAME
Service name |
Constructor Summary | |
---|---|
ServiceInvoker()
|
Method Summary | |
---|---|
boolean |
invoke(IServiceCall call,
IScope scope)
Execute the passed service call in the given scope. |
boolean |
invoke(IServiceCall call,
Object service)
Execute the passed service call in the given object. |
void |
setServiceResolvers(Set<IServiceResolver> resolvers)
Setter for service resolvers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SERVICE_NAME
Constructor Detail |
---|
public ServiceInvoker()
Method Detail |
---|
public void setServiceResolvers(Set<IServiceResolver> resolvers)
resolvers
- Service resolverspublic boolean invoke(IServiceCall call, IScope scope)
invoke
in interface IServiceInvoker
call
- the call to invokescope
- the scope to search for a handler
true
if the call was performed, otherwise false
public boolean invoke(IServiceCall call, Object service)
invoke
in interface IServiceInvoker
call
- the call to invokeservice
- the service to use
true
if the call was performed, otherwise false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |