Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.model
Interface Component

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

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 applicationStarted(ComponentContext context)
          Notify the component that Nuxeo Framework finished starting all Nuxeo bundles.
 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 Exception
Activates the component.

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

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

deactivate

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

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

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

applicationStarted

void applicationStarted(ComponentContext context)
                        throws Exception
Notify the component that Nuxeo Framework finished starting all Nuxeo bundles.

Throws:
Exception

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.