Browse files


  • Loading branch information...
1 parent 92e1213 commit b506e9171518f9a56ca89b9ad97923cf9b6c3762 Jason committed May 29, 2012
1 aejb
Submodule aejb added at 9193d5
@@ -48,7 +48,7 @@
<copy file="src/main/resources/module/main/module.xml" tofile="${env.JBOSS_HOME}/${module.dir}/module.xml" />
<copy file="target/${project.artifactId}-${project.version}.jar" todir="${env.JBOSS_HOME}/${module.dir}" />
+ <copy file="target/${project.artifactId}-${project.version}.jar" todir="${env.JBOSS_HOME}/bin/client" />
<echo>Module ${} has been created in the JBoss_Home/module directory.</echo>
@@ -104,7 +104,6 @@
<copy file="src/main/resources/module/main/module.xml" tofile="${env.JBOSS_HOME}/${module.dir}/module.xml" />
<copy file="target/${project.artifactId}.jar" todir="${env.JBOSS_HOME}/${module.dir}" />
- <copy file="target/${project.artifactId}.jar" todir="${env.JBOSS_HOME}/bin/client" />
<echo>Module ${} has been created in the JBoss_Home/modules directory. </echo>
<copy file="target/${project.artifactId}.jar" todir="${env.JBOSS_HOME}/standalone/deployments" />
<echo>Client EJB has been beployed in the JBoss_Home/deployments directory. </echo>
@@ -25,14 +25,14 @@
import java.lang.reflect.InvocationTargetException;
import javax.ejb.Remote;
-import javax.ejb.Singleton;
+import javax.ejb.Stateless;
import javax.naming.InitialContext;
import javax.naming.NamingException;
* @author <a href="">Jason</a>
public class AEjbClientBean implements AEjbClient {
@@ -25,7 +25,11 @@ public TransactionSecurityInterceptor(AcContainer container) {
public Object processInvocation(InterceptorContext context) throws Exception {
log.debug("TransactionSecurityInterceptor: start process invocation");
- String param0 = (String) context.getParameters()[0];
+ Object[] params = context.getParameters();
+ if(params == null || !(params[0] instanceof String)) {
+ return context.proceed();
+ }
+ String param0 = (String) params[0];
String[] splits = param0.split("/");
if(splits.length != 2) {
return context.proceed();
@@ -5,7 +5,7 @@
public interface ManagementMessages {
- String FunctionPrompt = "What type of function do you wish to ues? (Only for AEJB) \n a) Overview (List all AEJBs in the server) \n b) Deploy AEJB \t c) Undeploy AEJB \n d) Block AEJB \t\t e) Resume AEJB \n f) Replace AEJB \t g) Switch AEJB";
+ String FunctionPrompt = "What type of function do you wish to ues? (Only for AEJB) \n a) Overview (Lists all AEJBs in the server) \n b) Deploy AEJB (The target file can be EAR JAR WAR) \n c) Undeploy AEJB (Can not ensure the consistency after undeploy) \n d) Block AEJB (All invocations to the AEJB will be interrupted) \n e) Resume AEJB (Resume all interrupted invocations to the AEJB) \n f) Replace AEJB (Class level evolution, after all instances satisfy the condition) \n g) Switch AEJB (Instance level evolution, singleton session bean invalid)";
String JbossHomeNotSet = "JBOSS_HOME environment variable not set.";

0 comments on commit b506e91

Please sign in to comment.