Search in sources :

Example 71 with IContainer

use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.

the class RpcContainerTest method testCreateContainer1.

public void testCreateContainer1() throws Exception {
    IContainer container = createRpcContainer(RpcConstants.TEST_ECHO_TARGET);
    assertNotNull(container);
    assertTrue(container instanceof RpcClientContainer);
}
Also used : RpcClientContainer(org.eclipse.ecf.remoteservice.rpc.client.RpcClientContainer) IContainer(org.eclipse.ecf.core.IContainer)

Example 72 with IContainer

use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.

the class RestContainerTest method testDispose.

public void testDispose() throws Exception {
    IContainer container = createRestContainer(RestConstants.TEST_DE_TARGET);
    container.dispose();
    assertNull(container.getConnectedID());
}
Also used : IContainer(org.eclipse.ecf.core.IContainer)

Example 73 with IContainer

use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.

the class RestContainerTest method testGetContainerFromManager.

public void testGetContainerFromManager() throws Exception {
    IContainer container = createRestContainer(RestConstants.TEST_DE_TARGET);
    ID id = container.getID();
    IContainer container2 = getContainerManager().getContainer(id);
    assertNotNull(container2);
}
Also used : ID(org.eclipse.ecf.core.identity.ID) IContainer(org.eclipse.ecf.core.IContainer)

Example 74 with IContainer

use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.

the class RestContainerTest method testCreateContainer1.

public void testCreateContainer1() throws Exception {
    IContainer container = createRestContainer(RestConstants.TEST_DE_TARGET);
    assertNotNull(container);
    assertTrue(container instanceof RestClientContainer);
}
Also used : RestClientContainer(org.eclipse.ecf.remoteservice.rest.client.RestClientContainer) IContainer(org.eclipse.ecf.core.IContainer)

Example 75 with IContainer

use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.

the class RestContainerTest method testCreateContainer4.

public void testCreateContainer4() throws Exception {
    ID restID = createRestID(RestConstants.TEST_TWITTER_TARGET);
    IContainer container = createRestContainer(restID);
    assertNotNull(container);
}
Also used : ID(org.eclipse.ecf.core.identity.ID) IContainer(org.eclipse.ecf.core.IContainer)

Aggregations

IContainer (org.eclipse.ecf.core.IContainer)121 ID (org.eclipse.ecf.core.identity.ID)29 ContainerTypeDescription (org.eclipse.ecf.core.ContainerTypeDescription)20 IRosterEntry (org.eclipse.ecf.presence.roster.IRosterEntry)9 IRoster (org.eclipse.ecf.presence.roster.IRoster)8 IChannelContainerAdapter (org.eclipse.ecf.datashare.IChannelContainerAdapter)7 IRemoteServiceContainer (org.eclipse.ecf.remoteservice.IRemoteServiceContainer)7 IRemoteServiceContainerAdapter (org.eclipse.ecf.remoteservice.IRemoteServiceContainerAdapter)7 ISharedObjectContainer (org.eclipse.ecf.core.sharedobject.ISharedObjectContainer)5 IPresenceContainerAdapter (org.eclipse.ecf.presence.IPresenceContainerAdapter)5 RemoteServiceContainer (org.eclipse.ecf.remoteservice.RemoteServiceContainer)5 Action (org.eclipse.jface.action.Action)5 IAction (org.eclipse.jface.action.IAction)5 URL (java.net.URL)4 Job (org.eclipse.core.runtime.jobs.Job)4 ContainerConnectException (org.eclipse.ecf.core.ContainerConnectException)4 IContainerManager (org.eclipse.ecf.core.IContainerManager)4 ISharedObject (org.eclipse.ecf.core.sharedobject.ISharedObject)4 ISharedObjectManager (org.eclipse.ecf.core.sharedobject.ISharedObjectManager)4 RestClientContainer (org.eclipse.ecf.remoteservice.rest.client.RestClientContainer)4