BEA Systems, Inc.

com.beasys.commerce.axiom.document.fast
Class RefFastDocumentManagerImpl

java.lang.Object
  |
  +--com.beasys.commerce.foundation.SessionImpl
        |
        +--com.beasys.commerce.axiom.content.ContentManagerImpl
              |
              +--com.beasys.commerce.axiom.document.DocumentManagerImpl
                    |
                    +--com.beasys.commerce.axiom.document.fast.RefFastDocumentManagerImpl

Deprecated. Use SPIFastDocumentManagerImpl instead.

public class RefFastDocumentManagerImpl
extends DocumentManagerImpl

An implementation of DocumentManager that doesn't delagate to the Entity Document EJBs but instead works with the reference implementation.

In its EJB environment, this expects:

Note: This class is no longer used or supported. Please use the SPIFastDocumentManagerImpl instead.

Since:
2.0.1 sp1
See Also:
SPIFastDocumentManagerImpl, Serialized Form

Field Summary
protected  javax.sql.DataSource dataSource
          Deprecated. The smart connection pool we use.
protected  java.lang.String docRoot
          Deprecated. The doc root for documents.
 
Fields inherited from class com.beasys.commerce.axiom.content.ContentManagerImpl
contentHome, schemaHome
 
Fields inherited from class com.beasys.commerce.foundation.SessionImpl
_ctx, _environmentNamingContext, _environmentPropertyCache, _isDirty
 
Constructor Summary
RefFastDocumentManagerImpl()
          Deprecated. Constructor.
 
Method Summary
 void close(java.sql.Connection con)
          Deprecated. Helper method to close a connection, ignoring any exceptions.
static void close(java.io.InputStream in)
          Deprecated. Close an InputStream, ignoring any exceptions.
static void close(java.sql.ResultSet rs)
          Deprecated.  
static void close(java.sql.Statement stmt)
          Deprecated. Close a document iterator, ignoring any exceptions.
 void ejbCreate()
          Deprecated. Override to initialize the SmartConnectionPool from the EJB environment as well.
 java.util.Enumeration getContent(Search params)
          Deprecated. Override to assume readOnly access.
 java.util.Enumeration getContent(Search params, boolean readOnly)
          Deprecated. Override to obey the readOnly flag.
 byte[] getContentBlock(DocumentPk key, long start, long length)
          Deprecated. Get the block of bytes for the specified document.
static void setProperty(FastContentImpl c, java.lang.String name, java.lang.Object val)
          Deprecated.  
 
Methods inherited from class com.beasys.commerce.axiom.document.DocumentManagerImpl
getDefaultContentHomeName, getDefaultContentSchemaHomeName
 
Methods inherited from class com.beasys.commerce.axiom.content.ContentManagerImpl
ejbActivate, ejbPassivate, ejbPostCreate, ejbRemove, getAllSchemas, getContentHome, getJNDIContext, getSchema, getSchemaHome, lookupHome, setSessionContext, verifyHome
 
Methods inherited from class com.beasys.commerce.foundation.SessionImpl
clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, doRelationalBinding, doRelationalBinding, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, enumerateRelationalBinding, enumerateRelationalBinding, getEnvironmentNamingContext, getEnvironmentProperty, getEnvironmentProperty, getEnvironmentPropertyCache, getPersistenceHelperPlugin, getSessionContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataSource

protected javax.sql.DataSource dataSource
Deprecated. 
The smart connection pool we use.

docRoot

protected java.lang.String docRoot
Deprecated. 
The doc root for documents.
Constructor Detail

RefFastDocumentManagerImpl

public RefFastDocumentManagerImpl()
                           throws javax.ejb.CreateException
Deprecated. 
Constructor.
Method Detail

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException
Deprecated. 
Override to initialize the SmartConnectionPool from the EJB environment as well.
Overrides:
ejbCreate in class ContentManagerImpl
Tags copied from class: ContentManagerImpl
Throws:
javax.ejb.EJBException - thrown on an error.
javax.ejb.CreateException - thrown on an error.

getContent

public java.util.Enumeration getContent(Search params)
                                 throws java.rmi.RemoteException
Deprecated. 
Override to assume readOnly access.
Overrides:
getContent in class ContentManagerImpl
Tags copied from class: ContentManagerImpl
Throws:
java.rmi.RemoteException - thrown on an error.
See Also:
ContentManagerImpl.getContentHome()

getContent

public java.util.Enumeration getContent(Search params,
                                        boolean readOnly)
                                 throws java.rmi.RemoteException
Deprecated. 
Override to obey the readOnly flag.
Overrides:
getContent in class ContentManagerImpl
Tags copied from class: ContentManagerImpl
Throws:
java.rmi.RemoteException - thrown on an error.

getContentBlock

public byte[] getContentBlock(DocumentPk key,
                              long start,
                              long length)
                       throws java.rmi.RemoteException
Deprecated. 
Get the block of bytes for the specified document.
Overrides:
getContentBlock in class DocumentManagerImpl

setProperty

public static void setProperty(FastContentImpl c,
                               java.lang.String name,
                               java.lang.Object val)
Deprecated. 

close

public static final void close(java.io.InputStream in)
Deprecated. 
Close an InputStream, ignoring any exceptions.

close

public static void close(java.sql.Statement stmt)
Deprecated. 
Close a document iterator, ignoring any exceptions.

close

public static void close(java.sql.ResultSet rs)
Deprecated. 

close

public final void close(java.sql.Connection con)
Deprecated. 
Helper method to close a connection, ignoring any exceptions.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved