There are two accepted forms of the URL:
For all component types, the URL can be set to the EAServerPackage/EAServerComponent; the component must be installed in the server.
For example, to set the authorization service at the server level, set the server-level property to:
com.sybase.jaguar.server.authorization.service
=Security/Authorizer
Where Security is the name of the Jaguar package that contains an EAServer component called Authorizer that implements this interface.
Java CORBA and C++ CORBA components can be accessed using the pseudocomponent object URL. The syntax for a Java pseudocomponent is:
pseudo://java/JavaClass/EAServerPackage/EAServerComponent
The syntax for a C++ pseudocomponent is:
pseudo://cpp/SharedLibraryName/EAServerPackage/EAServerComponent
You can also set the authorization service property to the pseudocomponent object URL. For example, set the server-level authorization service to:
pseudo://cpp/libAuthorizer/Security/Authorizer
where libAuthorizer is the name of the shared library that contains the C++ Security/Authorizer component’s implementation.
Components implemented for pseudocomponent access must be thread-safe, and you must restart EAServer to refresh the component.
For more information on pseudocomponents, see Chapter 34, “Creating and Using EAServer Pseudocomponents,” in the EAServer Programmer’s Guide.
Copyright © 2005. Sybase Inc. All rights reserved. |