JBoss.orgCommunity Documentation
The JAIN SLEE Service does not have a Maven module, instead it's part of the Deployable Unit module resources.
To create a new JAIN SLEE Service, expand completely the du module folders, right-click on the resources folder and select
→ as shown below.
A dialog should appear. Expand the JAIN SLEE item and choose JAIN SLEE Service. The dialog should now look like the following:
Click to get the following dialog:
The source folder dialog will be completed if → has been selected from right-clicking on the deployable unit module resources folder. Otherwise it may need to be chosen by selecting and selecting the desired location.
Name the service; the name must end with "service.xml
", then click to specify the service's SLEE identity.
The Name, Vendor and Version fields are mandatory and are used by the SLEE to identify the event. The description field is optional, but strongly recommended to be completed to allow easy identification of the service in future.
After completing these fields click
to select a root SBB.
All available root SBBs are listed in the table. Select the one that should be used for this service.
Check the following if your SBB is not listed:
Does the SBB have at least one initial event? That is, an event with direction Receive
or FireAndReceive
, marked as initial-event
and has at least one initial event selector.
Is the SBB shown in the project source list? If not, please cancel the Service wizard, refresh the project so it shows up and try again.
Specify the default event priority, and if available for your root SBB, enable or disable Specify service address profile table
as required.
Click
to create the service.The service descriptor is created in the specified folder and opened for editing in the workspace. The resulting workspace can be seen below.