Method property names
begin with com.sybase.jaguar.method
.
In EAServer Manager, configure method properties in the Method Properties dialog
box, and in the Interfaces folder beneath a component that uses
the method.
Method properties are configured on a per-component basis. An interface used by two components may have different method properties for each component.
com.sybase.jaguar.component.methods
Specifies flags to enable nondefault method behavior.
A comma-separated list of the following:
Flag |
To indicate |
---|---|
ks |
This flag must be present if the method returns a key sequence, that is, the method is an entity finder method that returns multiple keys. |
ro |
The method is read-only. For stateful or entity components only. Specifies whether the method can change the component’s state. This setting allows the server to omit processing that is otherwise required to save a component’s state. For example, the ejbStore method is not called for an EJB entity bean if a read-only method has been invoked. |
In EAServer Manager, you can set the “ro” flag with the Read only check box on the General tab in the Method Properties dialog box. To set other flags, use the Advanced tab.
For EJB 1.0 components, specifies the isolation level for transactions begun by the component’s methods.
See com.sybase.jaguar.component.iso_level.
Assigns this method to a thread monitor.
Specify the monitor name.
If you change this setting, you must regenerate and recompile the component skeleton for the change to take effect.
Thread monitor properties, com.sybase.jaguar.component.monitor
Specifies the method name.
package/component/method
Where:
package is the package name.
component is the component name.
method is the IDL method name. For EJB home interface methods, specify the method name with prefix “ejb” and the first letter capitalized. For example, specify ejbCreate for the home interface create method.
For non-EJB components, specifies role memberships required to execute the method.
role1, role2, ...
Where role1, role2, and so forth are role names defined in the repository.
In EAServer Manager, set this property using the File menu for the Roles folder displayed below the method icon.
Roles are attached to EAServer packages, components, and methods. Attaching a role to a package controls access to all non-EJB components in the package. Attaching a role to a component constrains access to all methods in the component’s interfaces. Attaching a role to a method constrains access to that method.
For EJB components, configure access control at the method level by setting the method property com.sybase.jaguar.method.security-roles for each method.
com.sybase.jaguar.component.roles, com.sybase.jaguar.package.roles, com.sybase.jaguar.method.security-roles
For EJB 1.0 components, specifies an identity name used for intercomponent calls if the com.sybase.jaguar.method.runasmode property is “specified.”
Same as for the com.sybase.jaguar.component.runasidentity component property.
In EAServer Manager, set this property using the Run As Mode tab in the Method Properties dialog box.
com.sybase.jaguar.method.runasmode, com.sybase.jaguar.component.runasidentity
For EJB 1.0 components, specifies the user identity that is assumed for intercomponent calls.
Same as for the com.sybase.jaguar.component.runasmode component property.
In EAServer Manager, set this property using the Run As Mode tab in the Method Properties dialog box.
com.sybase.jaguar.method.runasidentity, com.sybase.jaguar.component.runasmode
For EJB components, specifies role memberships required to execute the method.
A comma-separated list of role reference names. Each name must exist in the repository to be mapped to an EAServer role name by the package or application properties.
If this property is not set, the behavior depends on the server property com.sybase.jaguar.server.ejb.role.default. If the property is set, the user must be a member of one of the required EAServer roles to invoke the method.
In EAServer Manager, set this property on the Permissions tab in the Method Properties dialog box.
com.sybase.jaguar.application.security-roles, com.sybase.jaguar.application.security-role.<j2ee-role>, com.sybase.jaguar.package.security-roles, com.sybase.jaguar.package.security-role.<j2ee-role>
Specifies how this method participates in transactions.
Same as for the com.sybase.jaguar.component.tx_type component property. If the method property is not set, the component setting is used.
In EAServer Manager, set this property on the Transactions tab in the Method Properties dialog box.
com.sybase.jaguar.component.tx_type
Copyright © 2005. Sybase Inc. All rights reserved. |