• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need a good routing design pattern

 
Kosala Amarasinghe
Greenhorn
Posts: 3
Android Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm looking for a good design pattern to act as an interface between a single function like functionName(String methodCode,String[] inputs) and the methods this functionName would call.
So you would give a MethodCode and a string array of inputs that would be deciphered into which method in which class needs to be called and what the inputs to the method would be.
The methodCodes with descriptions and input descriptions along with order in the array will be given as a doc to the client/user.

The purpose of this is to hide any variable names or method names from the back-end for security purposes. Finally functionName will be accessed as a Web Service from the client/user.
cheers for your help in advance.
Kosala
 
Kosala Amarasinghe
Greenhorn
Posts: 3
Android Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Solved it used Mediator Design pattern.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic