org.ggf.drmaa
public abstract class SessionFactory extends java.lang.Object
Example:
public static void main(String[] args) throws Exception { SessionFactory factory = SessionFactory.getFactory(); Session session = factory.getSession(); session.init(""); session.exit(); }
Session
Constructor and Description |
---|
SessionFactory() |
Modifier and Type | Method and Description |
---|---|
static SessionFactory |
getFactory()
Gets a SessionFactory instance appropriate for the DRM in use.
|
abstract Session |
getSession()
Gets a Session instance appropriate for the DRM in use.
|
public abstract Session getSession()
public static SessionFactory getFactory()
java.lang.Error
- if an appropriate SessionFactory implementation could not
be found or instantiated
The contents of this file are licensed under the Sun Industry Standards Source License version 1.2.
Copyright 2008, Sun Microsystems, Inc.