Log in to follow, share, and participate in this community.
Thread Zip deployers and deployment aliases
Zip deployers and deployment aliasesI have a directory that I deploy on JBoss AS5 that contains various different deployables (mostly sars and wars). We use an alias file in a sar for dependency management. Everything works fine when the directory is d...
Thread Ordering a deployer which needs multiple inputs
Ordering a deployer which needs multiple inputsIf i have n number of deployers in a chain, is there a specific order these deployers follow while deploying an unit? Right now, i have the following scenario: public class FirstDeployer extends AbstractDeployer
{
...
Query on MicrocontainerTestHey Guys, I am writing unit test for my application extending MicrocontainerTest.
public class EventFactoryTest extends MicrocontainerTest {
public EventFactoryTest(String name) {
super(name);
}
public void ...
Thread Making the classloader of one deployment the delegate of ano
Making the classloader of one deployment the delegate of anoHi, I am currently trying to integrate an Execution Environment for BDI Agents into Jboss. I have a problem making classreloading work properly. I am deploying a ExecutionEnvironment using a jboss-beans.xml. The Age...
Thread Attachments eligible for being passed to the deployers?
Attachments eligible for being passed to the deployers?If one of the deployers adds a attachment to an unit that is being deployed, will that attachment then be passed on to the list of available deployers for being processed? Ex: public class MyDeployer extends Abstra...
JBossTransactionServices and WebBeansMoving this to forum. "david.allen" wrote: how to best inject the RealTransactionManager bean into one of our beans. I modified webbeans-ejb-jboss-beans.xml to also have the following bean declaration:
<beanf...
Thread What is the correct time to invoke the getProperties on a Be
What is the correct time to invoke the getProperties on a BeI am trying to dynamically create and deploy an MC bean as follows: // My MC bean
public class MyBean
{
// the attributes especially the bean name will be dynamically modified
@Inject
private MyOtherBean otherBe...
start() and stop() methods in a MC beanI have a simple MC bean with a method named start and annotated with @InstallMethod: public class MyBean
{
@InstallMethod
public void start() throws Exception
{
// do something
}
@UnInstallMethod
public voi...
Howto inject beans into a collectionHi all, I just started looking at the Microcontainer and wonder how I should inject beans into a collection (List) that is a property to another bean? I can't find any examples how this should be done (if possible)....
Accessing EJB's with custom annotations.I dont know if this is an EJB or a Microcontainer question, but I will post it here. I am working with JBoss 5.0 GA. I would like to be able to annotate my session beans with a custom annotation (say @BK) and be able ...
Setting up JBossMC_2.0 for EclipseI am having a hard time figuring out setting up the microcontainer SVN source project in Eclipse. I am using the microcontainer for research purposes and would appreciate any help with setting up an eclipse project fo...
Possible bug in jboss-cl dep resolutionI'm deploying a couple of JARs in the "all" profile of a jbossas built from the 5.1 branch and getting a weird problem. I was originally getting that NPE bug, so I updated jboss-cl to a 2.0.3-SNAPSHOT I built from svn...
Deployment unit aware annotationsI need to have deployment unit aware injection / annotations, so stuff like: @PersistenceUnit
public void setEntityManagerFactory(EntityManagerFactory emf)
{
this.emf = emf;
} works within a MC bean while obeying...
annotation plugin - mismatchHi, I'm trying to solve this problem for last two days. Following example in BeanContainerInjectionTestCase.xml and the ALR's example at http://is.gd/cV5p I want to add my custom annotation plugin. In spite of all th...
Deployment contextual informationDo deployments have a notion of contextual information? Like, deployment X is associated with context classloader Y or security context Z? I'm struggling with this idea in the Threads module. The case I'm thinking of...
Thread Classpath order within a deployer (to support evil hacks)
Classpath order within a deployer (to support evil hacks)I'd like to "patch" a dependency of my deployer by providing a replacement class earlier in the classloader than the original .jar. ie:
jboss-rails.deployer/
jboss-rails.jar # includes my patched org.apache.cxf.s...
Thread Deployment callbacks fail on static methods
Deployment callbacks fail on static methodsI was following this chapter on Deployment Callbacks http://www.jboss.org/file-access/default/members/jbossmc/freezone/docs/2.0.x/userGuide/ch13s02.html. Works fine except when the callback method is marked static. So...
how do I use mdr in JCA project?Currently JCA/connector has a JCAMetaDataRepository package, it use HashMap as repository to save some metadata information and export information by JMX. We would like use jboss-mdr project as base repository for new...
Thread Programmatic redeploy using DeploymentManager
Programmatic redeploy using DeploymentManagerCan org.jboss.deployers.spi.management.deploy.DeploymentManager be used for redeploying e.g. an EAR? If so, are there any examples or wiki pages?