Objectivity for Java Reference

com.objy.db.iapp
Interface PConnection

All Superinterfaces:
PRoot

public interface PConnection
extends PRoot

Reserved for internal use.


Method Summary
 void bind(Object object, String name)
           
 boolean checkLS(String host)
           
 void close()
           
 void dropClass(String className)
           
 String getBootFilePath()
           
 Connection getConnection()
           
 Database getDatabase()
           
 int getOpenMode()
           
 SchemaPolicy getSchemaPolicy()
           
 int getThreadPolicy()
           
 boolean isDeploymentMode()
           
 boolean isOpen()
           
 Object lookup(String name)
           
 void registerClass(String className)
           
 void reopen()
           
 Iterator rootNames()
           
 Vector sessions()
           
 void setAMSUsage(int amsUsage)
           
 void setDeploymentMode(boolean deploymentMode)
           
 void setOpenMode(int _openMode)
           
 void setSchemaClassName(String javaClassName, String schemaClassName)
           
 void setThreadPolicy(int _threadPolicy)
           
 boolean startInternalLS()
           
 boolean stopInternalLS(int wait, boolean force)
           
 void unbind(String name)
           
 void update()
           
 
Methods inherited from interface com.objy.db.iapp.PRoot
clusterReason
 

Method Detail

reopen

public void reopen()
            throws DatabaseOpenException,
                   DatabaseNotFoundException

setOpenMode

public void setOpenMode(int _openMode)

getDatabase

public Database getDatabase()

getConnection

public Connection getConnection()

isOpen

public boolean isOpen()

getBootFilePath

public String getBootFilePath()

getOpenMode

public int getOpenMode()

close

public void close()
           throws DatabaseClosedException

update

public void update()

setThreadPolicy

public void setThreadPolicy(int _threadPolicy)

getThreadPolicy

public int getThreadPolicy()

startInternalLS

public boolean startInternalLS()

stopInternalLS

public boolean stopInternalLS(int wait,
                              boolean force)

checkLS

public boolean checkLS(String host)

sessions

public Vector sessions()

setAMSUsage

public void setAMSUsage(int amsUsage)

bind

public void bind(Object object,
                 String name)
          throws ObjectNameNotUniqueException

unbind

public void unbind(String name)
            throws ObjectNameNotFoundException

lookup

public Object lookup(String name)
              throws ObjectNameNotFoundException

rootNames

public Iterator rootNames()

getSchemaPolicy

public SchemaPolicy getSchemaPolicy()

setDeploymentMode

public void setDeploymentMode(boolean deploymentMode)

isDeploymentMode

public boolean isDeploymentMode()

registerClass

public void registerClass(String className)

setSchemaClassName

public void setSchemaClassName(String javaClassName,
                               String schemaClassName)

dropClass

public void dropClass(String className)

Objectivity for Java Reference

Copyright © 2000 Objectivity, Inc. All rights reserved.