Liferay 7.0-ce-b4

com.liferay.portal.kernel.spring.osgi
Class OSGiBeanProperties.Service

java.lang.Object
  extended by com.liferay.portal.kernel.spring.osgi.OSGiBeanProperties.Service
Enclosing class:
OSGiBeanProperties

public static class OSGiBeanProperties.Service
extends Object

Obtains types under which the bean is published as a service.


Constructor Summary
OSGiBeanProperties.Service()
           
 
Method Summary
static Set<Class<?>> interfaces(Object object)
          Returns the types under which the bean is published as a service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiBeanProperties.Service

public OSGiBeanProperties.Service()
Method Detail

interfaces

public static Set<Class<?>> interfaces(Object object)
Returns the types under which the bean is published as a service. If no types are specified, they are calculated through class introspection. If the bean is not assignable to a specified service type, a ClassCastException is thrown.

Parameters:
object - the object (bean)
Returns:
the service types

Liferay 7.0-ce-b4