/hazelcast/src/main/java/com/hazelcast/impl/base/NodeInitializer.java

https://bitbucket.org/gabral6_gmailcom/hazelcast · Java · 45 lines · 17 code · 13 blank · 15 comment · 0 complexity · c2ea8178f6382e935ff09803eef50f9a MD5 · raw file

  1. /*
  2. * Copyright (c) 2008-2013, Hazelcast, Inc. All Rights Reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. package com.hazelcast.impl.base;
  17. import com.hazelcast.impl.Node;
  18. import com.hazelcast.impl.ProxyFactory;
  19. import com.hazelcast.impl.concurrentmap.RecordFactory;
  20. import com.hazelcast.security.SecurityContext;
  21. public interface NodeInitializer {
  22. void beforeInitialize(Node node);
  23. void printNodeInfo(Node node);
  24. void afterInitialize(Node node);
  25. String getBuild();
  26. int getBuildNumber();
  27. String getVersion();
  28. ProxyFactory getProxyFactory();
  29. RecordFactory getRecordFactory();
  30. SecurityContext getSecurityContext();
  31. void destroy();
  32. }