Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.model
Interface Component

All Superinterfaces:
Extensible
All Known Implementing Classes:
AbstractSearchEngineBackend, ActionService, ActivityServiceImpl, AjaxProxyComponent, AnnotationsComponent, AnnotationsRepositoryComponent, AppDataServiceImpl, AutomationComponent, AutomationServerComponent, BlobHolderAdapterComponent, CommandLineExecutorComponent, CommandLineService, CommentService, ComputedGroupsServiceImpl, ConnectClientComponent, ContentTemplateServiceImpl, ContentViewServiceImpl, ContributionPersistenceComponent, ConversionServiceImpl, CoreEventListenerServiceImpl, CoreManagementComponent, CoreSearchBackend, CoreService, DataSourceComponent, DefaultComponent, DefaultEventService, DefaultPermissionService, DeploymentService, DirectoryServiceImpl, DirectoryTreeService, DirectoryUIManagerImpl, DocumentAdapterService, DocumentsListsService, DocumentViewCodecService, DublinCoreStorageService, EventManagerComponent, EventService, EventServiceComponent, ExceptionHandlingComponent, FactoryManagerImpl, FileManagerService, FreemarkerComponent, GadgetServiceImpl, GF3Component, HtmlEditorPluginServiceImpl, HtmlSanitizerServiceImpl, ImagingComponent, IndexingWrapperManagerComponent, IOManagerComponent, JbpmComponent, JbpmTaskListServiceImpl, JettyComponent, LDAPDirectoryFactory, LibrarySelectorService, LifeCycleServiceImpl, LocationManagerService, LoginComponent, LoginPluginRegistry, MailServiceImpl, ManagedComponent, MetricComponent, MimetypeRegistryService, MultiDirectoryFactory, NavTreeService, NotificationService, NXAuditEventsService, OOoManagerComponent, OpenSocialServiceImpl, PackageUpdateComponent, PageProviderServiceImpl, PathSegmentComponent, PersistenceComponent, PersonServiceImpl, PictureConfigurationService, PictureTilingComponent, PlacefulServiceImpl, PlatformManagementComponent, PlatformService, PluggableAuthenticationService, PluggableRestletService, PreviewAdapterManagerComponent, PublisherServiceImpl, QueryMakerServiceImpl, QueryModelService, RelationService, ReloadComponent, RemotingService, RenderingServiceImpl, RepositoryManagerImpl, RepositoryService, RequestControllerService, ResourcePublisherService, ResultsProviderService, SchedulerRegistryService, ScriptingComponent, SeamRemotingJSBuilderComponent, SearchServiceImpl, SearchUIConfigService, SecurityService, ServerLocatorService, Service, ServiceManagement, SpaceManagerImpl, SpacesAdapterComponent, SQLDirectoryFactory, StreamingService, TagServiceImpl, ThemeService, TrashManagementService, TrashServiceImpl, TreeManagerImpl, TypeService, TypeService, UIDGeneratorService, UIPermissionService, URLServiceComponent, UserService, UserWorkspaceServiceImplComponent, VersioningComponent, VersioningManagerImpl, WebAnnotationConfigurationServiceImpl, WebEngineComponent, WebLayoutManagerImpl, WSRemotingSessionManagerImpl, WSSPlugableBackendManager

public interface Component
extends Extensible

A Nuxeo Runtime component.

Components are extensible and adaptable objects and they provide methods to respond to component life cycle events.

Author:
Bogdan Stefanescu

Method Summary
 void activate(ComponentContext context)
          Activates the component.
 void deactivate(ComponentContext context)
          Deactivates the component.
 
Methods inherited from interface org.nuxeo.runtime.model.Extensible
registerExtension, unregisterExtension
 

Method Detail

activate

void activate(ComponentContext context)
              throws java.lang.Exception
Activates the component.

This method is called by the runtime when a component is activated.

Parameters:
context - the runtime context
Throws:
java.lang.Exception - if an error occurs during activation

deactivate

void deactivate(ComponentContext context)
                throws java.lang.Exception
Deactivates the component.

This method is called by the runtime when a component is deactivated.

Parameters:
context - the runtime context
Throws:
java.lang.Exception - if an error occurs during activation

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.