WebLogic Server 6.0 Code Examples, BEA Systems, Inc.

examples.wlec.ejb.simpapp
Interface Converter

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface Converter
extends javax.ejb.EJBObject

The methods in this interface are the public face of ConverterBean. The signatures of the methods are identical to those of the EJBean, except that these methods throw a java.rmi.RemoteException. Note that the EJBean does not implement this interface. The corresponding code-generated EJBObject ConverterBeanE implements this interface and delegates to the bean.

Author:
Copyright (c) 1999-2000 by BEA Systems, Inc. All Rights Reserved.

Method Summary
 ConverterResult toLower(java.lang.String inData)
          Converts to lowercase.
 ConverterResult toUpper(java.lang.String inData)
          Converts to uppercase.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

toLower

public ConverterResult toLower(java.lang.String inData)
                        throws ProcessingErrorException,
                               java.rmi.RemoteException
Converts to lowercase.
Parameters:
inData - string input data
Returns:
ConverterResult conversion result
Throws:
ProcessingErrorException - if there is an error while converting the string
java.rmi.RemoteException - if there is a communications or systems failure

toUpper

public ConverterResult toUpper(java.lang.String inData)
                        throws ProcessingErrorException,
                               java.rmi.RemoteException
Converts to uppercase.
Parameters:
inData - string input data
Returns:
ConverterResult conversion Result
Throws:
ProcessingErrorException - if there is an error while converting the string
java.rmi.RemoteException - if there is a communications or systems failure

Documentation is available at
http://e-docs.bea.com/wls/docs60

Copyright © 2000 BEA Systems, Inc. All Rights Reserved.