A C D E G H I J K L M N O P R S T U W _

A

args - Variable in class org.bsf.remoting.http.HttpServiceRequest
 
AUTHENTICATED_SERVLET - Static variable in class org.bsf.remoting.http.HttpSessionClient
 

C

context - Variable in class org.bsf.remoting.http.HttpSessionClient
The context used at deployment time.
context - Static variable in class org.bsf.remoting.rmi.ServiceFactoryImpl
 
createInitialContext(String) - Static method in class org.bsf.remoting.util.naming.PropertiesICFactory
Creates a new Initial context using the ressource properties.
createService(EJBDefinition) - Method in class org.bsf.remoting.rmi.ServiceFactoryImpl
 
curUsedThread - Variable in class org.bsf.remoting.http.HttpSessionClient
The number of thread that are currently making a call

D

DEFAULT_PROTOCOL - Static variable in class org.bsf.remoting.http.HttpSessionClient
Default call method is http
DEFAULT_THREAD_COUNT - Static variable in class org.bsf.remoting.http.HttpSessionClient
Default Server File
DefaultPrincipal - class org.bsf.remoting.util.DefaultPrincipal.
Very basic implementation of a Principal
DefaultPrincipal(String) - Constructor for class org.bsf.remoting.util.DefaultPrincipal
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.bsf.remoting.http.HttpSessionServer
The only http call used by the client side is POST in order to deal with unlimited (??)

E

EJBDefinition - class org.bsf.remoting.EJBDefinition.
Defines the deployment settings of an EJB.
EJBDefinition(String, String, String) - Constructor for class org.bsf.remoting.EJBDefinition
 
equals(Object) - Method in class org.bsf.remoting.EJBDefinition
 
equals(Object) - Method in class org.bsf.remoting.http.HttpServiceKey
 
equals(Object) - Method in class org.bsf.remoting.util.DefaultPrincipal
 

G

getArgs() - Method in class org.bsf.remoting.http.HttpServiceRequest
 
getAuthenticatedServerFile() - Method in class org.bsf.remoting.http.HttpSessionClient
 
getContext() - Static method in class org.bsf.remoting.rmi.ServiceFactoryImpl
 
getEjbReference(HttpServiceRequest, HttpServletRequest) - Method in class org.bsf.remoting.http.HttpSessionServer
Retrieves the reference to the EJBObject by the definition or by the cache depending on the request.
getFromCache(HttpServiceKey, HttpServletRequest) - Method in class org.bsf.remoting.http.HttpSessionServer
Retrieve the statefull service from cache
getHomeClass() - Method in class org.bsf.remoting.EJBDefinition
 
getHomeName() - Method in class org.bsf.remoting.EJBDefinition
 
getHttpServiceRequest(HttpServletRequest) - Method in class org.bsf.remoting.http.HttpSessionServer
gets the request from the http stream
getInitialContext() - Method in class org.bsf.remoting.util.naming.PropertiesICFactory
 
getInitialContext() - Method in interface org.bsf.remoting.util.naming.InitialContextFactory
 
getInstance() - Static method in class org.bsf.remoting.http.HttpSessionClient
Singleton instanciation
getJndiName() - Method in class org.bsf.remoting.EJBDefinition
 
getKeyToStatefullService() - Method in class org.bsf.remoting.http.HttpServiceRequest
 
getMethodName() - Method in class org.bsf.remoting.http.HttpServiceRequest
 
getName() - Method in class org.bsf.remoting.util.DefaultPrincipal
 
getParamTypes() - Method in class org.bsf.remoting.http.HttpServiceRequest
 
getParamTypes(Object[]) - Method in class org.bsf.remoting.http.HttpSessionServer
As we invoke the method on the remote service using the reflect package, we must know the classes of the arguments
getRemote(EJBDefinition) - Method in class org.bsf.remoting.http.HttpSessionServer
Used for a call on a stateless service.
getRemoteClass() - Method in class org.bsf.remoting.EJBDefinition
 
getRemoteName() - Method in class org.bsf.remoting.EJBDefinition
 
getRemoteService() - Method in class org.bsf.remoting.http.HttpServiceRequest
 
getResult() - Method in class org.bsf.remoting.http.HttpServiceResponse
 
getService(EJBDefinition) - Method in interface org.bsf.remoting.ServiceFactory
Retrieves a ref on a service
getService(EJBDefinition) - Method in class org.bsf.remoting.http.HttpServiceFactory
Uses the ejbDefinition to return a DynamicProxy that will present the "good face" to the client.
getService(EJBDefinition) - Method in class org.bsf.remoting.rmi.ServiceFactoryImpl
 
getThreadCount() - Method in class org.bsf.remoting.http.HttpSessionClient
 
getThreadLock() - Method in class org.bsf.remoting.http.HttpSessionClient
This method is used to limit the concurrent http call to the max fixed by maxThreadCount and to wait the end of the first call that will return the session id.
getThrowable() - Method in class org.bsf.remoting.http.HttpServiceResponse
 
getUnauthenticatedServerFile() - Method in class org.bsf.remoting.http.HttpSessionClient
 

H

hashCode() - Method in class org.bsf.remoting.EJBDefinition
 
hashCode() - Method in class org.bsf.remoting.http.HttpServiceKey
 
hashCode() - Method in class org.bsf.remoting.util.DefaultPrincipal
 
host - Variable in class org.bsf.remoting.http.HttpSessionClient
Where is the server
HttpServiceFactory - class org.bsf.remoting.http.HttpServiceFactory.
This implementation of ServiceFactory makes returns to the client DynamicProxies to encapsulate the client calls in http protocol.
HttpServiceFactory() - Constructor for class org.bsf.remoting.http.HttpServiceFactory
 
HttpServiceFactory(String, int, String) - Constructor for class org.bsf.remoting.http.HttpServiceFactory
 
HttpServiceFactory(String, String, int, String) - Constructor for class org.bsf.remoting.http.HttpServiceFactory
 
HttpServiceInvocationHandler - class org.bsf.remoting.http.HttpServiceInvocationHandler.
The HttpServiceInvocationHandler is used to transmit the user request to the correct object which can be the remote service in case of direct connection or the user session client in case of Session connection.
HttpServiceInvocationHandler(EJBDefinition) - Constructor for class org.bsf.remoting.http.HttpServiceInvocationHandler
This constructor is used for a stateless service
HttpServiceInvocationHandler(HttpServiceKey) - Constructor for class org.bsf.remoting.http.HttpServiceInvocationHandler
This constructor is used for a statefull service
HttpServiceKey - class org.bsf.remoting.http.HttpServiceKey.
This class is used as a key for services map in the http session of the client.
HttpServiceKey(int) - Constructor for class org.bsf.remoting.http.HttpServiceKey
 
HttpServiceRequest - class org.bsf.remoting.http.HttpServiceRequest.
This class encapsulates the items of the client request.
HttpServiceRequest(EJBDefinition, String, Class[], Object[]) - Constructor for class org.bsf.remoting.http.HttpServiceRequest
Constructor when using a stateless service
HttpServiceRequest(HttpServiceKey, String, Class[], Object[]) - Constructor for class org.bsf.remoting.http.HttpServiceRequest
Constructor for a statefull service
HttpServiceResponse - class org.bsf.remoting.http.HttpServiceResponse.
This class holds the result of a client call.
HttpServiceResponse(Object) - Constructor for class org.bsf.remoting.http.HttpServiceResponse
 
HttpServiceResponse(Throwable) - Constructor for class org.bsf.remoting.http.HttpServiceResponse
 
HttpSessionClient - class org.bsf.remoting.http.HttpSessionClient.
This class handle the http protocole for the application server communication.
HttpSessionClient() - Constructor for class org.bsf.remoting.http.HttpSessionClient
Default constructor
HttpSessionServer - class org.bsf.remoting.http.HttpSessionServer.
This is the servlet that intercept all the client calls and transmits these to the EJBs.
HttpSessionServer() - Constructor for class org.bsf.remoting.http.HttpSessionServer
 

I

init() - Method in class org.bsf.remoting.http.HttpSessionServer
Uses the properties defined in the servlet environment to instantiate the principalManager and the initial context properties.
initEjbContext(String) - Static method in class org.bsf.remoting.http.HttpSessionServer
 
InitialContextFactory - interface org.bsf.remoting.util.naming.InitialContextFactory.
 
invoke(EJBDefinition, Method, Object[]) - Method in class org.bsf.remoting.http.HttpSessionClient
Invokes a stateless remote service
invoke(HttpServiceKey, Method, Object[]) - Method in class org.bsf.remoting.http.HttpSessionClient
Invokes a statefull remote service
invoke(Object, Method, Object[]) - Method in class org.bsf.remoting.http.HttpServiceInvocationHandler
This method is called on every call on the interface
invokeHttp(HttpServiceRequest) - Method in class org.bsf.remoting.http.HttpSessionClient
Performs the http call.
isAuthenticatedCall() - Method in class org.bsf.remoting.http.HttpSessionClient
 
isExceptionThrown() - Method in class org.bsf.remoting.http.HttpServiceResponse
 
isStatefull() - Method in class org.bsf.remoting.http.HttpServiceRequest
 
isStateless() - Method in class org.bsf.remoting.http.HttpServiceRequest
 

J

JBossPrincipalManager - class org.bsf.remoting.util.impl.JBossPrincipalManager.
 
JBossPrincipalManager() - Constructor for class org.bsf.remoting.util.impl.JBossPrincipalManager
 

K

key - Variable in class org.bsf.remoting.http.HttpServiceKey
 
keyToStatefullService - Variable in class org.bsf.remoting.http.HttpServiceRequest
 

L

loadICInstance() - Method in class org.bsf.remoting.util.naming.PropertiesICFactory
Instantiates the Initial context according to the properties.
log - Variable in class org.bsf.remoting.http.HttpSessionServer
 
log - Static variable in class org.bsf.remoting.http.HttpSessionClient
 
log - Static variable in class org.bsf.remoting.rmi.ServiceFactoryImpl
 
log - Static variable in class org.bsf.remoting.util.impl.JBossPrincipalManager
 
login - Variable in class org.bsf.remoting.http.HttpSessionClient
Used for authentification

M

maxThreadCount - Variable in class org.bsf.remoting.http.HttpSessionClient
The number of parallel thread used to perform the http call.
methodName - Variable in class org.bsf.remoting.http.HttpServiceRequest
 
MIME_TYPE - Static variable in class org.bsf.remoting.http.HttpSessionClient
BSF default mime type

N

name - Variable in class org.bsf.remoting.util.DefaultPrincipal
 
narrowArgs(Object[]) - Static method in class org.bsf.remoting.http.HttpSessionServer
Allows the session to have remote EJBObject as arguments

O

org.bsf.remoting - package org.bsf.remoting
 
org.bsf.remoting.http - package org.bsf.remoting.http
Allows a client to communicate with the server using http calls.
org.bsf.remoting.rmi - package org.bsf.remoting.rmi
 
org.bsf.remoting.util - package org.bsf.remoting.util
 
org.bsf.remoting.util.impl - package org.bsf.remoting.util.impl
 
org.bsf.remoting.util.naming - package org.bsf.remoting.util.naming
 

P

paramTypesName - Variable in class org.bsf.remoting.http.HttpServiceRequest
 
pass - Variable in class org.bsf.remoting.http.HttpSessionClient
password used for basic authentification
port - Variable in class org.bsf.remoting.http.HttpSessionClient
Http Port used
PrincipalManager - interface org.bsf.remoting.util.PrincipalManager.
Used to set the principal.
processRemoteCall(EJBObject, HttpServiceRequest, HttpServletRequest) - Method in class org.bsf.remoting.http.HttpSessionServer
 
PropertiesICFactory - class org.bsf.remoting.util.naming.PropertiesICFactory.
This class allows to create an Initial context depending on a property file.
PropertiesICFactory() - Constructor for class org.bsf.remoting.util.naming.PropertiesICFactory
 
protocol - Variable in class org.bsf.remoting.http.HttpSessionClient
The method used to transmit the call, the default is http but it can be https to secure the communication
putInCache(HttpServiceKey, EJBObject, HttpServletRequest) - Method in class org.bsf.remoting.http.HttpSessionServer
We put in cache the handles to prepare the passivation

R

releaseThreadLock() - Method in class org.bsf.remoting.http.HttpSessionClient
 
remoteService - Variable in class org.bsf.remoting.http.HttpServiceRequest
 
requestNb - Static variable in class org.bsf.remoting.http.HttpSessionClient
 
result - Variable in class org.bsf.remoting.http.HttpServiceResponse
 

S

SERVER_CONTEXT - Static variable in class org.bsf.remoting.http.HttpSessionClient
Default Server File
SERVER_HOST - Static variable in class org.bsf.remoting.http.HttpSessionClient
Default Server Host
SERVER_PORT - Static variable in class org.bsf.remoting.http.HttpSessionClient
Default Server Port
serviceCache - Static variable in class org.bsf.remoting.http.HttpSessionServer
 
ServiceFactory - interface org.bsf.remoting.ServiceFactory.
Creates EJB Services based on their definition.
ServiceFactoryImpl - class org.bsf.remoting.rmi.ServiceFactoryImpl.
 
ServiceFactoryImpl() - Constructor for class org.bsf.remoting.rmi.ServiceFactoryImpl
 
services - Variable in class org.bsf.remoting.rmi.ServiceFactoryImpl
 
sessionId - Variable in class org.bsf.remoting.http.HttpSessionClient
 
setArgs(Object[]) - Method in class org.bsf.remoting.http.HttpServiceRequest
 
setContext(String) - Method in class org.bsf.remoting.http.HttpSessionClient
Set the context used at deployment time.
setHost(String) - Method in class org.bsf.remoting.http.HttpSessionClient
 
setHost(String) - Method in class org.bsf.remoting.http.HttpServiceFactory
 
setJVMPrincipal(String, String) - Method in interface org.bsf.remoting.util.PrincipalManager
The principal is set only one time for all the thread created in the JVM.
setJVMPrincipal(String, String) - Method in class org.bsf.remoting.util.impl.JBossPrincipalManager
 
setKeyToStatefullService(HttpServiceKey) - Method in class org.bsf.remoting.http.HttpServiceRequest
 
setLogin(String) - Method in class org.bsf.remoting.http.HttpSessionClient
 
setLogin(String) - Method in class org.bsf.remoting.http.HttpServiceFactory
 
setMethodName(String) - Method in class org.bsf.remoting.http.HttpServiceRequest
 
setParamTypes(Class[]) - Method in class org.bsf.remoting.http.HttpServiceRequest
 
setPassword(String) - Method in class org.bsf.remoting.http.HttpSessionClient
 
setPassword(String) - Method in class org.bsf.remoting.http.HttpServiceFactory
 
setPort(int) - Method in class org.bsf.remoting.http.HttpSessionClient
 
setPort(int) - Method in class org.bsf.remoting.http.HttpServiceFactory
 
setPropertiesRessources(String) - Method in class org.bsf.remoting.util.naming.PropertiesICFactory
sets the properties ressource and load the Initial context corresponding to the ressource.
setProtocol(String) - Method in class org.bsf.remoting.http.HttpSessionClient
sets the used protocol.
setProtocol(String) - Method in class org.bsf.remoting.http.HttpServiceFactory
 
setRemoteService(EJBDefinition) - Method in class org.bsf.remoting.http.HttpServiceRequest
 
setResult(Object) - Method in class org.bsf.remoting.http.HttpServiceResponse
 
setServerContext(String) - Method in class org.bsf.remoting.http.HttpServiceFactory
Set the context used at deployment time.
setServerFile(String) - Method in class org.bsf.remoting.http.HttpSessionClient
Deprecated. setServerContext should be used instead.
setServerFile(String) - Method in class org.bsf.remoting.http.HttpServiceFactory
Deprecated. Use setServerContext() instead.
setThreadCount(int) - Method in class org.bsf.remoting.http.HttpSessionClient
 
setThreadCount(int) - Method in class org.bsf.remoting.http.HttpServiceFactory
 
setThreadPrincipal(String, String) - Method in interface org.bsf.remoting.util.PrincipalManager
The principal is set only for the current thread.
setThreadPrincipal(String, String) - Method in class org.bsf.remoting.util.impl.JBossPrincipalManager
 
setThrowable(Throwable) - Method in class org.bsf.remoting.http.HttpServiceResponse
 
STATEFULL_CACHE - Static variable in class org.bsf.remoting.http.HttpSessionServer
 

T

throwable - Variable in class org.bsf.remoting.http.HttpServiceResponse
 
toString() - Method in class org.bsf.remoting.EJBDefinition
 
toString() - Method in class org.bsf.remoting.util.DefaultPrincipal
 

U

UNAUTHENTICATED_SERVLET - Static variable in class org.bsf.remoting.http.HttpSessionClient
 

W

writeHttpServiceResponse(HttpServletResponse, HttpServiceResponse) - Method in class org.bsf.remoting.http.HttpSessionServer
writes the response in the http stream

_

_connectionMode - Variable in class org.bsf.remoting.http.HttpServiceInvocationHandler
 
_ejbContext - Static variable in class org.bsf.remoting.http.HttpSessionServer
 
_ejbContextProperties - Static variable in class org.bsf.remoting.http.HttpSessionServer
 
_home - Variable in class org.bsf.remoting.EJBDefinition
 
_ic - Variable in class org.bsf.remoting.util.naming.PropertiesICFactory
 
_instance - Static variable in class org.bsf.remoting.http.HttpSessionClient
 
_jndiName - Variable in class org.bsf.remoting.EJBDefinition
 
_maxServiceIndex - Variable in class org.bsf.remoting.http.HttpSessionServer
 
_propertiesRessources - Variable in class org.bsf.remoting.util.naming.PropertiesICFactory
 
_remote - Variable in class org.bsf.remoting.EJBDefinition
 
_remote - Variable in class org.bsf.remoting.http.HttpServiceInvocationHandler
 
_service - Variable in class org.bsf.remoting.http.HttpServiceInvocationHandler
 
_serviceCache - Static variable in class org.bsf.remoting.http.HttpServiceFactory
 
_serviceKey - Variable in class org.bsf.remoting.http.HttpServiceInvocationHandler
 

A C D E G H I J K L M N O P R S T U W _