src/main/java/org/cloudi/API.java
public void subscribe(final String pattern,
                          final Class<?> clazz,
                          final String methodName)
        throws NoSuchMethodException
    {
        this.subscribe(pattern, new FunctionObject9(this, clazz, methodName));
    }
public void subscribe(final String pattern,
                          final Class<?> clazz,
                          final String methodName)
        throws NoSuchMethodException
    {
        this.subscribe(pattern, new FunctionObject9(this, clazz, methodName));
    }
public void subscribe ( final String pattern , final Class < ? > clazz , final String methodName ) throws NoSuchMethodException { this . subscribe ( pattern , new FunctionObject9 ( this , clazz , methodName ) ) ; }
Subscribes a static method to a service name pattern.

@param  pattern     the service name pattern
@param  clazz       the class of the static method
@param  methodName  the static method to handle matching requests

@throws NoSuchMethodException instance method arity is invalid
Subscribes a static method to a service name pattern .