Package | Description |
---|---|
org.objectweb.carol.cmi |
Modifier and Type | Method and Description |
---|---|
static Decision |
Decision.doRetry()
Creates a retry decision
|
static Decision |
Decision.doReturn(java.lang.Object retVal)
Creates a return decision
|
static Decision |
Decision.doThrow()
Creates a throw decision
|
Decision |
Distributor.onException(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Exception ex)
Decision on Exception
- retry on ConnectException or ConnectIOException or NoSuchObjectException
The application deployer can override this method to make its own choices.
|
Decision |
DistributorHome.onException(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Exception ex)
Decision on Exception :
- retry on ConnectException or ConnectIOException or NoSuchObjectException
The application deployer can override this method to make its own choices.
|
Decision |
DistributorSfsbHome.onException(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Exception ex)
Decison on Exception
The application deployer can override this method to make its own choices.
|
Decision |
DistributorSfsbRemote.onException(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Exception ex)
Decison on Exception
The application deployer can override this method to make its own choices.
|
Decision |
DistributorSlsbRemote.onException(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Exception ex)
Decision on Exception :
- retry on ConnectException or ConnectIOException or NoSuchObjectException
The application deployer can override this method to make its own choices.
|
Decision |
Distributor.onReturn(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Object retVal)
Decision on return
- do nothing
The application deployer can override this method to make its own choices.
|
Decision |
DistributorHome.onReturn(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Object retVal)
Decision on return
For the SSB, the create method returns a ClusterStub containing a list of Remote stubs (singleton)
With the preference local algorithm implemented by the choose method, the local remote stub is also
taken in priority
Below, the optimization consists not to return a Remote stubs list in this case but just the local Remote Stub.
|
Decision |
DistributorSfsbHome.onReturn(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Object retVal)
Decision on return
The application deployer can override this method to make its own choices.
|
Decision |
DistributorSfsbRemote.onReturn(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Object retVal)
Decision on return
The application deployer can override this method to make its own choices.
|
Decision |
DistributorSlsbRemote.onReturn(java.lang.reflect.Method method,
java.lang.Object[] parameters,
StubData sd,
java.lang.Object retVal)
Decision on return
- do nothing
The application deployer can override this method to make its own choices.
|