Chapter 13 Using jagtool and jagant
Sets the value of an EJB reference.
Command line:
ejbref entity -refname name -value value
Ant build file:
<jag_ejbref entity="entity" refname="name" value="value" />
Option | Description | Default | Required |
---|---|---|---|
entity | The entity identifier in the form EntityType:EntityName. | - | Yes |
refname
|
The name of an EJB reference for the given entity. | - | Yes |
value
|
The value for the EJB reference. | - | Yes |
This example sets the value of an EJB reference in the component TheCustomer in the package Customer_Component. The EJB reference ejb/account/Account is set to the value of Customer_Component/TheAccount.
jagtool ejbref Component:Customer_Component/TheCustomer -refname ejb/account/Account -value Customer_Component/TheAccount
<jag_ejbref entity="Component:Customer_Component/TheCustomer" refname="ejb/account/Account" value="Customer_Component/TheAccount" />
Copyright © 2002 Sybase, Inc. All rights reserved. |
![]() |