com.liferay.portal.kernel.spring.osgi
Class OSGiBeanProperties.Service
java.lang.Object
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.
|
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 |
OSGiBeanProperties.Service
public OSGiBeanProperties.Service()
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