Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.provider.internal
Class ServerServiceDependencyAnalyzer

java.lang.Object
  extended by weblogic.management.provider.internal.ServerServiceDependencyAnalyzer


@Service
@Singleton
public class ServerServiceDependencyAnalyzer
extends Object

Analyzes dependencies among server services, primarily to order them as HK2 will instantiate them. The orderedServerServices() method returns a list of server services classes in an order that respects their run levels and injections among them. This services uses the DiGraph class to create a directed graph. The graph contains a vertex for each run level, with an edge from each run level vertex to the next run level's vertex. We also create an edge from a run level's vertex to any service with that declared run level and from each such service to the next run level. We add an edge from the root to any service without a declared run level. For any service P injected into another service Q we create an edge from P's vertex to Q's. A breadth-first traversal of such a graph visits the server services by run level respecting inter-service injection.

Since:
12.2.1.0

Method Summary

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 


Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09