Sun Adapter for SAG API

com.stc.connector.sagadapter.jni.pc
Class PcHandleFactory

java.lang.Object
  extended by com.stc.connector.sagadapter.jni.pc.PcHandleFactory

public class PcHandleFactory
extends java.lang.Object

Wrapper class for SAG C++ HandleFactory for SagProcessControl. It is derived from sagcontrol.hpp.

Version:
cvs revision: $Revision: 1.4 $ Last Modified: $Date: 2007/10/19 19:48:41 $
Author:
Harry Liu (harry.liu@sun.com)

Method Summary
 void free()
          Method free.
static PcHandleFactory newFactory(java.lang.String configFile)
          Method newFactory.
 PcHandle newHandle()
          Creates a new Handle object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

free

public void free()
Method free.


newFactory

public static PcHandleFactory newFactory(java.lang.String configFile)
                                  throws PcExcStatus
Method newFactory.

Parameters:
configFile - String
Returns:
ProcessControlHandleFactory
Throws:
PcExcStatus - on error

newHandle

public PcHandle newHandle()
                   throws PcExcStatus
Creates a new Handle object

Returns:
a new Handle object
Throws:
PcExcStatus - if any error occurs

Sun Adapter for SAG API

Copyright © 2008 Sun Microsystems, Inc. All rights reserved.