Search in sources :

Example 41 with IContainer

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

the class ContainerFactoryCreateTest method testCreateBaseContainer2.

public void testCreateBaseContainer2() throws Exception {
    final IContainer base = ContainerFactory.getDefault().createContainer(BASE_CONTAINER_TYPE_NAME, IDFactory.getDefault().createGUID());
    assertNotNull(base);
}
Also used : IContainer(org.eclipse.ecf.core.IContainer)

Example 42 with IContainer

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

the class ContainerFactoryServiceCreateTest method testCreateContainer3.

public void testCreateContainer3() throws Exception {
    final ContainerTypeDescription desc = getContainerFactoryService().getDescriptionByName(CONTAINER_TYPE_NAME);
    assertNotNull(desc);
    final IContainer container = getContainerFactoryService().createContainer(desc);
    assertNotNull(container);
}
Also used : ContainerTypeDescription(org.eclipse.ecf.core.ContainerTypeDescription) IContainer(org.eclipse.ecf.core.IContainer)

Example 43 with IContainer

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

the class ContainerFactoryServiceCreateTest method testCreateBaseContainer5.

public void testCreateBaseContainer5() throws Exception {
    final ContainerTypeDescription desc = getContainerFactoryService().getDescriptionByName(BASE_CONTAINER_TYPE_NAME);
    assertNotNull(desc);
    final IContainer base = getContainerFactoryService().createContainer(desc, IDFactory.getDefault().createGUID(), new Object[] { "param" });
    assertNotNull(base);
}
Also used : ContainerTypeDescription(org.eclipse.ecf.core.ContainerTypeDescription) IContainer(org.eclipse.ecf.core.IContainer)

Example 44 with IContainer

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

the class ContainerFactoryServiceCreateTest method testCreateContainer7.

public void testCreateContainer7() throws Exception {
    final IContainer container = getContainerFactoryService().createContainer(CONTAINER_TYPE_NAME, IDFactory.getDefault().createGUID());
    assertNotNull(container);
}
Also used : IContainer(org.eclipse.ecf.core.IContainer)

Example 45 with IContainer

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

the class ContainerFactoryServiceCreateTest method testCreateContainer2.

public void testCreateContainer2() throws Exception {
    final IContainer container = getContainerFactoryService().createContainer(CONTAINER_TYPE_NAME);
    assertNotNull(container);
}
Also used : 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