|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
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.
SPIFastDocumentManagerImpl
, Serialized FormField 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 java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected javax.sql.DataSource dataSource
protected java.lang.String docRoot
Constructor Detail |
public RefFastDocumentManagerImpl() throws javax.ejb.CreateException
Method Detail |
public void ejbCreate() throws javax.ejb.CreateException
public java.util.Enumeration getContent(Search params) throws java.rmi.RemoteException
ContentManagerImpl.getContentHome()
public java.util.Enumeration getContent(Search params, boolean readOnly) throws java.rmi.RemoteException
public byte[] getContentBlock(DocumentPk key, long start, long length) throws java.rmi.RemoteException
public static void setProperty(FastContentImpl c, java.lang.String name, java.lang.Object val)
public static final void close(java.io.InputStream in)
public static void close(java.sql.Statement stmt)
public static void close(java.sql.ResultSet rs)
public final void close(java.sql.Connection con)
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |