| 
 | Oracle® XML Java API Reference Release 1 (10.1) B12024-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--oracle.soap.providers.ejb.EjbProvider
EjbProvider is a service provider implementation for services that are deployed Enterpise JavaBeans.
The provider implementation does the following:
This provider is thread-safe.
| Field Summary | |
| static java.lang.String | PROVIDER_OPTION_IDMAPThe filename that contains the identity map to get the user identity to use in the session. | 
| static java.lang.String | PROVIDER_OPTION_INC_CONNECTIONSThe number of additional IIOP session connections to create at one time when more sessions are needed, up to the maximum allowed. | 
| static java.lang.String | PROVIDER_OPTION_MAX_CONNECTIONSThe maximum number of IIOP session connections that should be created. | 
| static java.lang.String | PROVIDER_OPTION_MIN_CONNECTIONSThe minimum number of IIOP session connections that should be created, | 
| static java.lang.String | PROVIDER_OPTION_PASSWORDThe database password for the session. | 
| static java.lang.String | PROVIDER_OPTION_ROLEThe database role for the session. | 
| static java.lang.String | PROVIDER_OPTION_SERVICEURLThe service URL used to establish a session IIOP sessConn to the database. | 
| static java.lang.String | PROVIDER_OPTION_SESSION_MULTITHREADWhether or not to multi-thread thru a single session connection. | 
| static java.lang.String | PROVIDER_OPTION_USERNAMEThe database username for the session. | 
| Constructor Summary | |
| EjbProvider() | |
| Method Summary | |
|  void | destroy()One-time service provider cleanup. | 
|  java.lang.String | getId()Get this provider's unique provider id. | 
|  void | init(ProviderDeploymentDescriptor pd, SOAPServerContext ssc)One-time service provider initialization. | 
|  void | invoke(RequestContext rc)Invoke the requested method in the specified service. | 
|  boolean | isMine(java.lang.String serviceId)Return an indication of whether this provider can handle the given service request. | 
|  java.lang.String[] | list()Return the list of all SOAP services that are available through this provider. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final java.lang.String PROVIDER_OPTION_SERVICEURL
public static final java.lang.String PROVIDER_OPTION_USERNAME
public static final java.lang.String PROVIDER_OPTION_PASSWORD
public static final java.lang.String PROVIDER_OPTION_ROLE
public static final java.lang.String PROVIDER_OPTION_IDMAP
public static final java.lang.String PROVIDER_OPTION_MIN_CONNECTIONS
public static final java.lang.String PROVIDER_OPTION_MAX_CONNECTIONS
public static final java.lang.String PROVIDER_OPTION_INC_CONNECTIONS
public static final java.lang.String PROVIDER_OPTION_SESSION_MULTITHREAD
| Constructor Detail | 
public EjbProvider()
| Method Detail | 
public void init(ProviderDeploymentDescriptor pd,
SOAPServerContext ssc)
          throws SOAPException
init in interface Providerpd - The provider descriptor that contains the provider deployment information.ssc - The SOAP server context, which contains the logger for informational messages.SOAPException - Unable to initialize and therefore unable to provide services.destroy()
public void destroy()
             throws SOAPException
destroy in interface ProviderSOAPException - Unable to destroy.init(oracle.soap.server.ProviderDeploymentDescriptor, oracle.soap.server.SOAPServerContext)public java.lang.String getId()
getId in interface Provider
public void invoke(RequestContext rc)
            throws SOAPException
invoke in interface Providerrc - The RequestContext that completely describes the request.SOAPException - Error during method invocation for any number of reasons, including user does not have permission, method does not exist.
public boolean isMine(java.lang.String serviceId)
               throws SOAPException
isMine in interface AutonomousProviderserviceId - The id of the requested service.SOAPException - Unable to make determination.
public java.lang.String[] list()
                        throws SOAPException
list in interface AutonomousProviderSOAPException - Unable to provide list.| 
 | Oracle® XML Java API Reference Release 1 (10.1) B12024-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||