图5:用分配给项目的在开发中的组件的颜色建模的用例实例。
Figure 5: Example of use case modeling with color assignments to the components under development for the project.
相反您可以定义一个对象(而不是类)并且它将成为类的一个单例实例。
Instead you can define some as an object (instead of a class) and it becomes a singleton instance of the class.
因此,除非仔细计划,否则应该避免使用JAX - RS资源的单例实例。
Therefore, use of a singleton instance for JAX-RS resources should be avoided unless carefully planned.
应用推荐