-- -- Implementation of the profile provider interface for users. -- -- @author yon@openforce.net -- @version $Id: user-profile-provider-create.sql,v 1.1.1.1 2002/02/07 03:17:24 yon Exp $ -- declare foo integer; begin -- create the implementation foo := acs_sc_impl.new( impl_contract_name => 'profile_provider', impl_name => 'user_profile_provider', impl_owner_name => 'user_profile_provider' ); -- add the bindings to the method implementations -- name method foo := acs_sc_impl.new_alias( impl_contract_name => 'profile_provider', impl_name => 'user_profile_provider', impl_operation_name => 'name', impl_alias => 'user_profile_provider::name', impl_pl => 'TCL' ); -- prettyName method foo := acs_sc_impl.new_alias( impl_contract_name => 'profile_provider', impl_name => 'user_profile_provider', impl_operation_name => 'prettyName', impl_alias => 'user_profile_provider::prettyName', impl_pl => 'TCL' ); -- render method foo := acs_sc_impl.new_alias( impl_contract_name => 'profile_provider', impl_name => 'user_profile_provider', impl_operation_name => 'render', impl_alias => 'user_profile_provider::render', impl_pl => 'TCL' ); -- bind this implementation to the interface it implements acs_sc_binding.new( contract_name => 'profile_provider', impl_name => 'user_profile_provider' ); end; / show errors