org.red5.server.service
public class ServiceInvoker extends Object implements IServiceInvoker
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME
Service name
|
Constructor and Description |
---|
ServiceInvoker() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final String SERVICE_NAME
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 handlertrue
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 usetrue
if the call was performed, otherwise false
Copyright © 2006-2012 The Red5 Project