Sean Meisner > SOAP-Lite-InstanceExporter > SOAP::Lite::InstanceExporter

Download:
SOAP-Lite-InstanceExporter-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

SOAP::Lite::InstanceExporter.pm

SYNOPSIS ^

use SOAP::Lite::InstanceExporter qw(bareword_objectname1,..,bareword_objectnameN);

PURPOSE ^

Purpose: Allow SOAP objects to persist in the main package namespace on a SOAP server between client sessions

DESCRIPTION ^

This class is used to provide a SOAP interface wrapped around a reference to an object residing in a package namespace on the server. SOAP objects exported without this wrapper are initialized and destroyed on a per session basis. SOAP::Lite::InstanceExporter allows the server to preserve the state of an object across sessions. Used in conjunction with SOAP::Lite object_by_reference feature.

METHODS ^

new (bareword_object_name)

Call new from a SOAP client, passing in the name of the remote object instance you wish to access. Do not attach a $ to the beginning of the requested object name, this parameter should just be a string.

getAvailableObjects

Returns a list of all the objects to which SOAP::Lite::InstanceExporter is allowing access

getAvailableMethods

Returns a list of available methods which may be called on this instance

EXAMPLES ^

See examples/server.pl and examples/client.pl for a trivial example of SOAP::Lite::InstanceExporter use.

LICENSE ^

Copyright (c) 2003 Sean Meisner. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

SOAP::Lite

AUTHOR ^

Sean Meisner

syntax highlighting: