|
SmartFrog 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.smartfrog.sfcore.reference.RemoteReferenceResolverHelperImpl
org.smartfrog.sfcore.prim.PrimImpl
org.smartfrog.services.assertions.AssertComponent
public class AssertComponent
created 28-Apr-2004 11:40:53
| Field Summary |
|---|
| Fields inherited from class org.smartfrog.sfcore.prim.PrimImpl |
|---|
refLivenessDelay, refLivenessFactor, sfCompleteName, sfContext, sfDeployHooks, sfDeployWithHooks, sfExportRef, sfIsDeployed, sfIsStarted, sfIsTerminated, sfIsTerminating, sfLivenessCount, sfLivenessDelay, sfLivenessFactor, sfLivenessSender, sfParent, sfStartHooks, sfTerminateWithHooks, termLock |
| Fields inherited from interface org.smartfrog.services.assertions.Assert |
|---|
ATTRIBUTE_EQUALS, CHECK_ON_LIVENESS, CHECK_ON_STARTUP, DIR_EXISTS, EQUALITY_IGNORES_CASE, EQUALS_STRING1, EQUALS_STRING2, EVALUATES_FALSE, EVALUATES_TRUE, FILE_EXISTS, HAS_ATTRIBUTE, IS_FALSE, IS_TRUE, MESSAGE, REFERENCE |
| Constructor Summary | |
|---|---|
AssertComponent()
Constructor . |
|
| Method Summary | |
|---|---|
protected void |
assertTrue(boolean fact,
java.lang.String test)
make an assertion |
void |
checkAssertions()
verify that assertions are valid. |
boolean |
evaluate(java.lang.Object target,
java.lang.String methodName)
evaluate a named method on an object; expect it to return a boolean |
void |
sfDeploy()
Called after instantiation for deployment purposed. |
void |
sfPing(java.lang.Object source)
Liveness call in to check if this component is still alive. |
void |
sfStart()
Can be called to start components. |
| Methods inherited from class org.smartfrog.sfcore.reference.RemoteReferenceResolverHelperImpl |
|---|
sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolveWithParser |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.smartfrog.sfcore.reference.RemoteReferenceResolverHelper |
|---|
sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolve, sfResolveWithParser |
| Constructor Detail |
|---|
public AssertComponent()
throws java.rmi.RemoteException
java.rmi.RemoteException - In case of network/rmi error| Method Detail |
|---|
public void checkAssertions()
throws java.rmi.RemoteException,
SmartFrogException,
SmartFrogAssertionException
java.rmi.RemoteException - In case of network/rmi error
SmartFrogAssertionException - error in verification
SmartFrogException - error in verification
protected void assertTrue(boolean fact,
java.lang.String test)
throws SmartFrogAssertionException
fact - result flagtest - test String
SmartFrogAssertionException - error in assertion
public boolean evaluate(java.lang.Object target,
java.lang.String methodName)
throws SmartFrogException,
java.rmi.RemoteException
target - object to invokemethodName - name of method
SmartFrogException - error in evaluation
java.rmi.RemoteException - In case of network/rmi error
public void sfPing(java.lang.Object source)
throws SmartFrogLivenessException,
java.rmi.RemoteException
sfPing in interface LivenesssfPing in class PrimImplsource - source of call
SmartFrogLivenessException - component is terminated
java.rmi.RemoteException - In case of network/rmi error
public void sfDeploy()
throws SmartFrogException,
java.rmi.RemoteException
sfDeploy in interface PrimsfDeploy in class PrimImplSmartFrogException - error while deploying
java.rmi.RemoteException - In case of network/rmi error
public void sfStart()
throws SmartFrogException,
java.rmi.RemoteException
sfStart in interface PrimsfStart in class PrimImplSmartFrogException - failure while starting
java.rmi.RemoteException - In case of network/rmi error
|
SmartFrog CORE 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||