Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Copyright (c) OSGi Alliance (2005, 2013). All Rights Reserved.
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * See the License for the specific language governing permissions and
 * limitations under the License.
package org.osgi.service.metatype;
The MetaType Service can be used to obtain meta type information for a bundle. The MetaType Service will examine the specified bundle for meta type documents to create the returned MetaTypeInformation object.

If the specified bundle does not contain any meta type documents, then a MetaTypeInformation object will be returned that wrappers any ManagedService or ManagedServiceFactory services registered by the specified bundle that implement MetaTypeProvider. Thus the MetaType Service can be used to retrieve meta type information for bundles which contain a meta type documents or which provide their own MetaTypeProvider objects.

$Id: e4733d8f8582979167831670b84f2e9965e97e28 $
public interface MetaTypeService {
Return the MetaType information for the specified bundle.

bundle The bundle for which meta type information is requested.
A MetaTypeInformation object for the specified bundle.
Location of meta type documents. The MetaType Service will process each entry in the meta type documents directory.
	public final static String	METATYPE_DOCUMENTS_LOCATION"OSGI-INF/metatype";
New to GrepCode? Check out our FAQ X