de.javagl.swogl
Class SwoglApplications

java.lang.Object
  extended by de.javagl.swogl.SwoglApplications

public class SwoglApplications
extends java.lang.Object

This class is responsible for resolving services that may create SwoglApplications. It will resolve services that implement the SwoglApplicationFactory interface, and use the factory to create a new SwoglApplication.


Method Summary
static SwoglApplication createSwoglApplication()
          Creates a new SwoglApplication.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createSwoglApplication

public static SwoglApplication createSwoglApplication()
Creates a new SwoglApplication. This method will try to obtain a service that implements the SwoglApplicationFactory interface. This service will be used to instantiate a SwoglApplication. The first SwoglApplication that can successfully be instantiated will be returned.

Returns:
A new SwoglApplication, or null if no service for creating a SwoglApplication could be found.