blob: 96ac7357cf6ca30fd984bcb26283df64636393d9 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_01) on Tue Feb 01 22:35:06 PST 2005 -->
<TITLE>
ISharedObjectContext
</TITLE>
<META NAME="keywords" CONTENT="org.eclipse.ecf.core.ISharedObjectContext interface">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="ISharedObjectContext";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ISharedObjectContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContainerTransaction.html" title="interface in org.eclipse.ecf.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/eclipse/ecf/core/ISharedObjectManager.html" title="interface in org.eclipse.ecf.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/eclipse/ecf/core/ISharedObjectContext.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="ISharedObjectContext.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.eclipse.ecf.core</FONT>
<BR>
Interface ISharedObjectContext</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/eclipse/ecf/provider/generic/SOContext.html" title="class in org.eclipse.ecf.provider.generic">SOContext</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface <B>ISharedObjectContext</B></DL>
</PRE>
<P>
Context reference provided to all ISharedObjects upon initialization. Implementers of
this interface provide a runtime context for ISharedObject instances. Upon initialization
within a container (see <A HREF="../../../../org/eclipse/ecf/core/ISharedObject.html#init(org.eclipse.ecf.core.ISharedObjectConfig)"><CODE>ISharedObject.init(ISharedObjectConfig)</CODE></A>, ISharedObject instances
can access an instance of this context by calling <A HREF="../../../../org/eclipse/ecf/core/ISharedObjectConfig.html#getContext()"><CODE>ISharedObjectConfig.getContext()</CODE></A>. They
then can have access to the functions provided by this context object for use in implementing
their behavior.
<P>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../org/eclipse/ecf/core/ISharedObject.html#init(org.eclipse.ecf.core.ISharedObjectConfig)"><CODE>ISharedObject.init(org.eclipse.ecf.core.ISharedObjectConfig)</CODE></A>,
<A HREF="../../../../org/eclipse/ecf/core/ISharedObjectConfig.html#getContext()"><CODE>ISharedObjectConfig.getContext()</CODE></A></DL>
<HR>
<P>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContext.html#getAdapter(java.lang.Class)">getAdapter</A></B>(java.lang.Class&nbsp;clazz)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an object which is an instance of the given class associated with
this object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/eclipse/ecf/core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContext.html#getGroupID()">getGroupID</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(non-Javadoc)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/eclipse/ecf/core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContext.html#getGroupMemberIDs()">getGroupMemberIDs</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(non-Javadoc)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/eclipse/ecf/core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContext.html#getLocalContainerID()">getLocalContainerID</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the local container instance's ID</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/eclipse/ecf/core/util/QueueEnqueue.html" title="interface in org.eclipse.ecf.core.util">QueueEnqueue</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContext.html#getQueue()">getQueue</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the QueueEnqueue instance associated with this ISharedObject.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/eclipse/ecf/core/IOSGIService.html" title="interface in org.eclipse.ecf.core">IOSGIService</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContext.html#getServiceAccess()">getServiceAccess</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a reference to a proxy instance that allows the registration and
access to local OSGI-platform-provided services.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/eclipse/ecf/core/ISharedObjectManager.html" title="interface in org.eclipse.ecf.core">ISharedObjectManager</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContext.html#getSharedObjectManager()">getSharedObjectManager</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the ISharedObjectManager for this context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContext.html#isGroupManager()">isGroupManager</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(non-Javadoc)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContext.html#isGroupServer()">isGroupServer</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(non-Javadoc)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContext.html#joinGroup(org.eclipse.ecf.core.identity.ID, java.lang.Object)">joinGroup</A></B>(<A HREF="../../../../org/eclipse/ecf/core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</A>&nbsp;groupID,
java.lang.Object&nbsp;loginData)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(non-Javadoc)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContext.html#leaveGroup()">leaveGroup</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(non-Javadoc)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContext.html#sendCreate(org.eclipse.ecf.core.identity.ID, org.eclipse.ecf.core.SharedObjectDescription)">sendCreate</A></B>(<A HREF="../../../../org/eclipse/ecf/core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</A>&nbsp;toContainerID,
<A HREF="../../../../org/eclipse/ecf/core/SharedObjectDescription.html" title="class in org.eclipse.ecf.core">SharedObjectDescription</A>&nbsp;sd)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send message to create a remote instance of an ISharedObject with the
same ID as this instance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContext.html#sendCreateResponse(org.eclipse.ecf.core.identity.ID, java.lang.Throwable, long)">sendCreateResponse</A></B>(<A HREF="../../../../org/eclipse/ecf/core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</A>&nbsp;toContainerID,
java.lang.Throwable&nbsp;throwable,
long&nbsp;identifier)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send create response back to an ISharedObject with the
same ID as this instance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContext.html#sendDispose(org.eclipse.ecf.core.identity.ID)">sendDispose</A></B>(<A HREF="../../../../org/eclipse/ecf/core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</A>&nbsp;toContainerID)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send message to dispose of a remote instance of the ISharedObject with
same ID as this instance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContext.html#sendMessage(org.eclipse.ecf.core.identity.ID, java.lang.Object)">sendMessage</A></B>(<A HREF="../../../../org/eclipse/ecf/core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</A>&nbsp;toContainerID,
java.lang.Object&nbsp;data)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send arbitrary message to remote instance of the ISharedObject with same
ID as this instance.</TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getLocalContainerID()"><!-- --></A><H3>
getLocalContainerID</H3>
<PRE>
<A HREF="../../../../org/eclipse/ecf/core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</A> <B>getLocalContainerID</B>()</PRE>
<DL>
<DD>Get the local container instance's ID
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the ID of the enclosing container</DL>
</DD>
</DL>
<HR>
<A NAME="getSharedObjectManager()"><!-- --></A><H3>
getSharedObjectManager</H3>
<PRE>
<A HREF="../../../../org/eclipse/ecf/core/ISharedObjectManager.html" title="interface in org.eclipse.ecf.core">ISharedObjectManager</A> <B>getSharedObjectManager</B>()</PRE>
<DL>
<DD>Get the ISharedObjectManager for this context
<P>
<DD><DL>
<DT><B>Returns:</B><DD>ISharedObjectManager the shared object manager instance for this
container. Null if none available.</DL>
</DD>
</DL>
<HR>
<A NAME="getQueue()"><!-- --></A><H3>
getQueue</H3>
<PRE>
<A HREF="../../../../org/eclipse/ecf/core/util/QueueEnqueue.html" title="interface in org.eclipse.ecf.core.util">QueueEnqueue</A> <B>getQueue</B>()</PRE>
<DL>
<DD>Get the QueueEnqueue instance associated with this ISharedObject. If the
given container provides a queue for this ISharedObject, this method will
return a QueueEnqueue reference to the appropriate queue.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>QueueEnqueue instance if an active queue is associated with this
ISharedObject. If no active queue is associated with the
ISharedObject, returns null.</DL>
</DD>
</DL>
<HR>
<A NAME="joinGroup(org.eclipse.ecf.core.identity.ID, java.lang.Object)"><!-- --></A><H3>
joinGroup</H3>
<PRE>
void <B>joinGroup</B>(<A HREF="../../../../org/eclipse/ecf/core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</A>&nbsp;groupID,
java.lang.Object&nbsp;loginData)
throws <A HREF="../../../../org/eclipse/ecf/core/SharedObjectContainerJoinException.html" title="class in org.eclipse.ecf.core">SharedObjectContainerJoinException</A></PRE>
<DL>
<DD>(non-Javadoc)
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/eclipse/ecf/core/SharedObjectContainerJoinException.html" title="class in org.eclipse.ecf.core">SharedObjectContainerJoinException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContainer.html#joinGroup(org.eclipse.ecf.core.identity.ID, java.lang.Object)"><CODE>ISharedObjectContainer.joinGroup(org.eclipse.ecf.core.identity.ID,
java.lang.Object)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="leaveGroup()"><!-- --></A><H3>
leaveGroup</H3>
<PRE>
void <B>leaveGroup</B>()</PRE>
<DL>
<DD>(non-Javadoc)
<P>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContainer.html#leaveGroup()"><CODE>ISharedObjectContainer.leaveGroup()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getGroupID()"><!-- --></A><H3>
getGroupID</H3>
<PRE>
<A HREF="../../../../org/eclipse/ecf/core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</A> <B>getGroupID</B>()</PRE>
<DL>
<DD>(non-Javadoc)
<P>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContainer.html#getGroupID()"><CODE>ISharedObjectContainer.getGroupID()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="isGroupManager()"><!-- --></A><H3>
isGroupManager</H3>
<PRE>
boolean <B>isGroupManager</B>()</PRE>
<DL>
<DD>(non-Javadoc)
<P>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContainer.html#isGroupManager()"><CODE>ISharedObjectContainer.isGroupManager()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="isGroupServer()"><!-- --></A><H3>
isGroupServer</H3>
<PRE>
boolean <B>isGroupServer</B>()</PRE>
<DL>
<DD>(non-Javadoc)
<P>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContainer.html#isGroupServer()"><CODE>ISharedObjectContainer.isGroupServer()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getGroupMemberIDs()"><!-- --></A><H3>
getGroupMemberIDs</H3>
<PRE>
<A HREF="../../../../org/eclipse/ecf/core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</A>[] <B>getGroupMemberIDs</B>()</PRE>
<DL>
<DD>(non-Javadoc)
<P>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContainer.html#getGroupMemberIDs()"><CODE>ISharedObjectContainer.getGroupMemberIDs()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="sendCreate(org.eclipse.ecf.core.identity.ID, org.eclipse.ecf.core.SharedObjectDescription)"><!-- --></A><H3>
sendCreate</H3>
<PRE>
void <B>sendCreate</B>(<A HREF="../../../../org/eclipse/ecf/core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</A>&nbsp;toContainerID,
<A HREF="../../../../org/eclipse/ecf/core/SharedObjectDescription.html" title="class in org.eclipse.ecf.core">SharedObjectDescription</A>&nbsp;sd)
throws java.io.IOException</PRE>
<DL>
<DD>Send message to create a remote instance of an ISharedObject with the
same ID as this instance. This method allows ISharedObject instances
(with a reference to a valid ISharedObjectContext) to send messages to
remote containers asking them to create an instance of a new
ISharedObject. The given ISharedObjectDescription provides the
specification of the new object.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>toContainerID</CODE> - the ID of the remote ISharedObjectContainer that is the target
of the create request. If this parameter is null, the request
is assumed to be made of <b>all </b> remote containers
currently in the given group (excepting the local container).<DD><CODE>sd</CODE> - the SharedObjectDescription describing the class, constructor
and other properties to be associated with the new instance
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE> - thrown if message cannot be sent by container</DL>
</DD>
</DL>
<HR>
<A NAME="sendCreateResponse(org.eclipse.ecf.core.identity.ID, java.lang.Throwable, long)"><!-- --></A><H3>
sendCreateResponse</H3>
<PRE>
void <B>sendCreateResponse</B>(<A HREF="../../../../org/eclipse/ecf/core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</A>&nbsp;toContainerID,
java.lang.Throwable&nbsp;throwable,
long&nbsp;identifier)
throws java.io.IOException</PRE>
<DL>
<DD>Send create response back to an ISharedObject with the
same ID as this instance. This method allows ISharedObject instances
(with a reference to a valid ISharedObjectContext) to send messages to
remote containers asking them to deliver the create response status back to the
ISharedObject.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>toContainerID</CODE> - the ID of the container that is to receive this response<DD><CODE>throwable</CODE> - a throwable associated with the creation. Null means that
no exception occured<DD><CODE>identifier</CODE> - the identifier used in the original create message (in the shared
object description)
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE> - thrown if the create response cannot be sent</DL>
</DD>
</DL>
<HR>
<A NAME="sendDispose(org.eclipse.ecf.core.identity.ID)"><!-- --></A><H3>
sendDispose</H3>
<PRE>
void <B>sendDispose</B>(<A HREF="../../../../org/eclipse/ecf/core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</A>&nbsp;toContainerID)
throws java.io.IOException</PRE>
<DL>
<DD>Send message to dispose of a remote instance of the ISharedObject with
same ID as this instance. This method allows ISharedObject instances to control the
destruction of remote replicas.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>toContainerID</CODE> - the ID of the remote ISharedObjectContainer that is the target
of the dispose request. If this parameter is null, the request
is assumed to be made of <b>all </b> remote containers
currently in the given group (excepting the local container).
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE> - thrown if message cannot be sent by container</DL>
</DD>
</DL>
<HR>
<A NAME="sendMessage(org.eclipse.ecf.core.identity.ID, java.lang.Object)"><!-- --></A><H3>
sendMessage</H3>
<PRE>
void <B>sendMessage</B>(<A HREF="../../../../org/eclipse/ecf/core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</A>&nbsp;toContainerID,
java.lang.Object&nbsp;data)
throws java.io.IOException</PRE>
<DL>
<DD>Send arbitrary message to remote instance of the ISharedObject with same
ID as this instance. This method allows ISharedObject instances to send
arbitrary data to one or more remote replicas of this ISharedObject.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>toContainerID</CODE> - the ID of the remote ISharedObjectContainer that is the target
container for the message request. If this parameter is null,
the request is assumed to be made of <b>all </b> remote
containers currently in the given group (excepting the local
container).<DD><CODE>data</CODE> - arbitrary message object. Must be serializable.
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE> - thrown if message cannot be sent by container, or if data
cannot be serialized</DL>
</DD>
</DL>
<HR>
<A NAME="getAdapter(java.lang.Class)"><!-- --></A><H3>
getAdapter</H3>
<PRE>
java.lang.Object <B>getAdapter</B>(java.lang.Class&nbsp;clazz)</PRE>
<DL>
<DD>Returns an object which is an instance of the given class associated with
this object.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>clazz</CODE> - the adapter class to lookup
<DT><B>Returns:</B><DD>Object a object castable to the given class, or null if this
object does not have an adapter for the given class</DL>
</DD>
</DL>
<HR>
<A NAME="getServiceAccess()"><!-- --></A><H3>
getServiceAccess</H3>
<PRE>
<A HREF="../../../../org/eclipse/ecf/core/IOSGIService.html" title="interface in org.eclipse.ecf.core">IOSGIService</A> <B>getServiceAccess</B>()</PRE>
<DL>
<DD>Get a reference to a proxy instance that allows the registration and
access to local OSGI-platform-provided services. If this method returns
null, then such services are not available.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>null if OSGI platform services cannot be accessed, a valid
instance of the given interface if the context allows access to
such services</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ISharedObjectContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/eclipse/ecf/core/ISharedObjectContainerTransaction.html" title="interface in org.eclipse.ecf.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/eclipse/ecf/core/ISharedObjectManager.html" title="interface in org.eclipse.ecf.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/eclipse/ecf/core/ISharedObjectContext.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="ISharedObjectContext.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>