src/main/java/org/cloudi/API.java
public void subscribe(final String pattern,
                          final Object instance,
                          final String methodName)
        throws NoSuchMethodException
    {
        this.subscribe(pattern, new FunctionObject9(instance, methodName));
    }
public void subscribe(final String pattern,
                          final Object instance,
                          final String methodName)
        throws NoSuchMethodException
    {
        this.subscribe(pattern, new FunctionObject9(instance, methodName));
    }
Subscribes an object method to a service name pattern.

@param  pattern     the service name pattern
@param  instance    the object instance
@param  methodName  the object method to handle matching requests

@throws NoSuchMethodException instance method arity is invalid