Created
July 6, 2019 08:18
-
-
Save athiththan11/9c434a72013cff08a3ea9b93f8568a83 to your computer and use it in GitHub Desktop.
OSGi Component: Fabricator implementation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FactFabricator { | |
private Fact fact = new Fact(System.getProperty("user.name"), System.getProperty("os.name")); | |
private static final Logger LOGGER = Logger.getLogger(FactFabricator.class.getName()); | |
public Fact getSimpleFact() { | |
LOGGER.info("OSGI Fabricator :: Retrieving Simple Fact from FactFabricator Class"); | |
return fact; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment