1. A method of implementing non-function logic extensibly and independently of functional logic, comprising the steps of: acquiring an association relationship between a policy and a required plug-in based on a loaded policy demand configuration; generating a plug-in context definition according to the acquired association relationship, the plug-in context definition being part of a plug-in context associated with the plug-in, wherein the plug-in context defines services provided by the plug-in and reference to other plug-ins related to the plug-in; generating a plug-in context object based on the plug-in context definition, wherein the plug-in context object is an instantiated plug-in context definition; and locating and invoking the plug-in during runtime according to the plug-in context object so as to implement the function of the plug-in.