| Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components | |
| Close Print View | |
| Designing: Stream-adapter Interfaces |
|
Creating a Runtime Environment
Designing Business Processes in the Sun Business Process Manager
Working with TCP/IP HL7 Collaborations
Developing Sun Master Indexes (Repository)
Developing Sun Master Patient Indexes
Developing OTDs for Application Adapters
Developing OTDs for Communication Adapters
Developing OTDs for Database Adapters
Developing OTDs for Web Server Adapters
Designing with Application Adapters
Designing with Communication Adapters
Adding the DLL file to the Path for the COM/DCOM Application Server Process
To Add the DLL file to the Path for the Application Server Process
Installing the MSMQ DLL and JNI Files
To Download the MSMQ DLLs and Runtime JNI
To Add the DLL Files to the Environment Path
Enabling Rollback When an MSMQ Message Fails
Streaming Data Between Components with the Batch Adapter
Introduction to Data Streaming
Overcoming Large-file Limitations
Designing with Web Server Adapters
Designing with Sun JCA Adapters
This section provides the Batch Adapter’s OTD stream-adapter Java interfaces. This information is only for advanced users familiar with Java programming, who want to provide custom OTD implementations for stream-adapter consumers or providers.
The following Java programming-language interface provides support for inbound transfers from an external system:
public interface com.stc.adapters.common.adapter.streaming.InputStreamAdapter {
public java.io.InputStream requestInputStream() throws StreamingException;
public void releaseInputStream(boolean success) throwsStreamingException;
}
The following Java interface provides support for outbound transfers to an external system:
public interface com.stc.adapters.common.adapter.streaming.OutputStreamAdapter {
public java.io.OutputStream requestOutputStream() throws StreamingException;
public void releaseOutputStream(boolean success) throws StreamingException;
}