Interface ResourceFactory


public interface ResourceFactory
Factory for resources accessible to applications. Implementations should be registered in the OSGi service registry with the JNDI_NAME and CREATES_OBJECT_CLASS properties.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The service registry property that specifies the String class (or String[] classes) that the factory supports creating.
    static final String
    The service registry property that specifies the JNDI lookup name of the factory.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a resource handle of the specified type that respects the specified resource information.