"david.lloyd(a)jboss.com" wrote : do nested JARs which are just libraries qualify
as deployment units?
|
No, they are not considered deployment units. Although i don't exactly know how such
jars are represented or accessed from a deployment unit. Probably they end up as some kind
of metadata? Ales?
"david.lloyd(a)jboss.com" wrote :
| And, how can I get access to the DeploymentUnit instance from my deployer?
Through your deployer, you tell the deployer framework about the deployment units you are
interested in and the stage when you are interested in:
| public MyDeployer()
| {
| setInput(SomeMetadata.class);
| setStage(POST_CLASSLOADER);
| }
|
The deployer framework is then responsible for passing any such matching deployment units
to the deploy(DeploymentUnit du) method of the deployer:
| /**
| * Deploy a deployment
| *
| * @param unit the unit
| * @throws DeploymentException for any error
| */
| void deploy(DeploymentUnit unit) throws DeploymentException;
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247140#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...