|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.bea.ldi.server.QueryBean
QueryBean is a stateless Session Bean.
| Constructor Summary | |
QueryBean()
|
|
| Method Summary | |
void |
ejbActivate()
This method is required by the EJB Specification. |
void |
ejbCreate()
This method corresponds to the create method in the home interface "QueryHome.java". |
void |
ejbPassivate()
This method is required by the EJB Specification. |
void |
ejbRemove()
This method is required by the EJB Specification. |
QueryResult |
execute(java.lang.String queryString)
Executes a query and returns the result. |
QueryResult |
execute(java.lang.String queryString,
QueryParameters queryParameters)
Executes a query and returns the result. |
QueryResult |
execute(java.lang.String queryString,
QueryParameters queryParameters,
QueryAttributes queryAttributes)
Executes a query and returns the result. |
QueryResult |
executeStored(java.lang.String queryName)
Executes a stored query and returns the result. |
QueryResult |
executeStored(java.lang.String queryName,
QueryParameters queryParameters)
Executes a stored query and returns the result. |
QueryResult |
executeStored(java.lang.String queryName,
QueryParameters queryParameters,
QueryAttributes queryAttributes)
Executes a stored query and returns the result. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Sets the session context. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public QueryBean()
| Method Detail |
public void ejbCreate()
throws javax.ejb.CreateException
QueryHome.create(), the container allocates an instance of
the EJBean and calls ejbCreate().
public void ejbRemove()
public void ejbActivate()
throws java.rmi.RemoteException
public void ejbPassivate()
public void setSessionContext(javax.ejb.SessionContext ctx)
ctx - SessionContext Context for session
public QueryResult execute(java.lang.String queryString)
throws java.rmi.RemoteException
queryString - The String representation of the query.RemoteException encapsulating any problems
that occured during query execution.
public QueryResult execute(java.lang.String queryString,
QueryParameters queryParameters)
throws java.rmi.RemoteException
queryString - The String representation of the query.queryParameters - The query parameters.RemoteException encapsulating any problems
that occured during query execution.
public QueryResult execute(java.lang.String queryString,
QueryParameters queryParameters,
QueryAttributes queryAttributes)
throws java.rmi.RemoteException
queryString - The String representation of the query.queryParameters - The query parameters.queryAttributes - The query attributes.RemoteException encapsulating any problems
that occured during query execution.
public QueryResult executeStored(java.lang.String queryName)
throws java.rmi.RemoteException
queryName - The name of the stored query.RemoteException encapsulating any problems
that occured during query execution.
public QueryResult executeStored(java.lang.String queryName,
QueryParameters queryParameters)
throws java.rmi.RemoteException
queryName - The name of the stored query.queryParameters - The query parameters.RemoteException encapsulating any problems
that occured during query execution.
public QueryResult executeStored(java.lang.String queryName,
QueryParameters queryParameters,
QueryAttributes queryAttributes)
throws java.rmi.RemoteException
queryName - The name of the stored query.queryParameters - The query parameters.queryAttributes - The query attributes.RemoteException encapsulating any problems
that occured during query execution.
|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||