Products | Versions |
---|---|
TIBCO ActiveSpaces | - |
Not Applicable | - |
Here is the sample to run
the remote invocation to remove all space entries in BusinessWorks.
Steps
to run remote member invocation:
1). You have to create a Java
class which implements MemberInvocable and clears space from
there.
2). Compile this Java class to jar file and put the jar
file in the classpath (designer.tra in designer or application.tra in
administrator).
3). Use the attached BW project. (Filenames: RemoteInvacation.zip and spaceRemoteInvocation.jar). Run the PutDummy
process first to input 100 entries and then run the process SpaceClear which will clear the space. You can put values in the filter and it
will run space.clear(filter) method.
Note:
==========
Space.clear(filter) exposed since ActiveSpaces2.1.5