Information Technology Reference
In-Depth Information
import java.rmi.∗;
import jshell.∗;
import jshell.commandline.∗;
service JShell {
protocol :rmi{
options {
registryName =
"RMIJShellServer"
;
registryHost =
"localhost"
;
registryPort = 1099;
runEmbeddedRegistry = true;
serverPlugin =
"com.paul.ServerPlugin"
;
}
pointcut String JShell.process_command_line(String) {}
}
}
Figure 6.9.
JShell RMI protocol DDL file.
import javax.jms.∗;
import jshell.∗;
import jshell.commandline.∗;
service JShell {
protocol :jms{
options {
destinationClass =
"org.apache.activemq.command.ActiveMQQueue"
;
initialContextFactory =
"org.apache.activemq.jndi.ActiveMQInitialContextFactory"
;
persist = true;
sendQueue =
"REMOTEJ.SEND"
;
receiveQueue =
"temporary"
;
// or name e.\,g. REMOTEJ.RECEIVE
servers =
"tcp://localhost:61616,tcp://bookworm:61616"
;
serverThreads = 5;
receiveTimeout = 5000;
serverPlugin =
"com.paul.ServerPlugin"
;
}
pointcut String JShell.process_command_line(String) {}
}
}
Figure 6.10.
JShell JMS protocol DDL file.
Search WWH ::
Custom Search